academic.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533
  1. /*************************************************
  2. * Hugo Academic: an academic theme for Hugo.
  3. * Designed by @GeorgeCushen.
  4. * https://github.com/gcushen/hugo-academic
  5. **************************************************/
  6. /*************************************************
  7. * Core
  8. **************************************************/
  9. *,
  10. *::after,
  11. *::before {
  12. box-sizing: border-box;
  13. }
  14. .row:after,
  15. .row:before {
  16. content: " ";
  17. display: table;
  18. }
  19. html {
  20. font-family: '{{ .Get "body_font" }}', sans-serif;
  21. font-size: {{ .Get "font_size_small" }}px;
  22. color: rgba(0,0,0,0.8);
  23. line-height: 1.65;
  24. }
  25. @media screen and (min-width: 58em) {
  26. html {
  27. font-size: {{ .Get "font_size" }}px;
  28. }
  29. }
  30. body {
  31. font-family: inherit;
  32. font-size: 1rem;
  33. line-height: inherit;
  34. color: inherit;
  35. background-color: {{ .Get "background" }};
  36. margin-top: 71px; /* Offset body content by navbar height. */
  37. padding-top: 0;
  38. counter-reset: captions;
  39. }
  40. @media screen and (max-width: 1200px) { /* Match max-width of .nav-bar query. */
  41. body {
  42. margin-top: 51px; /* Offset body content by navbar height. */
  43. }
  44. }
  45. .max-width-640 {
  46. max-width: 640px;
  47. }
  48. .margin-auto {
  49. margin-left: auto;
  50. margin-right: auto;
  51. }
  52. .center-text {
  53. text-align: center;
  54. }
  55. /* Body text */
  56. p {
  57. margin-top: 0;
  58. margin-bottom: 1rem;
  59. }
  60. /* Lists */
  61. ul, ol, dl {
  62. margin-top: 0;
  63. margin-bottom: 1rem;
  64. }
  65. /* Navigation bar text */
  66. .navbar-default {
  67. font-family: '{{ .Get "nav_font" }}', sans-serif;
  68. font-weight: 400;
  69. line-height: 1.25;
  70. text-rendering: optimizeLegibility;
  71. }
  72. /* Headings */
  73. h1, h2, h3, h4, h5, h6 {
  74. font-family: '{{ .Get "heading_font" }}', sans-serif;
  75. font-weight: 400;
  76. margin-bottom: .5rem;
  77. line-height: 1.25;
  78. color: #313131;
  79. text-rendering: optimizeLegibility;
  80. }
  81. h1 {
  82. font-size: 2.25rem;
  83. }
  84. h2 {
  85. margin-top: 1rem;
  86. font-size: 1.5rem;
  87. }
  88. h3 {
  89. font-weight: 700;
  90. margin-top: 1.5rem;
  91. font-size: 1.25rem;
  92. }
  93. h4, h5, h6 {
  94. font-weight: 700;
  95. margin-top: 1rem;
  96. font-size: 1rem;
  97. }
  98. a,
  99. h3.article-title a:hover {
  100. color: {{ .Get "primary" }};
  101. text-decoration: none;
  102. transition: color 0.6s ease;
  103. }
  104. a:hover,
  105. a:focus {
  106. color: {{ .Get "primary" }};
  107. }
  108. img,
  109. video {
  110. height: auto;
  111. max-width: 100%;
  112. display: block;
  113. }
  114. video {
  115. width: 100%;
  116. height: auto;
  117. max-height: 400px;
  118. }
  119. .img-responsive {
  120. /* Extend Bootstrap declaration with centering. */
  121. margin: 0 auto;
  122. }
  123. figcaption:before {
  124. font-weight: 700;
  125. text-transform: uppercase;
  126. content: "Figure " counter(captions) ": ";
  127. }
  128. figcaption {
  129. display: block;
  130. margin-top: 0.75em;
  131. line-height: 1.25;
  132. font-size: 1rem;
  133. margin-bottom: 1.65rem;
  134. font-family: '{{ .Get "heading_font" }}', sans-serif;
  135. counter-increment: captions;
  136. }
  137. figcaption h4 {
  138. display: inline-block;
  139. font-size: 1rem;
  140. font-weight: 400;
  141. margin: 0;
  142. }
  143. pre,
  144. code {
  145. font-family: '{{ .Get "mono_font" }}', monospace;
  146. color: #c7254e;
  147. background-color: #f9f2f4;
  148. }
  149. pre {
  150. margin: 0 0 1rem 0;
  151. overflow: auto;
  152. background-color: rgb(248, 248, 248); /* Match default highlight theme. */
  153. border-color: rgb(248, 248, 248);
  154. }
  155. hr {
  156. border: 0;
  157. height: 1px;
  158. background: #333;
  159. background-image: linear-gradient(to right, #ccc, #333, #ccc);
  160. }
  161. /* Quotes */
  162. blockquote {
  163. padding: .5rem 1rem;
  164. margin: .8rem 0;
  165. color: #7a7a7a;
  166. border-left: .25rem solid #e5e5e5;
  167. }
  168. blockquote p:last-child {
  169. margin-bottom: 0;
  170. }
  171. @media (min-width: 30em) {
  172. blockquote {
  173. padding-right: 5rem;
  174. padding-left: 1.25rem;
  175. }
  176. }
  177. .space-below {
  178. margin-bottom: 50px;
  179. }
  180. @media screen and (max-width: 768px) {
  181. .space-below {
  182. margin-bottom: 10px;
  183. }
  184. }
  185. .universal-wrapper {
  186. margin: 0 auto;
  187. padding-right: 15px;
  188. padding-left: 15px;
  189. width: 100%;
  190. }
  191. @media only screen and (min-width: 1001px) {
  192. .universal-wrapper {
  193. width: 1000px;
  194. }
  195. }
  196. small,
  197. .small {
  198. font-size: .75em;
  199. }
  200. /*************************************************
  201. * Modals.
  202. **************************************************/
  203. .modal-header .close {
  204. font-size: 40px; /* Bigger cross. */
  205. height: 30px; /* Remove icon's vertical spacing. */
  206. overflow-y: hidden;
  207. position: relative;
  208. top: -5px;
  209. }
  210. .modal-content pre {
  211. margin: 0;
  212. }
  213. #modal-error {
  214. color: red;
  215. }
  216. /*************************************************
  217. * Gallery.
  218. **************************************************/
  219. .gallery {
  220. margin: 0.5em -4px 1.5em -4px;
  221. font-size: 0;
  222. }
  223. a[data-fancybox] {
  224. text-decoration: none;
  225. }
  226. a[data-fancybox] img {
  227. height: 250px;
  228. max-width: inherit;
  229. display: inherit;
  230. margin: 0;
  231. padding: 4px;
  232. box-shadow: none;
  233. vertical-align: inherit;
  234. }
  235. .fancybox-caption {
  236. font-size: 1rem;
  237. line-height: 1.5rem;
  238. text-align: center;
  239. }
  240. /*************************************************
  241. * Pager.
  242. **************************************************/
  243. .post-nav {
  244. margin-top: 1rem;
  245. font-size: 0.8rem;
  246. }
  247. .post-nav-item {
  248. hyphens: auto;
  249. word-wrap: break-word;
  250. padding: 11px 0 12px;
  251. width: 100%;
  252. }
  253. .post-nav-item a {
  254. color: #2b2b2b;
  255. line-height: 1.7;
  256. text-transform: none;
  257. }
  258. .post-nav-item .meta-nav {
  259. color: #767676;
  260. font-weight: 900;
  261. line-height: 2;
  262. text-transform: uppercase;
  263. }
  264. .dark .post-nav-item a {
  265. color: #ddd;
  266. }
  267. /*************************************************
  268. * Home Sections
  269. **************************************************/
  270. @keyframes intro {
  271. 0% {
  272. opacity: 0;
  273. }
  274. 100% {
  275. opacity: 1;
  276. }
  277. }
  278. .home-section {
  279. background-color: {{ .Get "home_section_odd" }};
  280. padding: 110px 0 110px 0;
  281. animation: intro 0.3s both;
  282. animation-delay: 0.15s;
  283. }
  284. .home-section:first-of-type {
  285. padding-top: 50px;
  286. }
  287. .home-section:nth-of-type(even) {
  288. background-color: {{ .Get "home_section_even" }};
  289. }
  290. @media screen and (max-width: 768px) {
  291. .home-section {
  292. padding: 60px 0 60px 0;
  293. }
  294. .home-section:first-of-type {
  295. padding-top: 40px;
  296. }
  297. }
  298. .section-heading h1 {
  299. margin: 0 0 10px 0;
  300. }
  301. .section-heading p {
  302. font-weight: 400;
  303. font-size: 1.1rem;
  304. color: #b2b2b2;
  305. }
  306. /*************************************************
  307. * Hero Widget
  308. **************************************************/
  309. .hero-overlay {
  310. position: relative;
  311. padding: 3em 0;
  312. clear: both;
  313. background-size: cover;
  314. background-repeat: no-repeat;
  315. background-position: center;
  316. animation: intro 0.3s both;
  317. animation-delay: 0s;
  318. animation-delay: 0.25s;
  319. }
  320. .hero-title {
  321. font-size: 2.7rem;
  322. margin-top: 0;
  323. line-height: 1;
  324. }
  325. .hero-lead {
  326. max-width: 768px;
  327. font-size: 1.35rem;
  328. }
  329. .hero-overlay .hero-title,
  330. .hero-overlay .hero-lead,
  331. .hero-overlay .btn {
  332. color: #fff;
  333. text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  334. }
  335. .hero-overlay a {
  336. color: #fff;
  337. }
  338. .hero-overlay .hero-lead a {
  339. color: #fff;
  340. text-decoration-line: underline;
  341. }
  342. .hero-overlay .btn-large {
  343. font-size: 1.1rem;
  344. }
  345. /*************************************************
  346. * Featurette Widget
  347. **************************************************/
  348. .featurette {
  349. font-size: 0.8rem;
  350. line-height: 1.5;
  351. color: #555;
  352. text-align: center;
  353. }
  354. .featurette h3 {
  355. margin-top: 0;
  356. margin-bottom: 5px;
  357. font-weight: 400;
  358. color: #333;
  359. }
  360. .dark .featurette,
  361. .dark .featurette h3 {
  362. color: #fff;
  363. }
  364. .featurette-icon {
  365. display: block;
  366. width: 100%;
  367. color: {{ .Get "primary" }};
  368. font-size: 3rem;
  369. text-align: center;
  370. }
  371. /*************************************************
  372. * Biography
  373. **************************************************/
  374. #profile {
  375. text-align: center;
  376. padding: 30px 10px;
  377. position: relative;
  378. }
  379. #profile .portrait {
  380. background-image: url('../img/portrait.jpg');
  381. width: 200px;
  382. height: 200px;
  383. margin: 0 auto;
  384. border-radius: 50%;
  385. background-size: cover;
  386. }
  387. #profile .portrait-title h2 {
  388. font-size: 1.75em;
  389. font-weight: 300;
  390. color: #000000;
  391. margin: 20px 0 10px 0;
  392. }
  393. #profile .portrait-title h3 {
  394. font-size: 1rem;
  395. font-weight: 300;
  396. color: rgba(0,0,0, 0.54);
  397. margin: 0px 0 10px 0;
  398. }
  399. #profile ul.network-icon {
  400. display: inline-flex;
  401. flex-direction: row;
  402. flex-wrap: wrap;
  403. list-style: none;
  404. padding: 0;
  405. margin-top: 30px;
  406. }
  407. #profile .network-icon li {
  408. margin-right: 10px;
  409. }
  410. #profile .network-icon li:last-of-type {
  411. margin-right: 0;
  412. }
  413. #profile .network-icon li:hover {
  414. transform: scale(1.2)
  415. }
  416. .big-icon {
  417. font-size: 2rem;
  418. }
  419. ul.ul-interests li {
  420. font-size: 0.9rem;
  421. }
  422. ul.ul-edu {
  423. list-style: none;
  424. }
  425. ul.ul-edu li {
  426. position: relative;
  427. padding: 0px 15px 4px 3px;
  428. }
  429. ul.ul-edu li .description p {
  430. margin: 0;
  431. }
  432. ul.ul-edu li .description p.course {
  433. font-size: 0.9rem;
  434. }
  435. ul.ul-edu li .description p.institution {
  436. font-size: 0.75rem;
  437. color: rgba(0,0,0,0.6);
  438. }
  439. /*************************************************
  440. * Sharing
  441. **************************************************/
  442. .share-box {
  443. float: right;
  444. }
  445. ul.share {
  446. display: flex;
  447. flex-direction: row;
  448. flex-wrap: wrap;
  449. list-style: none;
  450. margin: 0;
  451. padding: 0;
  452. }
  453. ul.share li {
  454. display: inline-flex;
  455. margin-right: 5px;
  456. }
  457. ul.share li:last-of-type {
  458. margin-right: 0;
  459. }
  460. ul.share li .fa {
  461. display: block;
  462. width: 30px;
  463. height: 30px;
  464. line-height: 30px;
  465. font-size: 16px;
  466. text-align: center;
  467. transition: all 150ms ease-in-out;
  468. color: #fff;
  469. }
  470. ul.share li a {
  471. background-color: #b5c6ce;
  472. display: block;
  473. border-radius: 50%;
  474. text-decoration: none !important;
  475. margin: 0;
  476. }
  477. ul.share li:hover .fa {
  478. transform: scale(1.4)
  479. }
  480. /*************************************************
  481. * Blog Articles
  482. **************************************************/
  483. article {
  484. animation: intro 0.3s both;
  485. animation-delay: 0.15s;
  486. }
  487. .article-container {
  488. max-width: 760px;
  489. padding: 1rem 20px 0 20px;
  490. margin: 0 auto 0 auto;
  491. }
  492. .article-header {
  493. position: relative;
  494. clear: both;
  495. }
  496. .article-banner {
  497. width: 100%;
  498. height: auto;
  499. }
  500. .article-header-caption {
  501. position: absolute;
  502. bottom: 0;
  503. right: 0;
  504. margin: 0 auto;
  505. padding: 2px 5px;
  506. color: #fff;
  507. font-size: .7em;
  508. background: #000;
  509. text-align: right;
  510. z-index: 5;
  511. opacity: 0.65;
  512. border-radius: 5px 0 0 0;
  513. }
  514. @media (min-width: 64em) {
  515. .article-header-caption {
  516. padding: 5px 10px;
  517. }
  518. }
  519. .article-header-caption a {
  520. color: #fff;
  521. text-decoration: none;
  522. }
  523. .article-title {
  524. font-size: 1.75rem;
  525. }
  526. .article-title a {
  527. color: #151515;
  528. transition: color 0.6s ease;
  529. }
  530. .article-metadata {
  531. margin-bottom: 15px;
  532. overflow: hidden;
  533. font-size: 14px;
  534. letter-spacing: 0.03em;
  535. color: #888;
  536. }
  537. /* For article page only, not lists. */
  538. article .article-metadata {
  539. margin-bottom: 20px;
  540. line-height: 30px; /* Match share bar line height. */
  541. }
  542. .article-metadata a {
  543. color: #888;
  544. }
  545. .article-metadata a:hover {
  546. color: {{ .Get "primary" }};
  547. }
  548. .middot-divider {
  549. padding-right: .45em;
  550. padding-left: .45em;
  551. font-size: 15px;
  552. }
  553. .middot-divider::after {
  554. content: '\00B7';
  555. }
  556. .article-style img,
  557. .article-style video {
  558. margin-left: auto;
  559. margin-right: auto;
  560. margin-top: 60px;
  561. margin-bottom: 60px;
  562. padding: 0;
  563. }
  564. .article-style td img,
  565. .article-style td video {
  566. margin-top: 0;
  567. margin-bottom: 0;
  568. }
  569. .article-style figure {
  570. margin-top: 60px;
  571. margin-bottom: 60px;
  572. }
  573. .article-style figure img {
  574. margin-top: 0;
  575. margin-bottom: 0;
  576. }
  577. .article-widget {
  578. padding-top: 1rem;
  579. }
  580. .article-widget h3 {
  581. margin-top: 0;
  582. }
  583. .hr-light {
  584. border-top: 1px solid rgba(0,0,0,.05);
  585. margin-top: 0.5rem;
  586. margin-bottom: 1rem;
  587. }
  588. #comments {
  589. padding-top: 1rem;
  590. }
  591. /*************************************************
  592. * Publications
  593. **************************************************/
  594. .pub-icon {
  595. color: rgba(0, 0, 0, 0.54);
  596. font-size: 0.81em;
  597. padding-top: 6px;
  598. }
  599. .pub-banner {
  600. max-width: 100%;
  601. height: auto;
  602. margin-left: auto;
  603. margin-right: auto;
  604. }
  605. .pub .pub-authors {
  606. font-style: italic;
  607. line-height: 30px; /* Match share bar line height. */
  608. }
  609. .pub .pub-row-heading {
  610. font-weight: bold;
  611. }
  612. .pub-list-item .pub-abstract {
  613. font-size: 1rem;
  614. }
  615. .pub-list-item .pub-authors {
  616. line-height: normal;
  617. font-style: normal;
  618. font-size: 1rem;
  619. color: #3170A5;
  620. }
  621. .pub-list-item .pub-publication {
  622. color: #090;
  623. font-size: 1rem;
  624. }
  625. .pub-list-item .pub-links {
  626. padding-top: 10px;
  627. }
  628. #container-publications {
  629. display: block;
  630. position: relative;
  631. overflow: hidden;
  632. }
  633. /*************************************************
  634. * Talks
  635. **************************************************/
  636. .talk-metadata {
  637. color: #4b4f56;
  638. font-size: 0.8rem;
  639. }
  640. /*************************************************
  641. * Projects
  642. **************************************************/
  643. #projects.home-section li {
  644. margin-bottom: 1rem;
  645. }
  646. #projects.home-section li:last-of-type {
  647. margin-bottom: 0;
  648. }
  649. #projects.home-section .project-title {
  650. margin-bottom: 6px;
  651. }
  652. #projects.home-section .project-summary {
  653. font-size: 0.9rem;
  654. margin-bottom: 0.4rem;
  655. }
  656. #projects.home-section .project-tags {
  657. font-size: 0.75rem;
  658. color: #9c9c9c;
  659. }
  660. .projects-container {
  661. display: block;
  662. position: relative;
  663. /*margin-top: 5rem;*/
  664. overflow: hidden;
  665. }
  666. .project-toolbar{
  667. margin-bottom: 2rem;
  668. }
  669. .project-item {
  670. margin-bottom: 1.5rem;
  671. }
  672. .isotope-item {
  673. z-index: 2;
  674. }
  675. .isotope-item:hover{
  676. z-index: 3;
  677. }
  678. /*************************************************
  679. * Card component
  680. **************************************************/
  681. .card-simple {
  682. background: #fff;
  683. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  684. border: 1px solid rgba(0,0,0,.09);
  685. border-radius: 3px;
  686. margin-top: 20px;
  687. padding: 15px 20px 15px 20px;
  688. }
  689. .card-simple:first-of-type {
  690. margin-top: 0;
  691. }
  692. .card-simple p.read-more {
  693. margin: 0;
  694. }
  695. .dark .card-simple {
  696. background: rgb(40, 42, 54);
  697. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  698. border: 1px solid rgb(68, 71, 90);
  699. }
  700. .card {
  701. margin-bottom: 1.5rem;
  702. overflow: hidden;
  703. text-overflow: ellipsis;
  704. background: #fff;
  705. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  706. transition: all 0.2s ease-out;
  707. }
  708. .card .card-image {
  709. display: block;
  710. position: relative;
  711. min-height: 100px;
  712. }
  713. .card h4 {
  714. font-size: 0.9rem;
  715. font-weight: 700;
  716. line-height: 1.5;
  717. text-transform: uppercase;
  718. }
  719. .card h4 a {
  720. color: #000;
  721. border-bottom: solid 1px transparent;
  722. }
  723. .card h4 a:hover {
  724. color: #000;
  725. border-bottom: solid 1px #000;
  726. text-decoration: none;
  727. }
  728. .card .card-text {
  729. padding: 0.75rem 1rem 0.75rem;
  730. }
  731. .card .card-text p {
  732. color: #999999;
  733. font-size: 0.75rem;
  734. }
  735. .card p:last-child {
  736. margin-bottom: 0;
  737. }
  738. .card .card-image.hover-overlay:before {
  739. display: block;
  740. position: absolute;
  741. left: 0;
  742. top: 0;
  743. width: 100%;
  744. height: 100%;
  745. background: #fff;
  746. content: " ";
  747. opacity: 0;
  748. transition: all 0.2s ease-out;
  749. }
  750. .card .card-image.hover-overlay:after {
  751. display: block;
  752. position: absolute;
  753. left: 0;
  754. top: 50%;
  755. width: 100%;
  756. transform: translate(0, -50%);
  757. opacity: 0;
  758. transition: all 0.2s ease-out;
  759. font-family: 'FontAwesome';
  760. content: '\f0c1';
  761. text-align: center;
  762. font-size: 3rem;
  763. color: #666;
  764. }
  765. .card:hover {
  766. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  767. }
  768. .card:hover .card-image.hover-overlay:before {
  769. opacity: 0.8;
  770. }
  771. .card:hover .card-image.hover-overlay:after {
  772. opacity: 0.6;
  773. }
  774. /*************************************************
  775. * Contact
  776. **************************************************/
  777. #contact.home-section .fa-ul {
  778. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  779. }
  780. #contact.home-section .fa-li {
  781. position: absolute;
  782. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  783. width: 2rem; /* Match `fa-2x` icon size. */
  784. top: 0.14285714em; /* Default FA value. */
  785. text-align: center;
  786. }
  787. #contact.home-section li {
  788. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  789. margin-bottom: 0.3rem;
  790. }
  791. #contact.home-section li:last-of-type {
  792. margin-bottom: 0;
  793. }
  794. #map {
  795. height: 350px;
  796. width: 100%;
  797. }
  798. /*************************************************
  799. * Footer
  800. **************************************************/
  801. footer {
  802. margin: 4rem 0 0;
  803. padding: 2rem 0;
  804. width: 100%;
  805. }
  806. footer p {
  807. font-size: 0.75rem;
  808. text-align: center;
  809. }
  810. .site-footer,
  811. footer a#back_to_top i {
  812. color: #899596;
  813. }
  814. /*************************************************
  815. * Button Primary: Color Override
  816. **************************************************/
  817. .btn-primary {
  818. border-color: {{ .Get "primary" }} !important;
  819. background: {{ .Get "primary" }} !important;
  820. }
  821. .btn-primary:hover,
  822. .btn-primary:active,
  823. .btn-primary.active,
  824. .btn-primary:visited,
  825. .open > .dropdown-toggle.btn-primary {
  826. background: {{ .Get "primary" }} !important;
  827. }
  828. .btn-light {
  829. border-color: #fff !important;
  830. background: #fff !important;
  831. }
  832. .btn-light:hover,
  833. .btn-light:active,
  834. .btn-light.active {
  835. background: rgba(0,0,0,0.4) !important;
  836. }
  837. /*************************************************
  838. * Toolbar Buttons
  839. **************************************************/
  840. .btn-toolbar .btn {
  841. font-size: 0.9rem;
  842. padding: 10px 14px 9px;
  843. border: none;
  844. }
  845. .btn-toolbar .btn:first-child {
  846. border-radius: 6px 0 0 6px;
  847. }
  848. .btn-toolbar .btn:last-child {
  849. border-radius: 0 6px 6px 0;
  850. }
  851. .btn-toolbar .btn.btn-primary:hover,
  852. .btn-toolbar .btn.btn-primary:focus {
  853. background-color: {{ .Get "primary_dark" }} !important;
  854. }
  855. .btn-toolbar .btn.btn-primary:active,
  856. .btn-toolbar .btn.btn-primary.active {
  857. background-color: {{ .Get "primary_light" }} !important;
  858. }
  859. /*************************************************
  860. * Button Outlines
  861. **************************************************/
  862. .btn-outline {
  863. background-color: transparent !important;
  864. color: inherit;
  865. transition: all .5s;
  866. }
  867. .btn-primary.btn-outline {
  868. color: {{ .Get "primary" }} !important;
  869. border-color: {{ .Get "primary" }} !important;
  870. }
  871. .btn-primary.btn-outline:focus {
  872. color: {{ .Get "primary" }} !important;
  873. }
  874. .btn-primary.btn-outline:active {
  875. color: #fff !important;
  876. }
  877. .btn-light.btn-outline {
  878. color: #fff !important;
  879. border-color: #fff !important;
  880. }
  881. .btn-light.btn-outline:focus {
  882. color: #fff !important;
  883. }
  884. .btn-light.btn-outline:active {
  885. color: transparent !important;
  886. }
  887. .btn-success.btn-outline {
  888. color: #5cb85c;
  889. }
  890. .btn-info.btn-outline {
  891. color: #5bc0de;
  892. }
  893. .btn-warning.btn-outline {
  894. color: #f0ad4e;
  895. }
  896. .btn-danger.btn-outline {
  897. color: #d9534f;
  898. }
  899. .btn-primary.btn-outline:hover,
  900. .btn-light.btn-outline:hover,
  901. .btn-success.btn-outline:hover,
  902. .btn-info.btn-outline:hover,
  903. .btn-warning.btn-outline:hover,
  904. .btn-danger.btn-outline:hover {
  905. color: #fff !important;
  906. }
  907. /*************************************************
  908. * Navigation Bar
  909. **************************************************/
  910. .navbar {
  911. min-height: 70px !important;
  912. }
  913. .navbar-default {
  914. background: {{ .Get "menu_primary" }};
  915. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  916. }
  917. .navbar-default .navbar-toggle {
  918. border-color: transparent;
  919. }
  920. .navbar-default .navbar-toggle:focus,
  921. .navbar-default .navbar-toggle:hover {
  922. background-color: transparent;
  923. }
  924. nav#navbar-main li {
  925. font-size: {{ .Get "font_size_small" }}px;
  926. }
  927. .navbar-default .navbar-nav>li>a,
  928. .navbar-default .navbar-nav>a:focus,
  929. .navbar-default .navbar-nav>a:hover {
  930. white-space: nowrap;
  931. -webkit-transition: 0.2s ease;
  932. transition: 0.2s ease;
  933. color: {{ .Get "menu_text" }};
  934. font-weight: 600;
  935. }
  936. .navbar-default .navbar-nav>li>a:focus {
  937. color: {{ .Get "menu_text" }};
  938. background-color: transparent;
  939. }
  940. .navbar-default .navbar-nav>li>a:hover {
  941. color: {{ .Get "menu_text_active" }};
  942. background-color: transparent;
  943. }
  944. .navbar-default .navbar-nav>.active>a,
  945. .navbar-default .navbar-nav>.active>a:focus,
  946. .navbar-default .navbar-nav>.active>a:hover {
  947. color: {{ .Get "menu_text_active" }};
  948. font-weight: 700;
  949. background-color: transparent !important; /* Override Bootstrap. */
  950. }
  951. .navbar-brand,
  952. .navbar-nav li a {
  953. height: inherit;
  954. line-height: 50px;
  955. padding-top: 10px;
  956. padding-bottom: 10px;
  957. }
  958. .navbar-brand img {
  959. max-height: 50px;
  960. }
  961. .navbar-default .navbar-toggle .icon-bar {
  962. background-color: {{ .Get "menu_text" }} !important;
  963. }
  964. .dropdown-menu {
  965. background-color: {{ .Get "menu_primary" }} !important;
  966. }
  967. .dropdown-menu > li > a {
  968. display: block;
  969. padding: 3px 20px;
  970. clear: both;
  971. font-weight: 400;
  972. line-height: 1.42857143;
  973. color: {{ .Get "menu_text" }};
  974. white-space: nowrap;
  975. }
  976. .dropdown-menu>li>a:focus,
  977. .dropdown-menu>li>a:hover {
  978. color: {{ .Get "menu_text_active" }};
  979. text-decoration: none;
  980. background-color: {{ .Get "menu_primary" }};
  981. }
  982. .dropdown-menu > .active > a,
  983. .dropdown-menu > .active > a:focus,
  984. .dropdown-menu > .active > a:hover {
  985. color: {{ .Get "menu_primary" }};
  986. text-decoration: none;
  987. background-color: {{ .Get "menu_text_active" }};
  988. outline: 0;
  989. }
  990. .navbar-default .navbar-nav>.open>a,
  991. .navbar-default .navbar-nav>.open>a:focus,
  992. .navbar-default .navbar-nav>.open>a:hover,
  993. .navbar-default .navbar-nav>.open>a:visited {
  994. color: {{ .Get "menu_text" }} !important;
  995. background-color: {{ .Get "menu_primary" }} !important;
  996. }
  997. .navbar-default .navbar-brand {
  998. text-transform: uppercase;
  999. font-weight: bold;
  1000. font-size: 1.2em;
  1001. color: {{ .Get "menu_title" }};
  1002. }
  1003. .navbar-default .navbar-brand:focus,
  1004. .navbar-default .navbar-brand:hover {
  1005. color: {{ .Get "menu_title" }};
  1006. background-color: transparent;
  1007. }
  1008. @media screen and (max-width: 1200px) {
  1009. .navbar {
  1010. min-height: 50px !important;
  1011. }
  1012. .navbar-brand,
  1013. .navbar-nav li a {
  1014. height: inherit;
  1015. line-height: 40px;
  1016. padding-top: 5px;
  1017. padding-bottom: 5px;
  1018. }
  1019. .navbar-brand img {
  1020. max-height: 40px;
  1021. }
  1022. .navbar-header {
  1023. float: none;
  1024. min-height: inherit;
  1025. }
  1026. .navbar-left,
  1027. .navbar-right {
  1028. float: none !important;
  1029. }
  1030. .navbar-toggle {
  1031. display: block;
  1032. }
  1033. .navbar-fixed-top {
  1034. top: 0;
  1035. border-width: 0 0 1px;
  1036. }
  1037. .navbar-collapse.collapse {
  1038. display: none !important;
  1039. }
  1040. .navbar-nav {
  1041. float: none !important;
  1042. margin-top: 7.5px;
  1043. }
  1044. .navbar-nav > li {
  1045. float: none;
  1046. }
  1047. .navbar-nav > li > a {
  1048. padding-top: 10px;
  1049. padding-bottom: 10px;
  1050. line-height: normal;
  1051. }
  1052. .dropdown-menu > li > a {
  1053. display: block;
  1054. padding: 3px 20px;
  1055. clear: both;
  1056. font-weight: 400;
  1057. line-height: 1.42857143;
  1058. color: {{ .Get "menu_text" }};
  1059. white-space: nowrap;
  1060. }
  1061. .navbar-default .navbar-nav .open .dropdown-menu {
  1062. position: static;
  1063. float: none;
  1064. width: auto;
  1065. margin-top: 0;
  1066. background-color: transparent;
  1067. border: 0;
  1068. box-shadow: none;
  1069. }
  1070. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  1071. padding: 5px 15px 5px 25px;
  1072. line-height: 20px;
  1073. color: {{ .Get "menu_text" }};
  1074. }
  1075. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  1076. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  1077. color: inherit;
  1078. background-color: transparent;
  1079. }
  1080. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  1081. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  1082. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  1083. color: {{ .Get "menu_text_active" }};
  1084. background-color: transparent;
  1085. }
  1086. .collapse.in {
  1087. display: block !important;
  1088. }
  1089. }
  1090. /*************************************************
  1091. * Tables
  1092. **************************************************/
  1093. table {
  1094. width: 100%;
  1095. max-width: 100%;
  1096. margin-bottom: 1rem;
  1097. font-size: 0.93rem;
  1098. }
  1099. table > thead > tr > th,
  1100. table > tbody > tr > th,
  1101. table > tfoot > tr > th,
  1102. table > thead > tr > td,
  1103. table > tbody > tr > td,
  1104. table > tfoot > tr > td {
  1105. padding: 8px;
  1106. line-height: 1.43;
  1107. vertical-align: top;
  1108. border-top: 1px solid #ddd;
  1109. }
  1110. table > thead > tr > th {
  1111. vertical-align: bottom;
  1112. border-bottom: 2px solid #ddd;
  1113. }
  1114. table > caption + thead > tr:first-child > th,
  1115. table > colgroup + thead > tr:first-child > th,
  1116. table > thead:first-child > tr:first-child > th,
  1117. table > caption + thead > tr:first-child > td,
  1118. table > colgroup + thead > tr:first-child > td,
  1119. table > thead:first-child > tr:first-child > td {
  1120. border-top: 0;
  1121. }
  1122. table > tbody + tbody {
  1123. border-top: 2px solid #ddd;
  1124. }
  1125. table table {
  1126. background-color: #fff;
  1127. }
  1128. /* Table Striped */
  1129. table > tbody > tr:nth-child(odd) > td,
  1130. table > tbody > tr:nth-child(odd) > th {
  1131. background-color: #f9f9f9;
  1132. }
  1133. /* Table Hover */
  1134. table > tbody > tr:hover > td,
  1135. table > tbody > tr:hover > th {
  1136. background-color: #e5e5e5;
  1137. }
  1138. /*************************************************
  1139. * Alerts
  1140. **************************************************/
  1141. div.alert {
  1142. border-radius: 10px;
  1143. margin-bottom: 1rem;
  1144. }
  1145. div.alert p {
  1146. position: relative;
  1147. display: block;
  1148. font-size: 1rem;
  1149. margin-left: 2rem;
  1150. margin-top: 0;
  1151. margin-bottom: 0;
  1152. }
  1153. div.alert p:first-child::before {
  1154. position: absolute;
  1155. top: -0.5rem;
  1156. left: -2rem;
  1157. font-family: 'FontAwesome';
  1158. font-size: 1.5rem;
  1159. color: #fff;
  1160. content: '\f05a';
  1161. width: 1.5rem;
  1162. text-align: center;
  1163. }
  1164. div.alert-warning p:first-child::before {
  1165. content: '\f071';
  1166. }
  1167. div.alert a {
  1168. color: rgba(255,255,255,0.9);
  1169. text-decoration: none;
  1170. border-bottom: solid 1px #e4e4e4;
  1171. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1172. }
  1173. div.alert a:hover {
  1174. border-bottom-color: transparent;
  1175. color: rgba(255,255,255,0.5) !important;
  1176. }
  1177. .alert-note {
  1178. color: #fff;
  1179. background-color: #03A9F4; /* Material LightBlue500 */
  1180. border-color: #bce8f1;
  1181. }
  1182. .alert-warning {
  1183. color: #fff;
  1184. background-color: #f44336; /* Material Red500 */
  1185. border-color: #ebccd1;
  1186. }
  1187. /*************************************************
  1188. * Dark themed components
  1189. **************************************************/
  1190. body.dark {
  1191. color: rgb(248, 248, 242);
  1192. }
  1193. .dark h1,
  1194. .dark h2,
  1195. .dark h3,
  1196. .dark h4,
  1197. .dark h5,
  1198. .dark h6 {
  1199. color: rgb(152, 166, 173);
  1200. }
  1201. .dark pre,
  1202. .dark code {
  1203. color: rgb(139, 233, 253);
  1204. background-color: rgb(68, 71, 90);
  1205. }
  1206. .dark pre {
  1207. background-color: rgb(68, 71, 90);
  1208. border-color: rgb(68, 71, 90);
  1209. }
  1210. .dark ul.share li a {
  1211. background-color: {{ .Get "primary" }};
  1212. }
  1213. .dark table table {
  1214. background-color: rgb(40, 42, 54);
  1215. }
  1216. /* Table Striped */
  1217. .dark table > tbody > tr:nth-child(odd) > td,
  1218. .dark table > tbody > tr:nth-child(odd) > th {
  1219. background-color: rgb(50, 52, 64);
  1220. }
  1221. /* Table Hover */
  1222. .dark table > tbody > tr:hover > td,
  1223. .dark table > tbody > tr:hover > th {
  1224. background-color: rgb(60, 62, 74);
  1225. }
  1226. .dark .article-title a {
  1227. color: #fff;
  1228. }
  1229. .dark #profile .portrait-title h2 {
  1230. color: #fff;
  1231. }
  1232. .dark #profile .portrait-title h3 {
  1233. color: rgba(255, 255, 255, 0.54);
  1234. }
  1235. .dark ul.ul-edu li .description p.institution {
  1236. color: rgba(255, 255, 255, 0.6);
  1237. }
  1238. .dark .pub-icon {
  1239. color: rgba(255, 255, 255, 0.54);
  1240. }
  1241. .dark .talk-metadata {
  1242. color: rgba(255, 255, 255, 0.54);
  1243. }
  1244. .dark .pager li > a, .pager li > span {
  1245. background-color: rgb(40, 42, 54);
  1246. border: 1px solid #ddd;
  1247. }
  1248. .dark .card {
  1249. background: rgb(10, 12, 24);
  1250. box-shadow: 0 2px 4px 0 rgba(255, 255, 255, 0.2);
  1251. }
  1252. .dark .card h4 a {
  1253. color: {{ .Get "primary" }};
  1254. border-bottom: solid 1px transparent;
  1255. }
  1256. .dark .card .card-image.hover-overlay::before {
  1257. background: #666;
  1258. }
  1259. .dark .card .card-image.hover-overlay::after {
  1260. color: #fff;
  1261. }
  1262. .dark .navbar-default {
  1263. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1264. border-color: #070707;
  1265. }
  1266. .dark select {
  1267. background: rgb(40, 42, 54);
  1268. color: rgb(248, 248, 242);
  1269. }