academic.css 29 KB

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