hugo-academic.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. * Publications
  66. **************************************************/
  67. #pub_list h3 {
  68. margin-top: 0;
  69. }
  70. .pub-icon {
  71. color: #03396c;
  72. font-size: 0.81em;
  73. padding-top: 6px;
  74. }
  75. .citation_authors {
  76. font-style: italic;
  77. }
  78. .citation_authors .citation_author {
  79. padding-right: 25px;
  80. }
  81. /* Note: a corresponding style appears further down, in @media for mobile screen size */
  82. .space-below {
  83. margin-bottom: 50px;
  84. }
  85. /*************************************************
  86. * Contact
  87. **************************************************/
  88. #contact li span {
  89. padding-left: 10px;
  90. }
  91. /*************************************************
  92. * Profile
  93. **************************************************/
  94. #profile {
  95. text-align: center;
  96. padding: 30px 10px;
  97. position: relative;
  98. }
  99. #profile .portrait {
  100. background-image: url('/img/portrait.jpg');
  101. width: 200px;
  102. height: 200px;
  103. margin: 0 auto;
  104. border-radius: 50%;
  105. background-size: cover;
  106. -webkit-background-size: cover;
  107. -moz-background-size: cover;
  108. }
  109. #profile .portrait-title h2 {
  110. font-size: 1.75em;
  111. font-weight: 300;
  112. color: #000000;
  113. margin: 20px 0 10px 0;
  114. }
  115. #profile .portrait-title h3 {
  116. font-size: 1.13em;
  117. font-weight: 300;
  118. color: #AAAAAA;
  119. margin: 0px 0 10px 0;
  120. }
  121. #profile .social-icon li {
  122. margin: 30px 5px 5px 5px;
  123. }
  124. /*************************************************
  125. * Education
  126. **************************************************/
  127. ul.ul-edu {
  128. list-style: none;
  129. }
  130. ul.ul-edu li {
  131. position: relative;
  132. padding: 0px 15px 4px 3px;
  133. color: #333333;
  134. }
  135. ul.ul-edu li .description p {
  136. margin: 0;
  137. }
  138. ul.ul-edu li .description p.course {
  139. font-size: 1em;
  140. }
  141. ul.ul-edu li .description p.institution {
  142. font-size: 0.88em;
  143. }
  144. /*************************************************
  145. * Buttons
  146. **************************************************/
  147. .btn-primary {
  148. border-color: #33cc99;
  149. }
  150. .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  151. background: #33cc99;
  152. }
  153. /*************************************************
  154. * Button Outlines
  155. **************************************************/
  156. .btn-outline {
  157. background-color: transparent;
  158. color: inherit;
  159. transition: all .5s;
  160. }
  161. .btn-primary.btn-outline {
  162. /*color: #428bca;*/
  163. color: #33cc99;
  164. }
  165. .btn-success.btn-outline {
  166. color: #5cb85c;
  167. }
  168. .btn-info.btn-outline {
  169. color: #5bc0de;
  170. }
  171. .btn-warning.btn-outline {
  172. color: #f0ad4e;
  173. }
  174. .btn-danger.btn-outline {
  175. color: #d9534f;
  176. }
  177. .btn-primary.btn-outline:hover,
  178. .btn-success.btn-outline:hover,
  179. .btn-info.btn-outline:hover,
  180. .btn-warning.btn-outline:hover,
  181. .btn-danger.btn-outline:hover {
  182. color: #fff;
  183. }
  184. /*************************************************
  185. * Navigation Bar
  186. **************************************************/
  187. .navbar {
  188. min-height:60px !important;
  189. }
  190. .navbar-brand, .navbar-nav li a {
  191. line-height: 60px;
  192. padding-top: 5px;
  193. padding-bottom: 5px;
  194. }
  195. .navbar-brand {
  196. text-transform: uppercase;
  197. font-weight: bold;
  198. font-size: 1.2em;
  199. color: #2b2b2b;
  200. }
  201. .big-icon {
  202. font-size: 40px;
  203. }
  204. @media (max-width:992px){
  205. .space-below {
  206. margin-bottom: 10px;
  207. }
  208. .navbar {
  209. min-height: 50px !important;
  210. }
  211. .navbar-header {
  212. float: none;
  213. }
  214. .navbar-left,.navbar-right {
  215. float: none !important;
  216. }
  217. .navbar-toggle {
  218. display: block;
  219. }
  220. .navbar-collapse {
  221. border-top: 1px solid transparent;
  222. box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  223. }
  224. .navbar-fixed-top {
  225. top: 0;
  226. border-width: 0 0 1px;
  227. }
  228. .navbar-collapse.collapse {
  229. display: none!important;
  230. }
  231. .navbar-nav {
  232. float: none!important;
  233. margin-top: 7.5px;
  234. }
  235. .navbar-nav>li {
  236. float: none;
  237. }
  238. .navbar-nav>li>a {
  239. padding-top: 10px;
  240. padding-bottom: 10px;
  241. line-height: normal;
  242. }
  243. .collapse.in{
  244. display:block !important;
  245. }
  246. }