academic.css 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534
  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. justify-content: center;
  404. list-style: none;
  405. padding: 0;
  406. margin-top: 30px;
  407. }
  408. #profile .network-icon li {
  409. margin-right: 10px;
  410. }
  411. #profile .network-icon li:last-of-type {
  412. margin-right: 0;
  413. }
  414. #profile .network-icon li:hover {
  415. transform: scale(1.2)
  416. }
  417. .big-icon {
  418. font-size: 2rem;
  419. }
  420. ul.ul-interests li {
  421. font-size: 0.9rem;
  422. }
  423. ul.ul-edu {
  424. list-style: none;
  425. }
  426. ul.ul-edu li {
  427. position: relative;
  428. padding: 0px 15px 4px 3px;
  429. }
  430. ul.ul-edu li .description p {
  431. margin: 0;
  432. }
  433. ul.ul-edu li .description p.course {
  434. font-size: 0.9rem;
  435. }
  436. ul.ul-edu li .description p.institution {
  437. font-size: 0.75rem;
  438. color: rgba(0,0,0,0.6);
  439. }
  440. /*************************************************
  441. * Sharing
  442. **************************************************/
  443. .share-box {
  444. float: right;
  445. }
  446. ul.share {
  447. display: flex;
  448. flex-direction: row;
  449. flex-wrap: wrap;
  450. list-style: none;
  451. margin: 0;
  452. padding: 0;
  453. }
  454. ul.share li {
  455. display: inline-flex;
  456. margin-right: 5px;
  457. }
  458. ul.share li:last-of-type {
  459. margin-right: 0;
  460. }
  461. ul.share li .fa {
  462. display: block;
  463. width: 30px;
  464. height: 30px;
  465. line-height: 30px;
  466. font-size: 16px;
  467. text-align: center;
  468. transition: all 150ms ease-in-out;
  469. color: #fff;
  470. }
  471. ul.share li a {
  472. background-color: #b5c6ce;
  473. display: block;
  474. border-radius: 50%;
  475. text-decoration: none !important;
  476. margin: 0;
  477. }
  478. ul.share li:hover .fa {
  479. transform: scale(1.4)
  480. }
  481. /*************************************************
  482. * Blog Articles
  483. **************************************************/
  484. article {
  485. animation: intro 0.3s both;
  486. animation-delay: 0.15s;
  487. }
  488. .article-container {
  489. max-width: 760px;
  490. padding: 1rem 20px 0 20px;
  491. margin: 0 auto 0 auto;
  492. }
  493. .article-header {
  494. position: relative;
  495. clear: both;
  496. }
  497. .article-banner {
  498. width: 100%;
  499. height: auto;
  500. }
  501. .article-header-caption {
  502. position: absolute;
  503. bottom: 0;
  504. right: 0;
  505. margin: 0 auto;
  506. padding: 2px 5px;
  507. color: #fff;
  508. font-size: .7em;
  509. background: #000;
  510. text-align: right;
  511. z-index: 5;
  512. opacity: 0.65;
  513. border-radius: 5px 0 0 0;
  514. }
  515. @media (min-width: 64em) {
  516. .article-header-caption {
  517. padding: 5px 10px;
  518. }
  519. }
  520. .article-header-caption a {
  521. color: #fff;
  522. text-decoration: none;
  523. }
  524. .article-title {
  525. font-size: 1.75rem;
  526. }
  527. .article-title a {
  528. color: #151515;
  529. transition: color 0.6s ease;
  530. }
  531. .article-metadata {
  532. margin-bottom: 15px;
  533. overflow: hidden;
  534. font-size: 14px;
  535. letter-spacing: 0.03em;
  536. color: #888;
  537. }
  538. /* For article page only, not lists. */
  539. article .article-metadata {
  540. margin-bottom: 20px;
  541. line-height: 30px; /* Match share bar line height. */
  542. }
  543. .article-metadata a {
  544. color: #888;
  545. }
  546. .article-metadata a:hover {
  547. color: {{ .Get "primary" }};
  548. }
  549. .middot-divider {
  550. padding-right: .45em;
  551. padding-left: .45em;
  552. font-size: 15px;
  553. }
  554. .middot-divider::after {
  555. content: '\00B7';
  556. }
  557. .article-style img,
  558. .article-style video {
  559. margin-left: auto;
  560. margin-right: auto;
  561. margin-top: 60px;
  562. margin-bottom: 60px;
  563. padding: 0;
  564. }
  565. .article-style td img,
  566. .article-style td video {
  567. margin-top: 0;
  568. margin-bottom: 0;
  569. }
  570. .article-style figure {
  571. margin-top: 60px;
  572. margin-bottom: 60px;
  573. }
  574. .article-style figure img {
  575. margin-top: 0;
  576. margin-bottom: 0;
  577. }
  578. .article-widget {
  579. padding-top: 1rem;
  580. }
  581. .article-widget h3 {
  582. margin-top: 0;
  583. }
  584. .hr-light {
  585. border-top: 1px solid rgba(0,0,0,.05);
  586. margin-top: 0.5rem;
  587. margin-bottom: 1rem;
  588. }
  589. #comments {
  590. padding-top: 1rem;
  591. }
  592. /*************************************************
  593. * Publications
  594. **************************************************/
  595. .pub-icon {
  596. color: rgba(0, 0, 0, 0.54);
  597. font-size: 0.81em;
  598. padding-top: 6px;
  599. }
  600. .pub-banner {
  601. max-width: 100%;
  602. height: auto;
  603. margin-left: auto;
  604. margin-right: auto;
  605. }
  606. .pub .pub-authors {
  607. font-style: italic;
  608. line-height: 30px; /* Match share bar line height. */
  609. }
  610. .pub .pub-row-heading {
  611. font-weight: bold;
  612. }
  613. .pub-list-item .pub-abstract {
  614. font-size: 1rem;
  615. }
  616. .pub-list-item .pub-authors {
  617. line-height: normal;
  618. font-style: normal;
  619. font-size: 1rem;
  620. color: #3170A5;
  621. }
  622. .pub-list-item .pub-publication {
  623. color: #090;
  624. font-size: 1rem;
  625. }
  626. .pub-list-item .pub-links {
  627. padding-top: 10px;
  628. }
  629. #container-publications {
  630. display: block;
  631. position: relative;
  632. overflow: hidden;
  633. }
  634. /*************************************************
  635. * Talks
  636. **************************************************/
  637. .talk-metadata {
  638. color: #4b4f56;
  639. font-size: 0.8rem;
  640. }
  641. /*************************************************
  642. * Projects
  643. **************************************************/
  644. #projects.home-section li {
  645. margin-bottom: 1rem;
  646. }
  647. #projects.home-section li:last-of-type {
  648. margin-bottom: 0;
  649. }
  650. #projects.home-section .project-title {
  651. margin-bottom: 6px;
  652. }
  653. #projects.home-section .project-summary {
  654. font-size: 0.9rem;
  655. margin-bottom: 0.4rem;
  656. }
  657. #projects.home-section .project-tags {
  658. font-size: 0.75rem;
  659. color: #9c9c9c;
  660. }
  661. .projects-container {
  662. display: block;
  663. position: relative;
  664. /*margin-top: 5rem;*/
  665. overflow: hidden;
  666. }
  667. .project-toolbar{
  668. margin-bottom: 2rem;
  669. }
  670. .project-item {
  671. margin-bottom: 1.5rem;
  672. }
  673. .isotope-item {
  674. z-index: 2;
  675. }
  676. .isotope-item:hover{
  677. z-index: 3;
  678. }
  679. /*************************************************
  680. * Card component
  681. **************************************************/
  682. .card-simple {
  683. background: #fff;
  684. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  685. border: 1px solid rgba(0,0,0,.09);
  686. border-radius: 3px;
  687. margin-top: 20px;
  688. padding: 15px 20px 15px 20px;
  689. }
  690. .card-simple:first-of-type {
  691. margin-top: 0;
  692. }
  693. .card-simple p.read-more {
  694. margin: 0;
  695. }
  696. .dark .card-simple {
  697. background: rgb(40, 42, 54);
  698. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  699. border: 1px solid rgb(68, 71, 90);
  700. }
  701. .card {
  702. margin-bottom: 1.5rem;
  703. overflow: hidden;
  704. text-overflow: ellipsis;
  705. background: #fff;
  706. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  707. transition: all 0.2s ease-out;
  708. }
  709. .card .card-image {
  710. display: block;
  711. position: relative;
  712. min-height: 100px;
  713. }
  714. .card h4 {
  715. font-size: 0.9rem;
  716. font-weight: 700;
  717. line-height: 1.5;
  718. text-transform: uppercase;
  719. }
  720. .card h4 a {
  721. color: #000;
  722. border-bottom: solid 1px transparent;
  723. }
  724. .card h4 a:hover {
  725. color: #000;
  726. border-bottom: solid 1px #000;
  727. text-decoration: none;
  728. }
  729. .card .card-text {
  730. padding: 0.75rem 1rem 0.75rem;
  731. }
  732. .card .card-text p {
  733. color: #999999;
  734. font-size: 0.75rem;
  735. }
  736. .card p:last-child {
  737. margin-bottom: 0;
  738. }
  739. .card .card-image.hover-overlay:before {
  740. display: block;
  741. position: absolute;
  742. left: 0;
  743. top: 0;
  744. width: 100%;
  745. height: 100%;
  746. background: #fff;
  747. content: " ";
  748. opacity: 0;
  749. transition: all 0.2s ease-out;
  750. }
  751. .card .card-image.hover-overlay:after {
  752. display: block;
  753. position: absolute;
  754. left: 0;
  755. top: 50%;
  756. width: 100%;
  757. transform: translate(0, -50%);
  758. opacity: 0;
  759. transition: all 0.2s ease-out;
  760. font-family: 'FontAwesome';
  761. content: '\f0c1';
  762. text-align: center;
  763. font-size: 3rem;
  764. color: #666;
  765. }
  766. .card:hover {
  767. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  768. }
  769. .card:hover .card-image.hover-overlay:before {
  770. opacity: 0.8;
  771. }
  772. .card:hover .card-image.hover-overlay:after {
  773. opacity: 0.6;
  774. }
  775. /*************************************************
  776. * Contact
  777. **************************************************/
  778. #contact.home-section .fa-ul {
  779. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  780. }
  781. #contact.home-section .fa-li {
  782. position: absolute;
  783. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  784. width: 2rem; /* Match `fa-2x` icon size. */
  785. top: 0.14285714em; /* Default FA value. */
  786. text-align: center;
  787. }
  788. #contact.home-section li {
  789. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  790. margin-bottom: 0.3rem;
  791. }
  792. #contact.home-section li:last-of-type {
  793. margin-bottom: 0;
  794. }
  795. #map {
  796. height: 350px;
  797. width: 100%;
  798. }
  799. /*************************************************
  800. * Footer
  801. **************************************************/
  802. footer {
  803. margin: 4rem 0 0;
  804. padding: 2rem 0;
  805. width: 100%;
  806. }
  807. footer p {
  808. font-size: 0.75rem;
  809. text-align: center;
  810. }
  811. .site-footer,
  812. footer a#back_to_top i {
  813. color: #899596;
  814. }
  815. /*************************************************
  816. * Button Primary: Color Override
  817. **************************************************/
  818. .btn-primary {
  819. border-color: {{ .Get "primary" }} !important;
  820. background: {{ .Get "primary" }} !important;
  821. }
  822. .btn-primary:hover,
  823. .btn-primary:active,
  824. .btn-primary.active,
  825. .btn-primary:visited,
  826. .open > .dropdown-toggle.btn-primary {
  827. background: {{ .Get "primary" }} !important;
  828. }
  829. .btn-light {
  830. border-color: #fff !important;
  831. background: #fff !important;
  832. }
  833. .btn-light:hover,
  834. .btn-light:active,
  835. .btn-light.active {
  836. background: rgba(0,0,0,0.4) !important;
  837. }
  838. /*************************************************
  839. * Toolbar Buttons
  840. **************************************************/
  841. .btn-toolbar .btn {
  842. font-size: 0.9rem;
  843. padding: 10px 14px 9px;
  844. border: none;
  845. }
  846. .btn-toolbar .btn:first-child {
  847. border-radius: 6px 0 0 6px;
  848. }
  849. .btn-toolbar .btn:last-child {
  850. border-radius: 0 6px 6px 0;
  851. }
  852. .btn-toolbar .btn.btn-primary:hover,
  853. .btn-toolbar .btn.btn-primary:focus {
  854. background-color: {{ .Get "primary_dark" }} !important;
  855. }
  856. .btn-toolbar .btn.btn-primary:active,
  857. .btn-toolbar .btn.btn-primary.active {
  858. background-color: {{ .Get "primary_light" }} !important;
  859. }
  860. /*************************************************
  861. * Button Outlines
  862. **************************************************/
  863. .btn-outline {
  864. background-color: transparent !important;
  865. color: inherit;
  866. transition: all .5s;
  867. }
  868. .btn-primary.btn-outline {
  869. color: {{ .Get "primary" }} !important;
  870. border-color: {{ .Get "primary" }} !important;
  871. }
  872. .btn-primary.btn-outline:focus {
  873. color: {{ .Get "primary" }} !important;
  874. }
  875. .btn-primary.btn-outline:active {
  876. color: #fff !important;
  877. }
  878. .btn-light.btn-outline {
  879. color: #fff !important;
  880. border-color: #fff !important;
  881. }
  882. .btn-light.btn-outline:focus {
  883. color: #fff !important;
  884. }
  885. .btn-light.btn-outline:active {
  886. color: transparent !important;
  887. }
  888. .btn-success.btn-outline {
  889. color: #5cb85c;
  890. }
  891. .btn-info.btn-outline {
  892. color: #5bc0de;
  893. }
  894. .btn-warning.btn-outline {
  895. color: #f0ad4e;
  896. }
  897. .btn-danger.btn-outline {
  898. color: #d9534f;
  899. }
  900. .btn-primary.btn-outline:hover,
  901. .btn-light.btn-outline:hover,
  902. .btn-success.btn-outline:hover,
  903. .btn-info.btn-outline:hover,
  904. .btn-warning.btn-outline:hover,
  905. .btn-danger.btn-outline:hover {
  906. color: #fff !important;
  907. }
  908. /*************************************************
  909. * Navigation Bar
  910. **************************************************/
  911. .navbar {
  912. min-height: 70px !important;
  913. }
  914. .navbar-default {
  915. background: {{ .Get "menu_primary" }};
  916. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  917. }
  918. .navbar-default .navbar-toggle {
  919. border-color: transparent;
  920. }
  921. .navbar-default .navbar-toggle:focus,
  922. .navbar-default .navbar-toggle:hover {
  923. background-color: transparent;
  924. }
  925. nav#navbar-main li {
  926. font-size: {{ .Get "font_size_small" }}px;
  927. }
  928. .navbar-default .navbar-nav>li>a,
  929. .navbar-default .navbar-nav>a:focus,
  930. .navbar-default .navbar-nav>a:hover {
  931. white-space: nowrap;
  932. -webkit-transition: 0.2s ease;
  933. transition: 0.2s ease;
  934. color: {{ .Get "menu_text" }};
  935. font-weight: 600;
  936. }
  937. .navbar-default .navbar-nav>li>a:focus {
  938. color: {{ .Get "menu_text" }};
  939. background-color: transparent;
  940. }
  941. .navbar-default .navbar-nav>li>a:hover {
  942. color: {{ .Get "menu_text_active" }};
  943. background-color: transparent;
  944. }
  945. .navbar-default .navbar-nav>.active>a,
  946. .navbar-default .navbar-nav>.active>a:focus,
  947. .navbar-default .navbar-nav>.active>a:hover {
  948. color: {{ .Get "menu_text_active" }};
  949. font-weight: 700;
  950. background-color: transparent !important; /* Override Bootstrap. */
  951. }
  952. .navbar-brand,
  953. .navbar-nav li a {
  954. height: inherit;
  955. line-height: 50px;
  956. padding-top: 10px;
  957. padding-bottom: 10px;
  958. }
  959. .navbar-brand img {
  960. max-height: 50px;
  961. }
  962. .navbar-default .navbar-toggle .icon-bar {
  963. background-color: {{ .Get "menu_text" }} !important;
  964. }
  965. .dropdown-menu {
  966. background-color: {{ .Get "menu_primary" }} !important;
  967. }
  968. .dropdown-menu > li > a {
  969. display: block;
  970. padding: 3px 20px;
  971. clear: both;
  972. font-weight: 400;
  973. line-height: 1.42857143;
  974. color: {{ .Get "menu_text" }};
  975. white-space: nowrap;
  976. }
  977. .dropdown-menu>li>a:focus,
  978. .dropdown-menu>li>a:hover {
  979. color: {{ .Get "menu_text_active" }};
  980. text-decoration: none;
  981. background-color: {{ .Get "menu_primary" }};
  982. }
  983. .dropdown-menu > .active > a,
  984. .dropdown-menu > .active > a:focus,
  985. .dropdown-menu > .active > a:hover {
  986. color: {{ .Get "menu_primary" }};
  987. text-decoration: none;
  988. background-color: {{ .Get "menu_text_active" }};
  989. outline: 0;
  990. }
  991. .navbar-default .navbar-nav>.open>a,
  992. .navbar-default .navbar-nav>.open>a:focus,
  993. .navbar-default .navbar-nav>.open>a:hover,
  994. .navbar-default .navbar-nav>.open>a:visited {
  995. color: {{ .Get "menu_text" }} !important;
  996. background-color: {{ .Get "menu_primary" }} !important;
  997. }
  998. .navbar-default .navbar-brand {
  999. text-transform: uppercase;
  1000. font-weight: bold;
  1001. font-size: 1.2em;
  1002. color: {{ .Get "menu_title" }};
  1003. }
  1004. .navbar-default .navbar-brand:focus,
  1005. .navbar-default .navbar-brand:hover {
  1006. color: {{ .Get "menu_title" }};
  1007. background-color: transparent;
  1008. }
  1009. @media screen and (max-width: 1200px) {
  1010. .navbar {
  1011. min-height: 50px !important;
  1012. }
  1013. .navbar-brand,
  1014. .navbar-nav li a {
  1015. height: inherit;
  1016. line-height: 40px;
  1017. padding-top: 5px;
  1018. padding-bottom: 5px;
  1019. }
  1020. .navbar-brand img {
  1021. max-height: 40px;
  1022. }
  1023. .navbar-header {
  1024. float: none;
  1025. min-height: inherit;
  1026. }
  1027. .navbar-left,
  1028. .navbar-right {
  1029. float: none !important;
  1030. }
  1031. .navbar-toggle {
  1032. display: block;
  1033. }
  1034. .navbar-fixed-top {
  1035. top: 0;
  1036. border-width: 0 0 1px;
  1037. }
  1038. .navbar-collapse.collapse {
  1039. display: none !important;
  1040. }
  1041. .navbar-nav {
  1042. float: none !important;
  1043. margin-top: 7.5px;
  1044. }
  1045. .navbar-nav > li {
  1046. float: none;
  1047. }
  1048. .navbar-nav > li > a {
  1049. padding-top: 10px;
  1050. padding-bottom: 10px;
  1051. line-height: normal;
  1052. }
  1053. .dropdown-menu > li > a {
  1054. display: block;
  1055. padding: 3px 20px;
  1056. clear: both;
  1057. font-weight: 400;
  1058. line-height: 1.42857143;
  1059. color: {{ .Get "menu_text" }};
  1060. white-space: nowrap;
  1061. }
  1062. .navbar-default .navbar-nav .open .dropdown-menu {
  1063. position: static;
  1064. float: none;
  1065. width: auto;
  1066. margin-top: 0;
  1067. background-color: transparent;
  1068. border: 0;
  1069. box-shadow: none;
  1070. }
  1071. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  1072. padding: 5px 15px 5px 25px;
  1073. line-height: 20px;
  1074. color: {{ .Get "menu_text" }};
  1075. }
  1076. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  1077. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  1078. color: inherit;
  1079. background-color: transparent;
  1080. }
  1081. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  1082. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  1083. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  1084. color: {{ .Get "menu_text_active" }};
  1085. background-color: transparent;
  1086. }
  1087. .collapse.in {
  1088. display: block !important;
  1089. }
  1090. }
  1091. /*************************************************
  1092. * Tables
  1093. **************************************************/
  1094. table {
  1095. width: 100%;
  1096. max-width: 100%;
  1097. margin-bottom: 1rem;
  1098. font-size: 0.93rem;
  1099. }
  1100. table > thead > tr > th,
  1101. table > tbody > tr > th,
  1102. table > tfoot > tr > th,
  1103. table > thead > tr > td,
  1104. table > tbody > tr > td,
  1105. table > tfoot > tr > td {
  1106. padding: 8px;
  1107. line-height: 1.43;
  1108. vertical-align: top;
  1109. border-top: 1px solid #ddd;
  1110. }
  1111. table > thead > tr > th {
  1112. vertical-align: bottom;
  1113. border-bottom: 2px solid #ddd;
  1114. }
  1115. table > caption + thead > tr:first-child > th,
  1116. table > colgroup + thead > tr:first-child > th,
  1117. table > thead:first-child > tr:first-child > th,
  1118. table > caption + thead > tr:first-child > td,
  1119. table > colgroup + thead > tr:first-child > td,
  1120. table > thead:first-child > tr:first-child > td {
  1121. border-top: 0;
  1122. }
  1123. table > tbody + tbody {
  1124. border-top: 2px solid #ddd;
  1125. }
  1126. table table {
  1127. background-color: #fff;
  1128. }
  1129. /* Table Striped */
  1130. table > tbody > tr:nth-child(odd) > td,
  1131. table > tbody > tr:nth-child(odd) > th {
  1132. background-color: #f9f9f9;
  1133. }
  1134. /* Table Hover */
  1135. table > tbody > tr:hover > td,
  1136. table > tbody > tr:hover > th {
  1137. background-color: #e5e5e5;
  1138. }
  1139. /*************************************************
  1140. * Alerts
  1141. **************************************************/
  1142. div.alert {
  1143. border-radius: 10px;
  1144. margin-bottom: 1rem;
  1145. }
  1146. div.alert p {
  1147. position: relative;
  1148. display: block;
  1149. font-size: 1rem;
  1150. margin-left: 2rem;
  1151. margin-top: 0;
  1152. margin-bottom: 0;
  1153. }
  1154. div.alert p:first-child::before {
  1155. position: absolute;
  1156. top: -0.5rem;
  1157. left: -2rem;
  1158. font-family: 'FontAwesome';
  1159. font-size: 1.5rem;
  1160. color: #fff;
  1161. content: '\f05a';
  1162. width: 1.5rem;
  1163. text-align: center;
  1164. }
  1165. div.alert-warning p:first-child::before {
  1166. content: '\f071';
  1167. }
  1168. div.alert a {
  1169. color: rgba(255,255,255,0.9);
  1170. text-decoration: none;
  1171. border-bottom: solid 1px #e4e4e4;
  1172. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1173. }
  1174. div.alert a:hover {
  1175. border-bottom-color: transparent;
  1176. color: rgba(255,255,255,0.5) !important;
  1177. }
  1178. .alert-note {
  1179. color: #fff;
  1180. background-color: #03A9F4; /* Material LightBlue500 */
  1181. border-color: #bce8f1;
  1182. }
  1183. .alert-warning {
  1184. color: #fff;
  1185. background-color: #f44336; /* Material Red500 */
  1186. border-color: #ebccd1;
  1187. }
  1188. /*************************************************
  1189. * Dark themed components
  1190. **************************************************/
  1191. body.dark {
  1192. color: rgb(248, 248, 242);
  1193. }
  1194. .dark h1,
  1195. .dark h2,
  1196. .dark h3,
  1197. .dark h4,
  1198. .dark h5,
  1199. .dark h6 {
  1200. color: rgb(152, 166, 173);
  1201. }
  1202. .dark pre,
  1203. .dark code {
  1204. color: rgb(139, 233, 253);
  1205. background-color: rgb(68, 71, 90);
  1206. }
  1207. .dark pre {
  1208. background-color: rgb(68, 71, 90);
  1209. border-color: rgb(68, 71, 90);
  1210. }
  1211. .dark ul.share li a {
  1212. background-color: {{ .Get "primary" }};
  1213. }
  1214. .dark table table {
  1215. background-color: rgb(40, 42, 54);
  1216. }
  1217. /* Table Striped */
  1218. .dark table > tbody > tr:nth-child(odd) > td,
  1219. .dark table > tbody > tr:nth-child(odd) > th {
  1220. background-color: rgb(50, 52, 64);
  1221. }
  1222. /* Table Hover */
  1223. .dark table > tbody > tr:hover > td,
  1224. .dark table > tbody > tr:hover > th {
  1225. background-color: rgb(60, 62, 74);
  1226. }
  1227. .dark .article-title a {
  1228. color: #fff;
  1229. }
  1230. .dark #profile .portrait-title h2 {
  1231. color: #fff;
  1232. }
  1233. .dark #profile .portrait-title h3 {
  1234. color: rgba(255, 255, 255, 0.54);
  1235. }
  1236. .dark ul.ul-edu li .description p.institution {
  1237. color: rgba(255, 255, 255, 0.6);
  1238. }
  1239. .dark .pub-icon {
  1240. color: rgba(255, 255, 255, 0.54);
  1241. }
  1242. .dark .talk-metadata {
  1243. color: rgba(255, 255, 255, 0.54);
  1244. }
  1245. .dark .pager li > a, .pager li > span {
  1246. background-color: rgb(40, 42, 54);
  1247. border: 1px solid #ddd;
  1248. }
  1249. .dark .card {
  1250. background: rgb(10, 12, 24);
  1251. box-shadow: 0 2px 4px 0 rgba(255, 255, 255, 0.2);
  1252. }
  1253. .dark .card h4 a {
  1254. color: {{ .Get "primary" }};
  1255. border-bottom: solid 1px transparent;
  1256. }
  1257. .dark .card .card-image.hover-overlay::before {
  1258. background: #666;
  1259. }
  1260. .dark .card .card-image.hover-overlay::after {
  1261. color: #fff;
  1262. }
  1263. .dark .navbar-default {
  1264. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1265. border-color: #070707;
  1266. }
  1267. .dark select {
  1268. background: rgb(40, 42, 54);
  1269. color: rgb(248, 248, 242);
  1270. }