academic.css 33 KB

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