hugo-academic.css 5.5 KB

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