academic.css 41 KB

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