academic.css 42 KB

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