academic.css 36 KB

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