academic.css 29 KB

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