academic.css 29 KB

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