academic.css 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268
  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. * Accomplishments
  1007. **************************************************/
  1008. .course {
  1009. margin-bottom: -0.5rem;
  1010. }
  1011. .course h6 {
  1012. font-size: 0.80rem;
  1013. font-weight: 700;
  1014. line-height: 1.5;
  1015. text-transform: uppercase;
  1016. }
  1017. .course h6 a {
  1018. border-bottom: solid 1px transparent;
  1019. }
  1020. .course h6 a:hover {
  1021. border-bottom: solid 1px;
  1022. text-decoration: none;
  1023. }
  1024. /*************************************************
  1025. * Card component
  1026. **************************************************/
  1027. .card-simple {
  1028. background: #fff;
  1029. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1030. border: 1px solid rgba(0,0,0,.09);
  1031. border-radius: 3px;
  1032. margin-top: 20px;
  1033. padding: 15px 20px 15px 20px;
  1034. }
  1035. .card-simple:first-of-type {
  1036. margin-top: 0;
  1037. }
  1038. .card-simple p.read-more {
  1039. margin: 0;
  1040. }
  1041. .dark .card-simple {
  1042. background: rgb(40, 42, 54);
  1043. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1044. border: 1px solid rgb(68, 71, 90);
  1045. }
  1046. .card {
  1047. margin-bottom: 1.5rem;
  1048. overflow: hidden;
  1049. text-overflow: ellipsis;
  1050. background: #fff;
  1051. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  1052. transition: all 0.2s ease-out;
  1053. }
  1054. .card .card-image {
  1055. display: block;
  1056. position: relative;
  1057. min-height: 100px;
  1058. }
  1059. .card h4 {
  1060. font-size: 0.9rem;
  1061. font-weight: 700;
  1062. line-height: 1.5;
  1063. text-transform: uppercase;
  1064. }
  1065. .card h4 a {
  1066. color: #000;
  1067. border-bottom: solid 1px transparent;
  1068. }
  1069. .card h4 a:hover {
  1070. color: #000;
  1071. border-bottom: solid 1px #000;
  1072. text-decoration: none;
  1073. }
  1074. .card .card-text {
  1075. padding: 0.75rem 1rem 0.75rem;
  1076. }
  1077. .card .card-text p {
  1078. color: rgba(0,0,0,0.54);
  1079. font-size: 0.75rem;
  1080. }
  1081. .dark .card-text p {
  1082. color: rgb(248, 248, 242);
  1083. }
  1084. .card p:last-child {
  1085. margin-bottom: 0;
  1086. }
  1087. .card .card-image.hover-overlay:before {
  1088. display: block;
  1089. position: absolute;
  1090. left: 0;
  1091. top: 0;
  1092. width: 100%;
  1093. height: 100%;
  1094. background: #fff;
  1095. content: " ";
  1096. opacity: 0;
  1097. transition: all 0.2s ease-out;
  1098. }
  1099. .card .card-image.hover-overlay:after {
  1100. display: block;
  1101. position: absolute;
  1102. left: 0;
  1103. top: 50%;
  1104. width: 100%;
  1105. transform: translate(0, -50%);
  1106. opacity: 0;
  1107. transition: all 0.2s ease-out;
  1108. font-family: 'Font Awesome 5 Free';
  1109. font-weight: 900;
  1110. content: '\f0c1';
  1111. text-align: center;
  1112. font-size: 3rem;
  1113. color: #666;
  1114. }
  1115. .card:hover {
  1116. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  1117. }
  1118. .card:hover .card-image.hover-overlay:before {
  1119. opacity: 0.8;
  1120. }
  1121. .card:hover .card-image.hover-overlay:after {
  1122. opacity: 0.6;
  1123. }
  1124. /*************************************************
  1125. * Contact
  1126. **************************************************/
  1127. .contact-widget .fa-ul {
  1128. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  1129. }
  1130. .contact-widget .fa-li {
  1131. position: absolute;
  1132. left: -3.14285714rem; /* Negative of `.contact-widget .fa-ul` margin. */
  1133. width: 2rem; /* Match `fa-2x` icon size. */
  1134. top: 0.14285714em; /* Default FA value. */
  1135. text-align: center;
  1136. }
  1137. .contact-widget li {
  1138. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  1139. margin-bottom: 0.3rem;
  1140. }
  1141. .contact-widget li:last-of-type {
  1142. margin-bottom: 0;
  1143. }
  1144. #map {
  1145. height: 350px;
  1146. width: 100%;
  1147. }
  1148. /*************************************************
  1149. * Footer
  1150. **************************************************/
  1151. footer {
  1152. margin: 4rem 0 0;
  1153. padding: 2rem 0;
  1154. width: 100%;
  1155. }
  1156. footer p {
  1157. font-size: 0.75rem;
  1158. text-align: center;
  1159. }
  1160. .site-footer,
  1161. footer a#back_to_top i {
  1162. color: rgba(0,0,0,0.54);
  1163. }
  1164. .dark .site-footer,
  1165. .dark footer a#back_to_top i,
  1166. .dark .docs .body-footer {
  1167. color: rgba(255,255,255,0.54);
  1168. }
  1169. /**************************************************
  1170. * Tags/Labels
  1171. **************************************************/
  1172. .badge-light {
  1173. border: none;
  1174. color: rgba(0,0,0,.68);
  1175. background: rgba(0,0,0,.05);
  1176. font-weight: normal;
  1177. border-radius: 3px;
  1178. padding: 5px 10px;
  1179. margin-right: 8px;
  1180. margin-bottom: 8px;
  1181. }
  1182. .article-tags > .badge-light:last-child {
  1183. margin-right: 0;
  1184. }
  1185. .badge-light[href]:focus,
  1186. .badge-light[href]:hover {
  1187. background: rgba(0,0,0,.1);
  1188. }
  1189. a.badge:focus,
  1190. a.badge:hover {
  1191. color: rgba(0,0,0,.68);
  1192. }
  1193. /*************************************************
  1194. * Button size override
  1195. *************************************************/
  1196. .btn {
  1197. padding: .5rem;
  1198. font-size: .8rem;
  1199. line-height: .5;
  1200. border-radius: .3rem;
  1201. }
  1202. .btn.btn-sm {
  1203. padding: .4rem;
  1204. font-size: .6rem;
  1205. border-radius: .2rem;
  1206. }
  1207. /*************************************************
  1208. * Button Primary: Color override
  1209. **************************************************/
  1210. .btn-primary {
  1211. border-color: {{ .Get "primary" }};
  1212. background: {{ .Get "primary" }};
  1213. }
  1214. .btn-outline-primary {
  1215. border-color: {{ .Get "primary" }};
  1216. color: {{ .Get "primary" }};
  1217. }
  1218. .btn-primary:hover,
  1219. .btn-primary:active,
  1220. .btn-primary.active,
  1221. .btn-primary:visited,
  1222. .open > .dropdown-toggle.btn-primary {
  1223. background: {{ .Get "primary" }};
  1224. }
  1225. .btn-outline-light:hover,
  1226. .btn-outline-light:active,
  1227. .btn-outline-light.active {
  1228. background: rgba(0,0,0,0.4);
  1229. }
  1230. .btn-outline-primary:not(:disabled):not(.disabled).active,
  1231. .btn-outline-primary:not(:disabled):not(.disabled):active,
  1232. .show > .btn-outline-primary.dropdown-toggle {
  1233. color: #fff;
  1234. background-color: {{ .Get "primary" }};
  1235. border-color: {{ .Get "primary" }};
  1236. }
  1237. .dark .btn-outline-primary:not(:disabled):not(.disabled).active,
  1238. .dark .btn-outline-primary:not(:disabled):not(.disabled):active,
  1239. .dark .show > .btn-outline-primary.dropdown-toggle {
  1240. color: rgb(68, 71, 90);
  1241. }
  1242. .btn-outline-primary:hover {
  1243. color: #fff;
  1244. background-color: {{ .Get "primary" }};
  1245. border-color: {{ .Get "primary" }};
  1246. }
  1247. .dark .btn-outline-primary:hover {
  1248. color: rgb(68, 71, 90);
  1249. }
  1250. /*************************************************
  1251. * Toolbar Buttons
  1252. **************************************************/
  1253. .btn-toolbar .btn {
  1254. font-size: 0.9rem;
  1255. padding: 10px 14px 9px;
  1256. border: none;
  1257. }
  1258. .btn-toolbar .btn:first-child {
  1259. border-radius: 6px 0 0 6px;
  1260. }
  1261. .btn-toolbar .btn:last-child {
  1262. border-radius: 0 6px 6px 0;
  1263. }
  1264. .btn-toolbar .btn.btn-primary:hover,
  1265. .btn-toolbar .btn.btn-primary:focus {
  1266. background-color: {{ .Get "primary_light" }} !important;
  1267. }
  1268. .btn-toolbar .btn.btn-primary:active,
  1269. .btn-toolbar .btn.btn-primary.active {
  1270. background-color: {{ .Get "primary_dark" }} !important;
  1271. }
  1272. .btn-primary:not(:disabled):not(.disabled).active:focus,
  1273. .btn-primary:not(:disabled):not(.disabled):active:focus,
  1274. .show > .btn-primary.dropdown-toggle:focus {
  1275. box-shadow: 0 0 0 .2rem {{ .Get "primary_light" }};
  1276. }
  1277. /*************************************************
  1278. * Navigation Bar
  1279. **************************************************/
  1280. .navbar {
  1281. min-height: 70px !important;
  1282. }
  1283. .navbar-light {
  1284. background: {{ .Get "menu_primary" }} !important;
  1285. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  1286. }
  1287. .navbar-light .navbar-toggler {
  1288. border-color: transparent;
  1289. }
  1290. .navbar-toggler {
  1291. color: {{ .Get "menu_text" }} !important;
  1292. }
  1293. .navbar-light .navbar-toggler:focus,
  1294. .navbar-light .navbar-toggler:hover {
  1295. background-color: transparent;
  1296. }
  1297. .dropdown-menu,
  1298. nav#navbar-main li.nav-item {
  1299. font-size: {{ .Get "font_size_small" }}px;
  1300. }
  1301. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1302. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1303. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1304. white-space: nowrap;
  1305. -webkit-transition: 0.2s ease;
  1306. transition: 0.2s ease;
  1307. color: {{ .Get "menu_text" }};
  1308. font-weight: 600;
  1309. }
  1310. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1311. color: {{ .Get "menu_text" }};
  1312. background-color: transparent;
  1313. }
  1314. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1315. color: {{ .Get "menu_text_active" }};
  1316. background-color: transparent;
  1317. }
  1318. .navbar-light .navbar-nav>li.nav-item>a.active,
  1319. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1320. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1321. color: {{ .Get "menu_text_active" }};
  1322. font-weight: 700;
  1323. background-color: transparent !important; /* Override Bootstrap. */
  1324. }
  1325. .navbar-brand,
  1326. .navbar-nav li.nav-item a.nav-link {
  1327. height: inherit;
  1328. line-height: 50px;
  1329. padding-top: 10px;
  1330. padding-bottom: 10px;
  1331. }
  1332. .navbar-brand img {
  1333. max-height: 50px;
  1334. }
  1335. .navbar-light .navbar-toggler .icon-bar {
  1336. background-color: {{ .Get "menu_text" }} !important;
  1337. }
  1338. .dropdown-menu {
  1339. background-color: {{ .Get "menu_primary" }} !important;
  1340. }
  1341. .dropdown-menu > li > a {
  1342. display: block;
  1343. padding: 3px 20px;
  1344. clear: both;
  1345. font-weight: 400;
  1346. line-height: 1.42857143;
  1347. color: {{ .Get "menu_text" }};
  1348. white-space: nowrap;
  1349. }
  1350. .dropdown-menu>li>a:focus,
  1351. .dropdown-menu>li>a:hover {
  1352. color: {{ .Get "menu_text_active" }};
  1353. text-decoration: none;
  1354. background-color: {{ .Get "menu_primary" }};
  1355. }
  1356. .dropdown-menu > .active,
  1357. .dropdown-menu > .active:focus,
  1358. .dropdown-menu > .active:hover {
  1359. color: {{ .Get "menu_primary" }};
  1360. text-decoration: none;
  1361. background-color: {{ .Get "menu_text_active" }};
  1362. outline: 0;
  1363. }
  1364. .navbar-light .navbar-nav>.open>a,
  1365. .navbar-light .navbar-nav>.open>a:focus,
  1366. .navbar-light .navbar-nav>.open>a:hover,
  1367. .navbar-light .navbar-nav>.open>a:visited {
  1368. color: {{ .Get "menu_text" }} !important;
  1369. background-color: {{ .Get "menu_primary" }} !important;
  1370. }
  1371. .navbar-light .navbar-brand {
  1372. font-weight: bold;
  1373. font-size: 1.2em;
  1374. color: {{ .Get "menu_title" }};
  1375. }
  1376. .navbar-light .navbar-brand:focus,
  1377. .navbar-light .navbar-brand:hover {
  1378. color: {{ .Get "menu_title" }};
  1379. background-color: transparent;
  1380. }
  1381. @media screen and (max-width: 1200px) {
  1382. .navbar {
  1383. min-height: 50px !important;
  1384. }
  1385. .navbar-brand,
  1386. .navbar-nav li.nav-item a.nav-link {
  1387. height: inherit;
  1388. line-height: 40px;
  1389. padding-top: 5px;
  1390. padding-bottom: 5px;
  1391. }
  1392. .navbar-brand img {
  1393. max-height: 40px;
  1394. }
  1395. .navbar-toggler {
  1396. display: block;
  1397. }
  1398. .fixed-top {
  1399. top: 0;
  1400. border-width: 0 0 1px;
  1401. }
  1402. .navbar-nav > li.nav-item > a.nav-link {
  1403. padding-top: 10px;
  1404. padding-bottom: 10px;
  1405. line-height: normal;
  1406. }
  1407. .dropdown-menu > li > a {
  1408. display: block;
  1409. padding: 3px 20px;
  1410. clear: both;
  1411. font-weight: 400;
  1412. line-height: 1.42857143;
  1413. color: {{ .Get "menu_text" }};
  1414. white-space: nowrap;
  1415. }
  1416. .navbar-light .navbar-nav .open .dropdown-menu {
  1417. position: static;
  1418. width: auto;
  1419. margin-top: 0;
  1420. background-color: transparent;
  1421. border: 0;
  1422. box-shadow: none;
  1423. }
  1424. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1425. padding: 5px 15px 5px 25px;
  1426. line-height: 20px;
  1427. color: {{ .Get "menu_text" }};
  1428. }
  1429. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1430. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1431. color: inherit;
  1432. background-color: transparent;
  1433. }
  1434. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1435. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1436. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1437. color: {{ .Get "menu_text_active" }};
  1438. background-color: transparent;
  1439. }
  1440. .collapse.in {
  1441. display: block !important;
  1442. }
  1443. }
  1444. /*************************************************
  1445. * Tables
  1446. **************************************************/
  1447. table {
  1448. width: 100%;
  1449. max-width: 100%;
  1450. margin-bottom: 1rem;
  1451. font-size: 0.93rem;
  1452. }
  1453. table > thead > tr > th,
  1454. table > tbody > tr > th,
  1455. table > tfoot > tr > th,
  1456. table > thead > tr > td,
  1457. table > tbody > tr > td,
  1458. table > tfoot > tr > td {
  1459. padding: 8px;
  1460. line-height: 1.43;
  1461. vertical-align: top;
  1462. border-top: 1px solid #ddd;
  1463. }
  1464. table > thead > tr > th {
  1465. vertical-align: bottom;
  1466. border-bottom: 2px solid #ddd;
  1467. }
  1468. table > caption + thead > tr:first-child > th,
  1469. table > colgroup + thead > tr:first-child > th,
  1470. table > thead:first-child > tr:first-child > th,
  1471. table > caption + thead > tr:first-child > td,
  1472. table > colgroup + thead > tr:first-child > td,
  1473. table > thead:first-child > tr:first-child > td {
  1474. border-top: 0;
  1475. }
  1476. table > tbody + tbody {
  1477. border-top: 2px solid #ddd;
  1478. }
  1479. table table {
  1480. background-color: #fff;
  1481. }
  1482. /* Table Striped */
  1483. table > tbody > tr:nth-child(odd) > td,
  1484. table > tbody > tr:nth-child(odd) > th {
  1485. background-color: #f9f9f9;
  1486. }
  1487. /* Table Hover */
  1488. table > tbody > tr:hover > td,
  1489. table > tbody > tr:hover > th {
  1490. background-color: #e5e5e5;
  1491. }
  1492. /*************************************************
  1493. * Alerts
  1494. **************************************************/
  1495. div.alert p {
  1496. position: relative;
  1497. display: block;
  1498. font-size: 1rem;
  1499. margin-left: 2rem;
  1500. margin-top: 0;
  1501. margin-bottom: 0;
  1502. }
  1503. div.alert p:first-child::before {
  1504. position: absolute;
  1505. top: -0.5rem;
  1506. left: -2rem;
  1507. font-size: 1.5rem;
  1508. color: #209cee;
  1509. font-family: 'Font Awesome 5 Free';
  1510. font-weight: 900;
  1511. content: '\f05a';
  1512. width: 1.5rem;
  1513. text-align: center;
  1514. }
  1515. div.alert-warning p:first-child::before {
  1516. font-family: 'Font Awesome 5 Free';
  1517. font-weight: 900;
  1518. color: #ff3860;
  1519. content: '\f071';
  1520. }
  1521. div.alert a {
  1522. color: currentColor;
  1523. text-decoration: none;
  1524. border-bottom: solid 1px currentColor;
  1525. }
  1526. .alert-note {
  1527. color: #12537e;
  1528. background-color: #f6fbfe;
  1529. border-color: #209cee;
  1530. }
  1531. .alert-warning {
  1532. color: #cd0930;
  1533. background-color: #fff5f7;
  1534. border-color: #ff3860;
  1535. }
  1536. /*************************************************
  1537. * Documentation layout
  1538. **************************************************/
  1539. .docs-article-container {
  1540. max-width: 760px;
  1541. }
  1542. /* Documentation: article footer. */
  1543. .docs .body-footer {
  1544. border-top: 1px solid #e8e8e8;
  1545. margin-top: 30px;
  1546. padding-top: 10px;
  1547. font-size: 14px;
  1548. color: #707070;
  1549. }
  1550. /* Docs content. */
  1551. .docs-content {
  1552. order: 1;
  1553. position: relative;
  1554. }
  1555. .docs-content>h2[id],
  1556. .docs-content>h3[id],
  1557. .docs-content>h4[id] {
  1558. pointer-events: none;
  1559. }
  1560. .docs-content>ol li,
  1561. .docs-content>ul li {
  1562. margin-bottom: .25rem;
  1563. }
  1564. /* Docs search. */
  1565. .docs-search {
  1566. position: relative;
  1567. padding: 1rem 15px;
  1568. margin-right: -15px;
  1569. margin-left: -15px;
  1570. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1571. }
  1572. .docs-search .form-control:focus {
  1573. border-color: {{ .Get "primary" }};
  1574. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1575. }
  1576. /* Docs sidebar. */
  1577. .docs-sidebar {
  1578. order: 0;
  1579. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1580. }
  1581. @media (min-width:768px) {
  1582. .docs-sidebar {
  1583. border-right: 1px solid rgba(0, 0, 0, .1)
  1584. }
  1585. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1586. .docs-sidebar {
  1587. position: -webkit-sticky;
  1588. position: sticky;
  1589. top: 50px;
  1590. z-index: 10;
  1591. height: calc(100vh - 50px)
  1592. }
  1593. }
  1594. }
  1595. @media (min-width:1200px) {
  1596. .docs-sidebar {
  1597. border-right: 1px solid rgba(0, 0, 0, .1)
  1598. }
  1599. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1600. .docs-sidebar {
  1601. position: -webkit-sticky;
  1602. position: sticky;
  1603. top: 70px;
  1604. z-index: 10;
  1605. height: calc(100vh - 70px)
  1606. }
  1607. }
  1608. }
  1609. @media (min-width:1200px) {
  1610. .docs-sidebar {
  1611. flex: 0 1 320px
  1612. }
  1613. }
  1614. /* Docs sidebar li>a. */
  1615. .docs-sidebar .nav>li>a {
  1616. display: block;
  1617. padding: .25rem 1.5rem;
  1618. font-size: 0.8rem;
  1619. color: rgba(0, 0, 0, .65);
  1620. }
  1621. .docs-sidebar .nav>li>a:hover {
  1622. color: rgba(0, 0, 0, .85);
  1623. text-decoration: none;
  1624. background-color: transparent;
  1625. }
  1626. .docs-sidebar .docs-toc-item.active a,
  1627. .docs-sidebar .nav>.active:hover>a,
  1628. .docs-sidebar .nav>.active>a {
  1629. font-weight: bold;
  1630. color: {{ .Get "primary" }};
  1631. background-color: transparent;
  1632. }
  1633. /* Docs links. */
  1634. .docs-toggle {
  1635. line-height: 1;
  1636. font-size: 1.2rem;
  1637. color: {{ .Get "primary" }};
  1638. background-color: transparent;
  1639. }
  1640. .docs-links {
  1641. padding-top: 1rem;
  1642. padding-bottom: 1rem;
  1643. margin-right: -15px;
  1644. margin-left: -15px;
  1645. }
  1646. @media (min-width:768px) {
  1647. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1648. .docs-links {
  1649. max-height: calc(100vh - 5rem - 70px);
  1650. overflow-y: auto;
  1651. }
  1652. }
  1653. }
  1654. @media (min-width:768px) {
  1655. .docs-links {
  1656. display: block!important;
  1657. }
  1658. }
  1659. /* Docs TOC. */
  1660. .docs-toc {
  1661. order: 2;
  1662. padding-top: 1.5rem;
  1663. padding-bottom: 1.5rem;
  1664. font-size: .875rem
  1665. }
  1666. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1667. .docs-toc {
  1668. position: -webkit-sticky;
  1669. position: sticky;
  1670. top: 70px;
  1671. height: calc(100vh - 70px);
  1672. overflow-y: auto
  1673. }
  1674. }
  1675. /* Docs TOC item links. */
  1676. .docs-toc-link {
  1677. display: block;
  1678. padding: .25rem 1.5rem;
  1679. font-weight: bold;
  1680. color: rgba(0, 0, 0, .65);
  1681. }
  1682. .docs-toc-link:hover {
  1683. color: rgba(0, 0, 0, .85);
  1684. text-decoration: none;
  1685. }
  1686. .docs-toc-item.active {
  1687. margin-bottom: 1rem;
  1688. }
  1689. .docs-toc-item.active:not(:first-child) {
  1690. margin-top: 1rem;
  1691. }
  1692. .docs-toc-item.active>.docs-toc-link {
  1693. color: rgba(0, 0, 0, .85);
  1694. }
  1695. .docs-toc-item.active>.docs-toc-link:hover {
  1696. background-color: transparent;
  1697. }
  1698. .docs-sidenav {
  1699. display: block;
  1700. }
  1701. /* Docs TOC nav. */
  1702. .docs-toc-title {
  1703. color: #b5b5b5;
  1704. font-size: .875rem;
  1705. font-weight: 600;
  1706. padding-left: calc(1.5rem + 1px);
  1707. margin-bottom: .5rem;
  1708. }
  1709. #TableOfContents {
  1710. padding-left: 0;
  1711. border-left: 1px solid #eee;
  1712. }
  1713. #TableOfContents ul,
  1714. ul.toc-top {
  1715. padding-left: 0;
  1716. }
  1717. #TableOfContents ul ul {
  1718. display: none;
  1719. }
  1720. #TableOfContents li {
  1721. display: block;
  1722. }
  1723. #TableOfContents li a,
  1724. .toc-top li a {
  1725. display: block;
  1726. padding: .125rem 1.5rem;
  1727. color: #99979c;
  1728. font-size: 0.7rem;
  1729. }
  1730. #TableOfContents li a:hover,
  1731. .toc-top li a:hover {
  1732. color: {{ .Get "primary" }};
  1733. text-decoration: none;
  1734. }
  1735. /* Docs achnorjs links. */
  1736. .anchorjs-link {
  1737. font-weight: 400;
  1738. color: {{ .Get "primary_dark" }};
  1739. transition: color .16s linear;
  1740. }
  1741. .anchorjs-link:hover {
  1742. color: {{ .Get "primary" }};
  1743. text-decoration: none;
  1744. }
  1745. /*************************************************
  1746. * Dark themed components
  1747. **************************************************/
  1748. body.dark,
  1749. .dark .docs-toc-link,
  1750. .dark .docs-sidebar .nav > li:not(.active) > a,
  1751. .dark .modal button.close,
  1752. .dark input,
  1753. .dark .form-control,
  1754. .dark .form-control:focus {
  1755. color: rgb(248, 248, 242);
  1756. background: {{ .Get "dark_background" }};
  1757. }
  1758. .dark .form-control {
  1759. background-color: rgb(68, 71, 90);
  1760. }
  1761. .dark .form-control:focus {
  1762. background-color: rgb(68, 71, 90);
  1763. border-color: {{ .Get "primary" }};
  1764. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1765. }
  1766. .dark h1,
  1767. .dark h2,
  1768. .dark h3,
  1769. .dark h4,
  1770. .dark h5,
  1771. .dark h6 {
  1772. color: rgb(152, 166, 173);
  1773. }
  1774. .dark pre,
  1775. .dark code {
  1776. color: rgb(139, 233, 253);
  1777. background-color: rgb(68, 71, 90);
  1778. }
  1779. .dark pre {
  1780. background-color: rgb(68, 71, 90);
  1781. border-color: rgb(68, 71, 90);
  1782. }
  1783. .dark .markup-quote {
  1784. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1785. }
  1786. .dark #MathJax_Zoom {
  1787. background-color: rgb(68, 71, 90) !important;
  1788. }
  1789. .dark ul.share li a {
  1790. background-color: {{ .Get "primary" }};
  1791. }
  1792. .dark table table {
  1793. background-color: rgb(40, 42, 54);
  1794. }
  1795. /* Table Striped */
  1796. .dark table > tbody > tr:nth-child(odd) > td,
  1797. .dark table > tbody > tr:nth-child(odd) > th {
  1798. background-color: rgb(50, 52, 64);
  1799. }
  1800. /* Table Hover */
  1801. .dark table > tbody > tr:hover > td,
  1802. .dark table > tbody > tr:hover > th {
  1803. background-color: rgb(60, 62, 74);
  1804. }
  1805. .dark .article-title a {
  1806. color: #fff;
  1807. }
  1808. .dark #profile .portrait-title h2 {
  1809. color: #fff;
  1810. }
  1811. .dark #profile .portrait-title h3 {
  1812. color: rgba(255, 255, 255, 0.54);
  1813. }
  1814. .dark ul.ul-edu li .description p.institution {
  1815. color: rgba(255, 255, 255, 0.6);
  1816. }
  1817. .dark .pub-icon {
  1818. color: rgba(255, 255, 255, 0.54);
  1819. }
  1820. .dark .talk-metadata {
  1821. color: rgba(255, 255, 255, 0.54);
  1822. }
  1823. .dark .pagination li > a, .pagination li > span {
  1824. background-color: rgb(40, 42, 54);
  1825. border: 1px solid #ddd;
  1826. }
  1827. .dark .card {
  1828. background: #343a40;
  1829. }
  1830. .dark .card h4 a {
  1831. color: {{ .Get "primary" }};
  1832. border-bottom: solid 1px transparent;
  1833. }
  1834. .dark .card .card-image.hover-overlay::before {
  1835. background: #666;
  1836. }
  1837. .dark .card .card-image.hover-overlay::after {
  1838. color: #fff;
  1839. }
  1840. .dark .navbar-light {
  1841. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1842. border-color: #070707;
  1843. }
  1844. .dark select {
  1845. background: rgb(40, 42, 54);
  1846. color: rgb(248, 248, 242);
  1847. }
  1848. /* Algolia search input */
  1849. .dark .ais-search-box--input {
  1850. background-color: rgb(68, 71, 90);
  1851. }
  1852. .dark #search-query {
  1853. background-color: rgb(68, 71, 90);
  1854. }
  1855. .dark .badge-light {
  1856. color: rgba(255, 255, 255, .68);
  1857. background: rgba(255, 255, 255, .2);
  1858. }
  1859. .dark .badge-light[href]:focus,
  1860. .dark .badge-light[href]:hover {
  1861. background: rgba(255, 255, 255, .3);
  1862. }
  1863. .dark a.badge:focus,
  1864. .dark a.badge:hover {
  1865. color: rgba(255, 255, 255, .68);
  1866. }
  1867. .dark .btn-primary,
  1868. .dark .btn.btn-primary.active {
  1869. color: initial;
  1870. }