hugo-academic.css 7.4 KB

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