hugo-academic.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. /*************************************************
  2. * Academia Theme for Hugo.
  3. * http://www.cushen.me
  4. * Copyright 2016 George Cushen
  5. **************************************************/
  6. /*************************************************
  7. * Fonts
  8. **************************************************/
  9. @import url(https://fonts.googleapis.com/css?family=Roboto:400,700);
  10. @import url(https://fonts.googleapis.com/css?family=Roboto+Mono);
  11. @import url(https://fonts.googleapis.com/css?family=Merriweather);
  12. /*************************************************
  13. * Core
  14. **************************************************/
  15. html, body, p {
  16. font-family: 'Merriweather', serif;
  17. font-size: 16px;
  18. line-height: 1.65;
  19. min-height: 100%;
  20. }
  21. body {
  22. /* Gap between nav bar and body content */
  23. padding-top: 90px;
  24. }
  25. h1, h2, h3, h4, h5, h6 {
  26. font-family: 'Roboto', sans-serif;
  27. font-weight: 700;
  28. line-height: 1;
  29. text-rendering: optimizeLegibility;
  30. }
  31. a, a:visited {
  32. color: #33cc99;
  33. text-decoration:none;
  34. transition:color 0.6s ease;
  35. -webkit-transition:color 0.6s ease;
  36. }
  37. a:hover {
  38. color: #11aa66;
  39. }
  40. h3.post-title a {
  41. color: #151515;
  42. transition: color 0.6s ease;
  43. -webkit-transition: color 0.6s ease;
  44. }
  45. h3.post-title a:hover {
  46. color: #33cc99;
  47. }
  48. pre, code {
  49. font-family: 'Roboto Mono', 'Courier New', 'Courier', monospace;
  50. }
  51. /*************************************************
  52. * Footer
  53. **************************************************/
  54. footer, footer p {
  55. font-size: 0.9em;
  56. margin: 4em 0 0;
  57. padding: 2em 0;
  58. text-align: center;
  59. width: 100%;
  60. }
  61. .site-footer {
  62. color: #899596;
  63. }
  64. /*************************************************
  65. * Blog Articles
  66. **************************************************/
  67. .article-metadata {
  68. margin-bottom: 20px;
  69. }
  70. .article-list-item .article-metadata {
  71. margin-bottom: 5px;
  72. }
  73. .article-metadata .article-date, .article-metadata .article-tags {
  74. margin-right: 10px;
  75. color: #888;
  76. }
  77. /*************************************************
  78. * Publications
  79. **************************************************/
  80. #pub_list h3 {
  81. margin-top: 0;
  82. }
  83. .pub-icon {
  84. color: #03396c;
  85. font-size: 0.81em;
  86. padding-top: 6px;
  87. }
  88. .citation_authors {
  89. font-style: italic;
  90. }
  91. /* Note: a corresponding style appears further down, in @media for mobile screen size */
  92. .space-below {
  93. margin-bottom: 50px;
  94. }
  95. /*************************************************
  96. * Contact
  97. **************************************************/
  98. #contact li span {
  99. padding-left: 10px;
  100. }
  101. /*************************************************
  102. * Profile
  103. **************************************************/
  104. #profile {
  105. text-align: center;
  106. padding: 30px 10px;
  107. position: relative;
  108. }
  109. #profile .portrait {
  110. background-image: url('../img/portrait.jpg');
  111. width: 200px;
  112. height: 200px;
  113. margin: 0 auto;
  114. border-radius: 50%;
  115. background-size: cover;
  116. -webkit-background-size: cover;
  117. -moz-background-size: cover;
  118. }
  119. #profile .portrait-title h2 {
  120. font-size: 1.75em;
  121. font-weight: 300;
  122. color: #000000;
  123. margin: 20px 0 10px 0;
  124. }
  125. #profile .portrait-title h3 {
  126. font-size: 1.13em;
  127. font-weight: 300;
  128. color: #AAAAAA;
  129. margin: 0px 0 10px 0;
  130. }
  131. #profile .social-icon li {
  132. margin: 30px 5px 5px 5px;
  133. }
  134. /*************************************************
  135. * Education
  136. **************************************************/
  137. ul.ul-edu {
  138. list-style: none;
  139. }
  140. ul.ul-edu li {
  141. position: relative;
  142. padding: 0px 15px 4px 3px;
  143. color: #333333;
  144. }
  145. ul.ul-edu li .description p {
  146. margin: 0;
  147. }
  148. ul.ul-edu li .description p.course {
  149. font-size: 1em;
  150. }
  151. ul.ul-edu li .description p.institution {
  152. font-size: 0.88em;
  153. }
  154. /*************************************************
  155. * Buttons
  156. **************************************************/
  157. .btn-primary {
  158. border-color: #33cc99;
  159. }
  160. .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  161. background: #33cc99;
  162. }
  163. /*************************************************
  164. * Button Outlines
  165. **************************************************/
  166. .btn-outline {
  167. background-color: transparent;
  168. color: inherit;
  169. transition: all .5s;
  170. }
  171. .btn-primary.btn-outline {
  172. /*color: #428bca;*/
  173. color: #33cc99;
  174. }
  175. .btn-success.btn-outline {
  176. color: #5cb85c;
  177. }
  178. .btn-info.btn-outline {
  179. color: #5bc0de;
  180. }
  181. .btn-warning.btn-outline {
  182. color: #f0ad4e;
  183. }
  184. .btn-danger.btn-outline {
  185. color: #d9534f;
  186. }
  187. .btn-primary.btn-outline:hover,
  188. .btn-success.btn-outline:hover,
  189. .btn-info.btn-outline:hover,
  190. .btn-warning.btn-outline:hover,
  191. .btn-danger.btn-outline:hover {
  192. color: #fff;
  193. }
  194. /*************************************************
  195. * Navigation Bar
  196. **************************************************/
  197. .navbar {
  198. min-height:60px !important;
  199. }
  200. .navbar-default {
  201. background: #fff;
  202. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  203. box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  204. }
  205. .navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a:visited {
  206. white-space: nowrap;
  207. -webkit-transition: 0.2s ease;
  208. transition: 0.2s ease;
  209. color: #565a5f;
  210. }
  211. .navbar-default .navbar-nav li a:hover {
  212. color: #11aa66;
  213. }
  214. .navbar-brand, .navbar-nav li a {
  215. line-height: 60px;
  216. padding-top: 5px;
  217. padding-bottom: 5px;
  218. }
  219. .navbar-brand {
  220. text-transform: uppercase;
  221. font-weight: bold;
  222. font-size: 1.2em;
  223. color: #2b2b2b;
  224. }
  225. .big-icon {
  226. font-size: 40px;
  227. }
  228. @media (max-width:992px){
  229. .space-below {
  230. margin-bottom: 10px;
  231. }
  232. .navbar {
  233. min-height: 50px !important;
  234. }
  235. .navbar-header {
  236. float: none;
  237. }
  238. .navbar-left,.navbar-right {
  239. float: none !important;
  240. }
  241. .navbar-toggle {
  242. display: block;
  243. }
  244. .navbar-collapse {
  245. border-top: 1px solid transparent;
  246. box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  247. }
  248. .navbar-fixed-top {
  249. top: 0;
  250. border-width: 0 0 1px;
  251. }
  252. .navbar-collapse.collapse {
  253. display: none!important;
  254. }
  255. .navbar-nav {
  256. float: none!important;
  257. margin-top: 7.5px;
  258. }
  259. .navbar-nav>li {
  260. float: none;
  261. }
  262. .navbar-nav>li>a {
  263. padding-top: 10px;
  264. padding-bottom: 10px;
  265. line-height: normal;
  266. }
  267. .collapse.in{
  268. display:block !important;
  269. }
  270. }