academic.css 39 KB

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