academic.css 40 KB

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