academic.css 40 KB

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