academic.css 42 KB

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