academic.css 27 KB

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