academic.css 40 KB

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