hugo-academic.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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. }
  110. .home-section-wrapper.full_width.home:nth-child(even) {
  111. background-color: rgb(255, 255, 255);
  112. }
  113. .home-section-wrapper.full_width.home:nth-child(odd) {
  114. background-color: rgb(247, 247, 247);
  115. }
  116. /*************************************************
  117. * Blog Articles
  118. **************************************************/
  119. .article-metadata {
  120. margin-bottom: 20px;
  121. }
  122. .article-list-item {
  123. margin-bottom: 40px;
  124. }
  125. .article-list-item:last-child {
  126. margin-bottom: 0 !important;
  127. }
  128. .article-list-item .article-metadata {
  129. margin-bottom: 5px;
  130. }
  131. .article-metadata .article-date, .article-metadata .article-tags {
  132. margin-right: 10px;
  133. color: #888;
  134. }
  135. .share {
  136. width: 140px;
  137. line-height: 1;
  138. }
  139. .share a {
  140. color: #0095eb;
  141. text-decoration: none;
  142. font-size: 1.75rem;
  143. }
  144. #comments {
  145. padding: 20px;
  146. }
  147. /*************************************************
  148. * Publications
  149. **************************************************/
  150. #pub_list h3 {
  151. margin-top: 0;
  152. }
  153. .pub-icon {
  154. color: #03396c;
  155. font-size: 0.81em;
  156. padding-top: 6px;
  157. }
  158. .citation_authors {
  159. font-style: italic;
  160. }
  161. /* Note: a corresponding style appears further down, in @media for mobile screen size */
  162. .space-below {
  163. margin-bottom: 50px;
  164. }
  165. /*************************************************
  166. * Contact
  167. **************************************************/
  168. #contact li span {
  169. padding-left: 10px;
  170. }
  171. /*************************************************
  172. * Profile
  173. **************************************************/
  174. #profile {
  175. text-align: center;
  176. padding: 30px 10px;
  177. position: relative;
  178. }
  179. #profile .portrait {
  180. background-image: url('../img/portrait.jpg');
  181. width: 200px;
  182. height: 200px;
  183. margin: 0 auto;
  184. border-radius: 50%;
  185. background-size: cover;
  186. -webkit-background-size: cover;
  187. -moz-background-size: cover;
  188. }
  189. #profile .portrait-title h2 {
  190. font-size: 1.75em;
  191. font-weight: 300;
  192. color: #000000;
  193. margin: 20px 0 10px 0;
  194. }
  195. #profile .portrait-title h3 {
  196. font-size: 1.13em;
  197. font-weight: 300;
  198. color: #AAAAAA;
  199. margin: 0px 0 10px 0;
  200. }
  201. #profile .social-icon li {
  202. margin: 30px 5px 5px 5px;
  203. }
  204. /*************************************************
  205. * Education
  206. **************************************************/
  207. ul.ul-edu {
  208. list-style: none;
  209. }
  210. ul.ul-edu li {
  211. position: relative;
  212. padding: 0px 15px 4px 3px;
  213. color: #333333;
  214. }
  215. ul.ul-edu li .description p {
  216. margin: 0;
  217. }
  218. ul.ul-edu li .description p.course {
  219. font-size: 1em;
  220. }
  221. ul.ul-edu li .description p.institution {
  222. font-size: 0.88em;
  223. }
  224. /*************************************************
  225. * Buttons
  226. **************************************************/
  227. .btn-primary {
  228. border-color: #0095eb;
  229. }
  230. .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  231. background: #0095eb;
  232. }
  233. /*************************************************
  234. * Button Outlines
  235. **************************************************/
  236. .btn-outline {
  237. background-color: transparent;
  238. color: inherit;
  239. transition: all .5s;
  240. }
  241. .btn-primary.btn-outline {
  242. /*color: #428bca;*/
  243. color: #0095eb;
  244. }
  245. .btn-success.btn-outline {
  246. color: #5cb85c;
  247. }
  248. .btn-info.btn-outline {
  249. color: #5bc0de;
  250. }
  251. .btn-warning.btn-outline {
  252. color: #f0ad4e;
  253. }
  254. .btn-danger.btn-outline {
  255. color: #d9534f;
  256. }
  257. .btn-primary.btn-outline:hover,
  258. .btn-success.btn-outline:hover,
  259. .btn-info.btn-outline:hover,
  260. .btn-warning.btn-outline:hover,
  261. .btn-danger.btn-outline:hover {
  262. color: #fff;
  263. }
  264. /*************************************************
  265. * Navigation Bar
  266. **************************************************/
  267. .navbar {
  268. min-height:60px !important;
  269. }
  270. .navbar-default {
  271. background: #fff;
  272. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  273. box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  274. }
  275. .navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a:visited {
  276. white-space: nowrap;
  277. -webkit-transition: 0.2s ease;
  278. transition: 0.2s ease;
  279. color: #565a5f;
  280. }
  281. .navbar-default .navbar-nav li a:hover {
  282. color: #0095eb;
  283. }
  284. .navbar-brand, .navbar-nav li a {
  285. line-height: 60px;
  286. padding-top: 5px;
  287. padding-bottom: 5px;
  288. }
  289. .navbar-brand {
  290. text-transform: uppercase;
  291. font-weight: bold;
  292. font-size: 1.2em;
  293. color: #2b2b2b;
  294. }
  295. .big-icon {
  296. font-size: 40px;
  297. }
  298. @media (max-width:992px){
  299. .home-section-wrapper.full_width.home {
  300. padding: 110px 0px;
  301. margin-top: 0px;
  302. margin-bottom: 0px;
  303. margin-left: 0px;
  304. width: 100%;
  305. }
  306. .space-below {
  307. margin-bottom: 10px;
  308. }
  309. .navbar {
  310. min-height: 50px !important;
  311. }
  312. .navbar-header {
  313. float: none;
  314. min-height: inherit;
  315. }
  316. .navbar-left,.navbar-right {
  317. float: none !important;
  318. }
  319. .navbar-toggle {
  320. display: block;
  321. }
  322. .navbar-collapse {
  323. border-top: 1px solid transparent;
  324. box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  325. }
  326. .navbar-fixed-top {
  327. top: 0;
  328. border-width: 0 0 1px;
  329. }
  330. .navbar-collapse.collapse {
  331. display: none!important;
  332. }
  333. .navbar-nav {
  334. float: none!important;
  335. margin-top: 7.5px;
  336. }
  337. .navbar-nav>li {
  338. float: none;
  339. }
  340. .navbar-nav>li>a {
  341. padding-top: 10px;
  342. padding-bottom: 10px;
  343. line-height: normal;
  344. }
  345. .collapse.in{
  346. display:block !important;
  347. }
  348. }