academic.css 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001
  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. /* For article page only, not lists. */
  629. article .article-metadata {
  630. margin-bottom: 20px;
  631. line-height: 30px; /* Match share bar line height. */
  632. }
  633. .article-metadata a {
  634. color: rgba(0,0,0,.54);
  635. }
  636. .article-metadata a:hover {
  637. color: {{ .Get "primary" }};
  638. }
  639. .middot-divider {
  640. padding-right: .45em;
  641. padding-left: .45em;
  642. font-size: 15px;
  643. }
  644. .middot-divider::after {
  645. content: '\00B7';
  646. }
  647. .article-style img,
  648. .article-style video {
  649. margin-left: auto;
  650. margin-right: auto;
  651. margin-top: 60px;
  652. margin-bottom: 60px;
  653. padding: 0;
  654. }
  655. .article-style td img,
  656. .article-style td video {
  657. margin-top: 0;
  658. margin-bottom: 0;
  659. }
  660. .article-style figure {
  661. margin-top: 60px;
  662. margin-bottom: 60px;
  663. }
  664. .article-style figure img {
  665. margin-top: 0;
  666. margin-bottom: 0;
  667. }
  668. .article-widget {
  669. padding-top: 1rem;
  670. }
  671. .article-widget h3 {
  672. margin-top: 0;
  673. }
  674. .hr-light {
  675. border-top: 1px solid rgba(0,0,0,.05);
  676. margin-top: 0.5rem;
  677. margin-bottom: 1rem;
  678. }
  679. #comments {
  680. padding-top: 1rem;
  681. }
  682. /*************************************************
  683. * Stream
  684. **************************************************/
  685. .media.stream-item {
  686. margin-bottom: 2rem;
  687. }
  688. .media.stream-item .article-title {
  689. font-size: 1.2rem;
  690. }
  691. .media.stream-item .article-style {
  692. margin-top: 2px;
  693. font-size: 0.8rem;
  694. }
  695. .media.stream-item .stream-meta {
  696. margin-top: 12px;
  697. }
  698. .media.stream-item img {
  699. max-width: 150px;
  700. height: auto;
  701. object-fit: cover;
  702. }
  703. @media screen and (max-width: 768px) {
  704. .media.stream-item img {
  705. max-width: 80px;
  706. }
  707. }
  708. /*************************************************
  709. * Publications
  710. **************************************************/
  711. .pub-icon {
  712. color: rgba(0, 0, 0, 0.54);
  713. font-size: 0.81em;
  714. padding-top: 6px;
  715. }
  716. .pub-banner {
  717. max-width: 100%;
  718. height: auto;
  719. margin-left: auto;
  720. margin-right: auto;
  721. }
  722. .pub .pub-authors {
  723. font-style: italic;
  724. line-height: 30px; /* Match share bar line height. */
  725. }
  726. .pub .pub-row-heading {
  727. font-weight: bold;
  728. }
  729. .pub-list-item .pub-abstract {
  730. font-size: 1rem;
  731. }
  732. .pub-list-item .pub-authors {
  733. line-height: normal;
  734. font-style: normal;
  735. font-size: 0.9rem;
  736. color: rgba(0,0,0,0.54);
  737. }
  738. .pub-list-item .pub-publication {
  739. color: rgba(0,0,0,0.54);
  740. font-size: 0.9rem;
  741. }
  742. .pub-list-item .pub-links {
  743. padding-top: 10px;
  744. }
  745. #container-publications {
  746. display: block;
  747. position: relative;
  748. overflow: hidden;
  749. }
  750. /*************************************************
  751. * Experience
  752. **************************************************/
  753. .exp-title {
  754. text-transform: none !important;
  755. }
  756. .exp-company {
  757. font-weight: normal !important;
  758. text-transform: none !important;
  759. }
  760. .exp-meta {
  761. font-size: 0.8rem;
  762. }
  763. .experience .card-text,
  764. .experience .card-text p {
  765. color: #000 !important;
  766. font-size: 0.75rem !important;
  767. }
  768. .dark .experience .text-muted {
  769. color: rgba(255, 255, 255, 0.8) !important;
  770. }
  771. .dark .experience .card-text,
  772. .dark .experience .card-text p {
  773. color: rgb(248, 248, 242) !important;
  774. }
  775. .card .card-text ul {
  776. margin-top: -1rem;
  777. margin-bottom: 0rem;
  778. }
  779. .experience .m-2 .border,
  780. .experience .col.border-right {
  781. border-color: {{ .Get "primary" }} !important;
  782. }
  783. .experience .m-2 .border.exp-fill {
  784. background-color: {{ .Get "primary" }} !important;
  785. }
  786. /*************************************************
  787. * Talks
  788. **************************************************/
  789. .talk-metadata {
  790. color: #4b4f56;
  791. font-size: 0.8rem;
  792. }
  793. /*************************************************
  794. * Projects
  795. **************************************************/
  796. #projects.home-section li {
  797. margin-bottom: 1rem;
  798. }
  799. #projects.home-section li:last-of-type {
  800. margin-bottom: 0;
  801. }
  802. #projects.home-section .project-title {
  803. margin-bottom: 6px;
  804. }
  805. #projects.home-section .project-summary {
  806. font-size: 0.9rem;
  807. margin-bottom: 0.4rem;
  808. }
  809. #projects.home-section .project-tags {
  810. font-size: 0.75rem;
  811. color: #9c9c9c;
  812. }
  813. .projects-container {
  814. display: block;
  815. position: relative;
  816. /*margin-top: 5rem;*/
  817. overflow: hidden;
  818. }
  819. .project-toolbar{
  820. margin-bottom: 2rem;
  821. }
  822. .project-item {
  823. margin-bottom: 1.5rem;
  824. }
  825. .isotope-item {
  826. z-index: 2;
  827. }
  828. .isotope-item:hover{
  829. z-index: 3;
  830. }
  831. /*************************************************
  832. * Card component
  833. **************************************************/
  834. .card-simple {
  835. background: #fff;
  836. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  837. border: 1px solid rgba(0,0,0,.09);
  838. border-radius: 3px;
  839. margin-top: 20px;
  840. padding: 15px 20px 15px 20px;
  841. }
  842. .card-simple:first-of-type {
  843. margin-top: 0;
  844. }
  845. .card-simple p.read-more {
  846. margin: 0;
  847. }
  848. .dark .card-simple {
  849. background: rgb(40, 42, 54);
  850. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  851. border: 1px solid rgb(68, 71, 90);
  852. }
  853. .card {
  854. margin-bottom: 1.5rem;
  855. overflow: hidden;
  856. text-overflow: ellipsis;
  857. background: #fff;
  858. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  859. transition: all 0.2s ease-out;
  860. }
  861. .card .card-image {
  862. display: block;
  863. position: relative;
  864. min-height: 100px;
  865. }
  866. .card h4 {
  867. font-size: 0.9rem;
  868. font-weight: 700;
  869. line-height: 1.5;
  870. text-transform: uppercase;
  871. }
  872. .card h4 a {
  873. color: #000;
  874. border-bottom: solid 1px transparent;
  875. }
  876. .card h4 a:hover {
  877. color: #000;
  878. border-bottom: solid 1px #000;
  879. text-decoration: none;
  880. }
  881. .card .card-text {
  882. padding: 0.75rem 1rem 0.75rem;
  883. }
  884. .card .card-text p {
  885. color: rgba(0,0,0,0.54);
  886. font-size: 0.75rem;
  887. }
  888. .card p:last-child {
  889. margin-bottom: 0;
  890. }
  891. .card .card-image.hover-overlay:before {
  892. display: block;
  893. position: absolute;
  894. left: 0;
  895. top: 0;
  896. width: 100%;
  897. height: 100%;
  898. background: #fff;
  899. content: " ";
  900. opacity: 0;
  901. transition: all 0.2s ease-out;
  902. }
  903. .card .card-image.hover-overlay:after {
  904. display: block;
  905. position: absolute;
  906. left: 0;
  907. top: 50%;
  908. width: 100%;
  909. transform: translate(0, -50%);
  910. opacity: 0;
  911. transition: all 0.2s ease-out;
  912. font-family: 'Font Awesome 5 Free';
  913. font-weight: 900;
  914. content: '\f0c1';
  915. text-align: center;
  916. font-size: 3rem;
  917. color: #666;
  918. }
  919. .card:hover {
  920. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  921. }
  922. .card:hover .card-image.hover-overlay:before {
  923. opacity: 0.8;
  924. }
  925. .card:hover .card-image.hover-overlay:after {
  926. opacity: 0.6;
  927. }
  928. /*************************************************
  929. * Contact
  930. **************************************************/
  931. #contact.home-section .fa-ul {
  932. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  933. }
  934. #contact.home-section .fa-li {
  935. position: absolute;
  936. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  937. width: 2rem; /* Match `fa-2x` icon size. */
  938. top: 0.14285714em; /* Default FA value. */
  939. text-align: center;
  940. }
  941. #contact.home-section li {
  942. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  943. margin-bottom: 0.3rem;
  944. }
  945. #contact.home-section li:last-of-type {
  946. margin-bottom: 0;
  947. }
  948. #map {
  949. height: 350px;
  950. width: 100%;
  951. }
  952. /*************************************************
  953. * Footer
  954. **************************************************/
  955. footer {
  956. margin: 4rem 0 0;
  957. padding: 2rem 0;
  958. width: 100%;
  959. }
  960. footer p {
  961. font-size: 0.75rem;
  962. text-align: center;
  963. }
  964. .site-footer,
  965. footer a#back_to_top i {
  966. color: rgba(0,0,0,0.54);
  967. }
  968. /**************************************************
  969. * Tags/Labels
  970. **************************************************/
  971. .badge-light {
  972. border: none;
  973. color: rgba(0,0,0,.68);
  974. background: rgba(0,0,0,.05);
  975. font-weight: normal;
  976. border-radius: 3px;
  977. padding: 5px 10px;
  978. margin-right: 8px;
  979. margin-bottom: 8px;
  980. }
  981. .article-tags > .badge-light:last-child {
  982. margin-right: 0;
  983. }
  984. .badge-light[href]:focus,
  985. .badge-light[href]:hover {
  986. background: rgba(0,0,0,.1);
  987. }
  988. a.badge:focus,
  989. a.badge:hover {
  990. color: rgba(0,0,0,.68);
  991. }
  992. /*************************************************
  993. * Button size override
  994. *************************************************/
  995. .btn {
  996. padding: .5rem;
  997. font-size: .8rem;
  998. line-height: .5;
  999. border-radius: .3rem;
  1000. }
  1001. .btn.btn-sm {
  1002. padding: .4rem;
  1003. font-size: .6rem;
  1004. border-radius: .2rem;
  1005. }
  1006. /*************************************************
  1007. * Button Primary: Color override
  1008. **************************************************/
  1009. .btn-primary {
  1010. border-color: {{ .Get "primary" }};
  1011. background: {{ .Get "primary" }};
  1012. }
  1013. .btn-outline-primary {
  1014. border-color: {{ .Get "primary" }};
  1015. color: {{ .Get "primary" }};
  1016. }
  1017. .btn-primary:hover,
  1018. .btn-primary:active,
  1019. .btn-primary.active,
  1020. .btn-primary:visited,
  1021. .open > .dropdown-toggle.btn-primary {
  1022. background: {{ .Get "primary" }};
  1023. }
  1024. .btn-outline-light:hover,
  1025. .btn-outline-light:active,
  1026. .btn-outline-light.active {
  1027. background: rgba(0,0,0,0.4);
  1028. }
  1029. .btn-outline-primary:not(:disabled):not(.disabled).active,
  1030. .btn-outline-primary:not(:disabled):not(.disabled):active,
  1031. .show > .btn-outline-primary.dropdown-toggle {
  1032. color: #fff;
  1033. background-color: {{ .Get "primary" }};
  1034. border-color: {{ .Get "primary" }};
  1035. }
  1036. .btn-outline-primary:hover {
  1037. color: #fff;
  1038. background-color: {{ .Get "primary" }};
  1039. border-color: {{ .Get "primary" }};
  1040. }
  1041. /*************************************************
  1042. * Toolbar Buttons
  1043. **************************************************/
  1044. .btn-toolbar .btn {
  1045. font-size: 0.9rem;
  1046. padding: 10px 14px 9px;
  1047. border: none;
  1048. }
  1049. .btn-toolbar .btn:first-child {
  1050. border-radius: 6px 0 0 6px;
  1051. }
  1052. .btn-toolbar .btn:last-child {
  1053. border-radius: 0 6px 6px 0;
  1054. }
  1055. .btn-toolbar .btn.btn-primary:hover,
  1056. .btn-toolbar .btn.btn-primary:focus {
  1057. background-color: {{ .Get "primary_light" }} !important;
  1058. }
  1059. .btn-toolbar .btn.btn-primary:active,
  1060. .btn-toolbar .btn.btn-primary.active {
  1061. background-color: {{ .Get "primary_dark" }} !important;
  1062. }
  1063. .btn-primary:not(:disabled):not(.disabled).active:focus,
  1064. .btn-primary:not(:disabled):not(.disabled):active:focus,
  1065. .show > .btn-primary.dropdown-toggle:focus {
  1066. box-shadow: 0 0 0 .2rem {{ .Get "primary_light" }};
  1067. }
  1068. /*************************************************
  1069. * Navigation Bar
  1070. **************************************************/
  1071. .navbar {
  1072. min-height: 70px !important;
  1073. }
  1074. .navbar-light {
  1075. background: {{ .Get "menu_primary" }} !important;
  1076. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  1077. }
  1078. .navbar-light .navbar-toggler {
  1079. border-color: transparent;
  1080. }
  1081. .navbar-toggler {
  1082. color: {{ .Get "menu_text" }} !important;
  1083. }
  1084. .navbar-light .navbar-toggler:focus,
  1085. .navbar-light .navbar-toggler:hover {
  1086. background-color: transparent;
  1087. }
  1088. .dropdown-menu,
  1089. nav#navbar-main li.nav-item {
  1090. font-size: {{ .Get "font_size_small" }}px;
  1091. }
  1092. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1093. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1094. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1095. white-space: nowrap;
  1096. -webkit-transition: 0.2s ease;
  1097. transition: 0.2s ease;
  1098. color: {{ .Get "menu_text" }};
  1099. font-weight: 600;
  1100. }
  1101. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1102. color: {{ .Get "menu_text" }};
  1103. background-color: transparent;
  1104. }
  1105. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1106. color: {{ .Get "menu_text_active" }};
  1107. background-color: transparent;
  1108. }
  1109. .navbar-light .navbar-nav>li.nav-item>a.active,
  1110. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1111. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1112. color: {{ .Get "menu_text_active" }};
  1113. font-weight: 700;
  1114. background-color: transparent !important; /* Override Bootstrap. */
  1115. }
  1116. .navbar-brand,
  1117. .navbar-nav li.nav-item a.nav-link {
  1118. height: inherit;
  1119. line-height: 50px;
  1120. padding-top: 10px;
  1121. padding-bottom: 10px;
  1122. }
  1123. .navbar-brand img {
  1124. max-height: 50px;
  1125. }
  1126. .navbar-light .navbar-toggler .icon-bar {
  1127. background-color: {{ .Get "menu_text" }} !important;
  1128. }
  1129. .dropdown-menu {
  1130. background-color: {{ .Get "menu_primary" }} !important;
  1131. }
  1132. .dropdown-menu > li > a {
  1133. display: block;
  1134. padding: 3px 20px;
  1135. clear: both;
  1136. font-weight: 400;
  1137. line-height: 1.42857143;
  1138. color: {{ .Get "menu_text" }};
  1139. white-space: nowrap;
  1140. }
  1141. .dropdown-menu>li>a:focus,
  1142. .dropdown-menu>li>a:hover {
  1143. color: {{ .Get "menu_text_active" }};
  1144. text-decoration: none;
  1145. background-color: {{ .Get "menu_primary" }};
  1146. }
  1147. .dropdown-menu > .active,
  1148. .dropdown-menu > .active:focus,
  1149. .dropdown-menu > .active:hover {
  1150. color: {{ .Get "menu_primary" }};
  1151. text-decoration: none;
  1152. background-color: {{ .Get "menu_text_active" }};
  1153. outline: 0;
  1154. }
  1155. .navbar-light .navbar-nav>.open>a,
  1156. .navbar-light .navbar-nav>.open>a:focus,
  1157. .navbar-light .navbar-nav>.open>a:hover,
  1158. .navbar-light .navbar-nav>.open>a:visited {
  1159. color: {{ .Get "menu_text" }} !important;
  1160. background-color: {{ .Get "menu_primary" }} !important;
  1161. }
  1162. .navbar-light .navbar-brand {
  1163. text-transform: uppercase;
  1164. font-weight: bold;
  1165. font-size: 1.2em;
  1166. color: {{ .Get "menu_title" }};
  1167. }
  1168. .navbar-light .navbar-brand:focus,
  1169. .navbar-light .navbar-brand:hover {
  1170. color: {{ .Get "menu_title" }};
  1171. background-color: transparent;
  1172. }
  1173. @media screen and (max-width: 1200px) {
  1174. .navbar {
  1175. min-height: 50px !important;
  1176. }
  1177. .navbar-brand,
  1178. .navbar-nav li.nav-item a.nav-link {
  1179. height: inherit;
  1180. line-height: 40px;
  1181. padding-top: 5px;
  1182. padding-bottom: 5px;
  1183. }
  1184. .navbar-brand img {
  1185. max-height: 40px;
  1186. }
  1187. .navbar-toggler {
  1188. display: block;
  1189. }
  1190. .fixed-top {
  1191. top: 0;
  1192. border-width: 0 0 1px;
  1193. }
  1194. .navbar-nav > li.nav-item > a.nav-link {
  1195. padding-top: 10px;
  1196. padding-bottom: 10px;
  1197. line-height: normal;
  1198. }
  1199. .dropdown-menu > li > a {
  1200. display: block;
  1201. padding: 3px 20px;
  1202. clear: both;
  1203. font-weight: 400;
  1204. line-height: 1.42857143;
  1205. color: {{ .Get "menu_text" }};
  1206. white-space: nowrap;
  1207. }
  1208. .navbar-light .navbar-nav .open .dropdown-menu {
  1209. position: static;
  1210. width: auto;
  1211. margin-top: 0;
  1212. background-color: transparent;
  1213. border: 0;
  1214. box-shadow: none;
  1215. }
  1216. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1217. padding: 5px 15px 5px 25px;
  1218. line-height: 20px;
  1219. color: {{ .Get "menu_text" }};
  1220. }
  1221. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1222. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1223. color: inherit;
  1224. background-color: transparent;
  1225. }
  1226. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1227. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1228. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1229. color: {{ .Get "menu_text_active" }};
  1230. background-color: transparent;
  1231. }
  1232. .collapse.in {
  1233. display: block !important;
  1234. }
  1235. }
  1236. /*************************************************
  1237. * Tables
  1238. **************************************************/
  1239. table {
  1240. width: 100%;
  1241. max-width: 100%;
  1242. margin-bottom: 1rem;
  1243. font-size: 0.93rem;
  1244. }
  1245. table > thead > tr > th,
  1246. table > tbody > tr > th,
  1247. table > tfoot > tr > th,
  1248. table > thead > tr > td,
  1249. table > tbody > tr > td,
  1250. table > tfoot > tr > td {
  1251. padding: 8px;
  1252. line-height: 1.43;
  1253. vertical-align: top;
  1254. border-top: 1px solid #ddd;
  1255. }
  1256. table > thead > tr > th {
  1257. vertical-align: bottom;
  1258. border-bottom: 2px solid #ddd;
  1259. }
  1260. table > caption + thead > tr:first-child > th,
  1261. table > colgroup + thead > tr:first-child > th,
  1262. table > thead:first-child > tr:first-child > th,
  1263. table > caption + thead > tr:first-child > td,
  1264. table > colgroup + thead > tr:first-child > td,
  1265. table > thead:first-child > tr:first-child > td {
  1266. border-top: 0;
  1267. }
  1268. table > tbody + tbody {
  1269. border-top: 2px solid #ddd;
  1270. }
  1271. table table {
  1272. background-color: #fff;
  1273. }
  1274. /* Table Striped */
  1275. table > tbody > tr:nth-child(odd) > td,
  1276. table > tbody > tr:nth-child(odd) > th {
  1277. background-color: #f9f9f9;
  1278. }
  1279. /* Table Hover */
  1280. table > tbody > tr:hover > td,
  1281. table > tbody > tr:hover > th {
  1282. background-color: #e5e5e5;
  1283. }
  1284. /*************************************************
  1285. * Alerts
  1286. **************************************************/
  1287. div.alert p {
  1288. position: relative;
  1289. display: block;
  1290. font-size: 1rem;
  1291. margin-left: 2rem;
  1292. margin-top: 0;
  1293. margin-bottom: 0;
  1294. }
  1295. div.alert p:first-child::before {
  1296. position: absolute;
  1297. top: -0.5rem;
  1298. left: -2rem;
  1299. font-size: 1.5rem;
  1300. color: #209cee;
  1301. font-family: 'Font Awesome 5 Free';
  1302. font-weight: 900;
  1303. content: '\f05a';
  1304. width: 1.5rem;
  1305. text-align: center;
  1306. }
  1307. div.alert-warning p:first-child::before {
  1308. font-family: 'Font Awesome 5 Free';
  1309. font-weight: 900;
  1310. color: #ff3860;
  1311. content: '\f071';
  1312. }
  1313. div.alert a {
  1314. color: currentColor;
  1315. text-decoration: none;
  1316. border-bottom: solid 1px currentColor;
  1317. }
  1318. .alert-note {
  1319. color: #12537e;
  1320. background-color: #f6fbfe;
  1321. border-color: #209cee;
  1322. }
  1323. .alert-warning {
  1324. color: #cd0930;
  1325. background-color: #fff5f7;
  1326. border-color: #ff3860;
  1327. }
  1328. /*************************************************
  1329. * Documentation layout
  1330. **************************************************/
  1331. .docs-article-container {
  1332. max-width: 760px;
  1333. }
  1334. /* Documentation: article footer. */
  1335. .docs .body-footer {
  1336. border-top: 1px solid #e8e8e8;
  1337. margin-top: 30px;
  1338. padding-top: 10px;
  1339. font-size: 14px;
  1340. color: #707070;
  1341. }
  1342. /* Docs content. */
  1343. .docs-content {
  1344. order: 1;
  1345. position: relative;
  1346. }
  1347. .docs-content>h2[id],
  1348. .docs-content>h3[id],
  1349. .docs-content>h4[id] {
  1350. pointer-events: none;
  1351. }
  1352. .docs-content>ol li,
  1353. .docs-content>ul li {
  1354. margin-bottom: .25rem;
  1355. }
  1356. /* Docs search. */
  1357. .docs-search {
  1358. position: relative;
  1359. padding: 1rem 15px;
  1360. margin-right: -15px;
  1361. margin-left: -15px;
  1362. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1363. }
  1364. .docs-search .form-control:focus {
  1365. border-color: {{ .Get "primary" }};
  1366. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1367. }
  1368. /* Docs sidebar. */
  1369. .docs-sidebar {
  1370. order: 0;
  1371. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1372. }
  1373. @media (min-width:768px) {
  1374. .docs-sidebar {
  1375. border-right: 1px solid rgba(0, 0, 0, .1)
  1376. }
  1377. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1378. .docs-sidebar {
  1379. position: -webkit-sticky;
  1380. position: sticky;
  1381. top: 51px;
  1382. z-index: 1000;
  1383. height: calc(100vh - 51px)
  1384. }
  1385. }
  1386. }
  1387. @media (min-width:1200px) {
  1388. .docs-sidebar {
  1389. border-right: 1px solid rgba(0, 0, 0, .1)
  1390. }
  1391. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1392. .docs-sidebar {
  1393. position: -webkit-sticky;
  1394. position: sticky;
  1395. top: 71px;
  1396. z-index: 1000;
  1397. height: calc(100vh - 71px)
  1398. }
  1399. }
  1400. }
  1401. @media (min-width:1200px) {
  1402. .docs-sidebar {
  1403. flex: 0 1 320px
  1404. }
  1405. }
  1406. /* Docs sidebar li>a. */
  1407. .docs-sidebar .nav>li>a {
  1408. display: block;
  1409. padding: .25rem 1.5rem;
  1410. font-size: 0.8rem;
  1411. color: rgba(0, 0, 0, .65);
  1412. }
  1413. .docs-sidebar .nav>li>a:hover {
  1414. color: rgba(0, 0, 0, .85);
  1415. text-decoration: none;
  1416. background-color: transparent;
  1417. }
  1418. .docs-sidebar .docs-toc-item.active a,
  1419. .docs-sidebar .nav>.active:hover>a,
  1420. .docs-sidebar .nav>.active>a {
  1421. font-weight: bold;
  1422. color: {{ .Get "primary" }};
  1423. background-color: transparent;
  1424. }
  1425. /* Docs links. */
  1426. .docs-toggle {
  1427. line-height: 1;
  1428. font-size: 1.2rem;
  1429. color: {{ .Get "primary" }};
  1430. background-color: transparent;
  1431. }
  1432. .docs-links {
  1433. padding-top: 1rem;
  1434. padding-bottom: 1rem;
  1435. margin-right: -15px;
  1436. margin-left: -15px;
  1437. }
  1438. @media (min-width:768px) {
  1439. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1440. .docs-links {
  1441. max-height: calc(100vh - 5rem - 71px);
  1442. overflow-y: auto;
  1443. }
  1444. }
  1445. }
  1446. @media (min-width:768px) {
  1447. .docs-links {
  1448. display: block!important;
  1449. }
  1450. }
  1451. /* Docs TOC. */
  1452. .docs-toc {
  1453. order: 2;
  1454. padding-top: 1.5rem;
  1455. padding-bottom: 1.5rem;
  1456. font-size: .875rem
  1457. }
  1458. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1459. .docs-toc {
  1460. position: -webkit-sticky;
  1461. position: sticky;
  1462. top: 71px;
  1463. height: calc(100vh - 71px);
  1464. overflow-y: auto
  1465. }
  1466. }
  1467. /* Docs TOC item links. */
  1468. .docs-toc-link {
  1469. display: block;
  1470. padding: .25rem 1.5rem;
  1471. font-weight: bold;
  1472. color: rgba(0, 0, 0, .65);
  1473. }
  1474. .docs-toc-link:hover {
  1475. color: rgba(0, 0, 0, .85);
  1476. text-decoration: none;
  1477. }
  1478. .docs-toc-item.active {
  1479. margin-bottom: 1rem;
  1480. }
  1481. .docs-toc-item.active:not(:first-child) {
  1482. margin-top: 1rem;
  1483. }
  1484. .docs-toc-item.active>.docs-toc-link {
  1485. color: rgba(0, 0, 0, .85);
  1486. }
  1487. .docs-toc-item.active>.docs-toc-link:hover {
  1488. background-color: transparent;
  1489. }
  1490. .docs-sidenav {
  1491. display: block;
  1492. }
  1493. /* Docs TOC nav. */
  1494. .docs-toc-title {
  1495. color: #b5b5b5;
  1496. font-size: .875rem;
  1497. font-weight: 600;
  1498. padding-left: calc(1.5rem + 1px);
  1499. margin-bottom: .5rem;
  1500. }
  1501. #TableOfContents {
  1502. padding-left: 0;
  1503. border-left: 1px solid #eee;
  1504. }
  1505. #TableOfContents ul,
  1506. ul.toc-top {
  1507. padding-left: 0;
  1508. }
  1509. #TableOfContents ul ul {
  1510. display: none;
  1511. }
  1512. #TableOfContents li {
  1513. display: block;
  1514. }
  1515. #TableOfContents li a,
  1516. .toc-top li a {
  1517. display: block;
  1518. padding: .125rem 1.5rem;
  1519. color: #99979c;
  1520. font-size: 0.7rem;
  1521. }
  1522. #TableOfContents li a:hover,
  1523. .toc-top li a:hover {
  1524. color: {{ .Get "primary" }};
  1525. text-decoration: none;
  1526. }
  1527. /* Docs achnorjs links. */
  1528. .anchorjs-link {
  1529. font-weight: 400;
  1530. color: {{ .Get "primary_dark" }};
  1531. transition: color .16s linear;
  1532. }
  1533. .anchorjs-link:hover {
  1534. color: {{ .Get "primary" }};
  1535. text-decoration: none;
  1536. }
  1537. /*************************************************
  1538. * Dark themed components
  1539. **************************************************/
  1540. body.dark,
  1541. .dark .docs-toc-link,
  1542. .dark .docs-sidebar .nav > li:not(.active) > a,
  1543. .dark .modal button.close,
  1544. .dark input,
  1545. .dark .form-control:focus {
  1546. color: rgb(248, 248, 242);
  1547. }
  1548. .dark .form-control:focus {
  1549. background-color: rgb(68, 71, 90);
  1550. border-color: {{ .Get "primary" }};
  1551. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1552. }
  1553. .dark h1,
  1554. .dark h2,
  1555. .dark h3,
  1556. .dark h4,
  1557. .dark h5,
  1558. .dark h6 {
  1559. color: rgb(152, 166, 173);
  1560. }
  1561. .dark pre,
  1562. .dark code {
  1563. color: rgb(139, 233, 253);
  1564. background-color: rgb(68, 71, 90);
  1565. }
  1566. .dark pre {
  1567. background-color: rgb(68, 71, 90);
  1568. border-color: rgb(68, 71, 90);
  1569. }
  1570. .dark .markup-quote {
  1571. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1572. }
  1573. .dark #MathJax_Zoom {
  1574. background-color: rgb(68, 71, 90) !important;
  1575. }
  1576. .dark ul.share li a {
  1577. background-color: {{ .Get "primary" }};
  1578. }
  1579. .dark table table {
  1580. background-color: rgb(40, 42, 54);
  1581. }
  1582. /* Table Striped */
  1583. .dark table > tbody > tr:nth-child(odd) > td,
  1584. .dark table > tbody > tr:nth-child(odd) > th {
  1585. background-color: rgb(50, 52, 64);
  1586. }
  1587. /* Table Hover */
  1588. .dark table > tbody > tr:hover > td,
  1589. .dark table > tbody > tr:hover > th {
  1590. background-color: rgb(60, 62, 74);
  1591. }
  1592. .dark .article-title a {
  1593. color: #fff;
  1594. }
  1595. .dark #profile .portrait-title h2 {
  1596. color: #fff;
  1597. }
  1598. .dark #profile .portrait-title h3 {
  1599. color: rgba(255, 255, 255, 0.54);
  1600. }
  1601. .dark ul.ul-edu li .description p.institution {
  1602. color: rgba(255, 255, 255, 0.6);
  1603. }
  1604. .dark .pub-icon {
  1605. color: rgba(255, 255, 255, 0.54);
  1606. }
  1607. .dark .talk-metadata {
  1608. color: rgba(255, 255, 255, 0.54);
  1609. }
  1610. .dark .pagination li > a, .pagination li > span {
  1611. background-color: rgb(40, 42, 54);
  1612. border: 1px solid #ddd;
  1613. }
  1614. .dark .card {
  1615. background: #343a40;
  1616. }
  1617. .dark .card h4 a {
  1618. color: {{ .Get "primary" }};
  1619. border-bottom: solid 1px transparent;
  1620. }
  1621. .dark .card .card-image.hover-overlay::before {
  1622. background: #666;
  1623. }
  1624. .dark .card .card-image.hover-overlay::after {
  1625. color: #fff;
  1626. }
  1627. .dark .navbar-light {
  1628. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1629. border-color: #070707;
  1630. }
  1631. .dark select {
  1632. background: rgb(40, 42, 54);
  1633. color: rgb(248, 248, 242);
  1634. }
  1635. /* Algolia search input */
  1636. .dark .ais-search-box--input {
  1637. background-color: rgb(68, 71, 90);
  1638. }
  1639. .dark #search-query {
  1640. background-color: rgb(68, 71, 90);
  1641. }
  1642. .dark .badge-light {
  1643. color: rgba(255, 255, 255, .68);
  1644. background: rgba(255, 255, 255, .2);
  1645. }
  1646. .dark .badge-light[href]:focus,
  1647. .dark .badge-light[href]:hover {
  1648. background: rgba(255, 255, 255, .3);
  1649. }
  1650. .dark a.badge:focus,
  1651. .dark a.badge:hover {
  1652. color: rgba(255, 255, 255, .68);
  1653. }