academic.css 35 KB

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