hugo-academic.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. /*************************************************
  2. * Hugo Academic: an academic theme for Hugo.
  3. * https://github.com/gcushen/hugo-academic
  4. **************************************************/
  5. /*************************************************
  6. * Fonts
  7. **************************************************/
  8. @import url(//fonts.googleapis.com/css?family=Lato:400,700);
  9. @import url(//fonts.googleapis.com/css?family=Roboto+Mono);
  10. @import url(//fonts.googleapis.com/css?family=Merriweather);
  11. /*************************************************
  12. * Core
  13. **************************************************/
  14. html, body, p {
  15. font-family: 'Merriweather', serif;
  16. font-size: 16px;
  17. line-height: 1.65;
  18. min-height: 100%;
  19. }
  20. body {
  21. /* Gap between nav bar and body content */
  22. padding-top: 90px;
  23. }
  24. h1, h2, h3, h4, h5, h6, .navbar-default {
  25. font-family: 'Lato', sans-serif;
  26. font-weight: 400;
  27. line-height: 1em;
  28. text-rendering: optimizeLegibility;
  29. }
  30. h2 {
  31. margin-bottom: 21px;
  32. font-size: 48px;
  33. font-weight: 400;
  34. }
  35. h3 {
  36. margin-bottom: 11px;
  37. font-weight: 700;
  38. }
  39. a, a:visited, h3.post-title a:hover {
  40. color: #0095eb;
  41. text-decoration:none;
  42. transition:color 0.6s ease;
  43. -webkit-transition:color 0.6s ease;
  44. }
  45. a:hover {
  46. color: #005181;
  47. }
  48. h3.post-title a {
  49. color: #151515;
  50. transition: color 0.6s ease;
  51. -webkit-transition: color 0.6s ease;
  52. }
  53. pre, code {
  54. font-family: 'Roboto Mono', 'Courier New', 'Courier', monospace;
  55. }
  56. *, *:before, *:after {
  57. -webkit-box-sizing: border-box;
  58. -moz-box-sizing: border-box;
  59. box-sizing: border-box;
  60. }
  61. .row:after, .row:before {
  62. content: " ";
  63. display: table;
  64. }
  65. /*************************************************
  66. * Footer
  67. **************************************************/
  68. footer {
  69. margin: 4rem 0 0;
  70. padding: 2rem 0;
  71. width: 100%;
  72. }
  73. footer p {
  74. font-size: 0.75rem;
  75. text-align: center;
  76. }
  77. footer p.powered-by {
  78. line-height: 40px;
  79. }
  80. .site-footer, footer a#back_to_top i {
  81. color: #899596;
  82. }
  83. /*************************************************
  84. * Home Sections
  85. **************************************************/
  86. .home-section-wrapper {
  87. position: relative;
  88. margin-bottom: 45px;
  89. border-style: solid;
  90. border-color: #f7f7f7;
  91. border-width: 0px;
  92. background-repeat: no-repeat;
  93. background-position: center center;
  94. background-attachment: scroll;
  95. background-size: cover;
  96. }
  97. .home-section-wrapper.full_width {
  98. padding-left: calc(0vw);
  99. padding-right: calc(0vw);
  100. margin-left: calc(0vw);
  101. margin-right: calc(0vw);
  102. }
  103. .home-section-wrapper.full_width.home {
  104. padding: 110px 371.25px;
  105. margin-top: 0px;
  106. margin-bottom: 0px;
  107. width: 1905px;
  108. margin-left: -382.5px;
  109. background-color: rgb(255, 255, 255);
  110. }
  111. .home-section-wrapper.full_width.home:nth-of-type(even) {
  112. background-color: rgb(247, 247, 247);
  113. }
  114. /*************************************************
  115. * Blog Articles
  116. **************************************************/
  117. .article-metadata {
  118. margin-bottom: 20px;
  119. }
  120. .article-list-item {
  121. margin-bottom: 40px;
  122. }
  123. .article-list-item:last-child {
  124. margin-bottom: 0 !important;
  125. }
  126. .article-list-item .article-metadata {
  127. margin-bottom: 5px;
  128. }
  129. .article-metadata .article-date, .article-metadata .article-tags {
  130. margin-right: 10px;
  131. color: #888;
  132. }
  133. .share {
  134. width: 140px;
  135. line-height: 1;
  136. }
  137. .share a {
  138. color: #0095eb;
  139. text-decoration: none;
  140. font-size: 1.75rem;
  141. }
  142. #comments {
  143. padding: 20px;
  144. }
  145. /*************************************************
  146. * Publications
  147. **************************************************/
  148. #pub_list h3 {
  149. margin-top: 0;
  150. }
  151. .pub-icon {
  152. color: #03396c;
  153. font-size: 0.81em;
  154. padding-top: 6px;
  155. }
  156. .citation_authors {
  157. font-style: italic;
  158. }
  159. /* Note: a corresponding style appears further down, in @media for mobile screen size */
  160. .space-below {
  161. margin-bottom: 50px;
  162. }
  163. /*************************************************
  164. * Contact
  165. **************************************************/
  166. #contact li span {
  167. padding-left: 10px;
  168. }
  169. /*************************************************
  170. * Profile
  171. **************************************************/
  172. #profile {
  173. text-align: center;
  174. padding: 30px 10px;
  175. position: relative;
  176. }
  177. #profile .portrait {
  178. background-image: url('../img/portrait.jpg');
  179. width: 200px;
  180. height: 200px;
  181. margin: 0 auto;
  182. border-radius: 50%;
  183. background-size: cover;
  184. -webkit-background-size: cover;
  185. -moz-background-size: cover;
  186. }
  187. #profile .portrait-title h2 {
  188. font-size: 1.75em;
  189. font-weight: 300;
  190. color: #000000;
  191. margin: 20px 0 10px 0;
  192. }
  193. #profile .portrait-title h3 {
  194. font-size: 1.13em;
  195. font-weight: 300;
  196. color: #AAAAAA;
  197. margin: 0px 0 10px 0;
  198. }
  199. #profile .social-icon li {
  200. margin: 30px 5px 5px 5px;
  201. }
  202. /*************************************************
  203. * Education
  204. **************************************************/
  205. ul.ul-edu {
  206. list-style: none;
  207. }
  208. ul.ul-edu li {
  209. position: relative;
  210. padding: 0px 15px 4px 3px;
  211. color: #333333;
  212. }
  213. ul.ul-edu li .description p {
  214. margin: 0;
  215. }
  216. ul.ul-edu li .description p.course {
  217. font-size: 1em;
  218. }
  219. ul.ul-edu li .description p.institution {
  220. font-size: 0.88em;
  221. }
  222. /*************************************************
  223. * Buttons
  224. **************************************************/
  225. .btn-primary {
  226. border-color: #0095eb;
  227. }
  228. .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  229. background: #0095eb;
  230. }
  231. /*************************************************
  232. * Button Outlines
  233. **************************************************/
  234. .btn-outline {
  235. background-color: transparent;
  236. color: inherit;
  237. transition: all .5s;
  238. }
  239. .btn-primary.btn-outline {
  240. /*color: #428bca;*/
  241. color: #0095eb;
  242. }
  243. .btn-success.btn-outline {
  244. color: #5cb85c;
  245. }
  246. .btn-info.btn-outline {
  247. color: #5bc0de;
  248. }
  249. .btn-warning.btn-outline {
  250. color: #f0ad4e;
  251. }
  252. .btn-danger.btn-outline {
  253. color: #d9534f;
  254. }
  255. .btn-primary.btn-outline:hover,
  256. .btn-success.btn-outline:hover,
  257. .btn-info.btn-outline:hover,
  258. .btn-warning.btn-outline:hover,
  259. .btn-danger.btn-outline:hover {
  260. color: #fff;
  261. }
  262. /*************************************************
  263. * Navigation Bar
  264. **************************************************/
  265. .navbar {
  266. min-height:60px !important;
  267. }
  268. .navbar-default {
  269. background: #fff;
  270. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  271. box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  272. }
  273. .navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a:visited {
  274. white-space: nowrap;
  275. -webkit-transition: 0.2s ease;
  276. transition: 0.2s ease;
  277. color: #565a5f;
  278. }
  279. .navbar-default .navbar-nav li a:hover {
  280. color: #0095eb;
  281. }
  282. .navbar-brand, .navbar-nav li a {
  283. line-height: 60px;
  284. padding-top: 5px;
  285. padding-bottom: 5px;
  286. }
  287. .navbar-brand {
  288. text-transform: uppercase;
  289. font-weight: bold;
  290. font-size: 1.2em;
  291. color: #2b2b2b;
  292. }
  293. .big-icon {
  294. font-size: 40px;
  295. }
  296. @media (max-width:992px){
  297. .home-section-wrapper.full_width.home {
  298. padding: 110px 0px;
  299. margin-top: 0px;
  300. margin-bottom: 0px;
  301. margin-left: 0px;
  302. width: 100%;
  303. }
  304. .space-below {
  305. margin-bottom: 10px;
  306. }
  307. .navbar {
  308. min-height: 50px !important;
  309. }
  310. .navbar-header {
  311. float: none;
  312. min-height: inherit;
  313. }
  314. .navbar-left,.navbar-right {
  315. float: none !important;
  316. }
  317. .navbar-toggle {
  318. display: block;
  319. }
  320. .navbar-collapse {
  321. border-top: 1px solid transparent;
  322. box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  323. }
  324. .navbar-fixed-top {
  325. top: 0;
  326. border-width: 0 0 1px;
  327. }
  328. .navbar-collapse.collapse {
  329. display: none!important;
  330. }
  331. .navbar-nav {
  332. float: none!important;
  333. margin-top: 7.5px;
  334. }
  335. .navbar-nav>li {
  336. float: none;
  337. }
  338. .navbar-nav>li>a {
  339. padding-top: 10px;
  340. padding-bottom: 10px;
  341. line-height: normal;
  342. }
  343. .collapse.in{
  344. display:block !important;
  345. }
  346. }