academic.css 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448
  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. /* Override dark colors that may be inherited from body.dark */
  417. .home-section.dark,
  418. .home-section.dark h1,
  419. .home-section.dark h2,
  420. .home-section.dark h3,
  421. .home-section.dark a:not(.btn):not(.alert a) {
  422. color: rgb(248, 248, 242);
  423. }
  424. /* Underline links in dark sections to separate them from text */
  425. .home-section.dark a:not(.btn):not(.hero-cta-alt):not(.alert a) {
  426. text-decoration: underline;
  427. }
  428. /* Big underline style for links in dark sections */
  429. .home-section.dark.big-underline a:not(.btn):not(.hero-cta-alt):not(.alert a) {
  430. text-decoration: none;
  431. position: relative;
  432. }
  433. .home-section.dark.big-underline a:not(.btn):not(.hero-cta-alt):not(.alert a):after {
  434. background: #fff;
  435. content: "";
  436. height: 2px;
  437. left: 0;
  438. right: 0;
  439. position: absolute;
  440. top: 100%;
  441. }
  442. /* Create the parallax scrolling effect */
  443. .parallax {
  444. height: 100%;
  445. background-attachment: fixed;
  446. background-position: center;
  447. background-repeat: no-repeat;
  448. background-size: cover;
  449. }
  450. .home-section:first-of-type {
  451. padding-top: 50px;
  452. }
  453. .home-section:nth-of-type(even) {
  454. background-color: {{ .Get "home_section_even" }};
  455. }
  456. .dark .home-section {
  457. background-color: {{ .Get "dark_home_section_odd" }};
  458. }
  459. .dark .home-section:nth-of-type(even) {
  460. background-color: {{ .Get "dark_home_section_even" }};
  461. }
  462. @media screen and (max-width: 768px) {
  463. .home-section {
  464. padding: 60px 0 60px 0;
  465. }
  466. .home-section:first-of-type {
  467. padding-top: 40px;
  468. }
  469. }
  470. .section-heading h1 {
  471. margin: 0 0 10px 0;
  472. }
  473. .section-heading p {
  474. font-weight: 400;
  475. font-size: 1.1rem;
  476. color: #b2b2b2;
  477. }
  478. /*************************************************
  479. * Widgets (common)
  480. **************************************************/
  481. .see-all {
  482. margin-top: 2rem;
  483. text-transform: uppercase;
  484. }
  485. /*************************************************
  486. * Hero Widget
  487. **************************************************/
  488. .wg-hero {
  489. padding: 3em 0;
  490. clear: both;
  491. background-size: cover;
  492. background-repeat: no-repeat;
  493. background-position: center;
  494. animation: intro 0.3s both;
  495. animation-delay: 0s;
  496. animation-delay: 0.25s;
  497. }
  498. .hero-title {
  499. font-size: 2.7rem;
  500. margin-top: 0;
  501. line-height: 1;
  502. }
  503. .hero-lead {
  504. max-width: 768px;
  505. font-size: 1.35rem;
  506. }
  507. .wg-hero .hero-title,
  508. .wg-hero .hero-lead,
  509. .wg-hero .hero-cta-alt,
  510. .wg-hero .hero-note {
  511. color: #fff;
  512. /*text-shadow: 1px 1px 4px rgba(0,0,0,0.5);*/ /* Uncomment to standout on complicated backgrounds. */
  513. }
  514. .wg-hero a:not(.wg-hero .btn) {
  515. color: #fff;
  516. }
  517. .wg-hero .hero-lead a {
  518. text-decoration: underline;
  519. }
  520. .wg-hero .cta-btns {
  521. margin-bottom: 16px;
  522. }
  523. .wg-hero .btn {
  524. color: {{ .Get "primary_dark" }};
  525. padding: .6em 2.1em;
  526. }
  527. a.hero-cta-alt {
  528. display: inline-block;
  529. position: relative;
  530. transition-duration: .2s;
  531. transition-property: transform;
  532. transition-timing-function: ease-out;
  533. font-size: 1.1rem;
  534. }
  535. a.hero-cta-alt:active,
  536. a.hero-cta-alt:focus,
  537. a.hero-cta-alt:hover {
  538. transform: scale(1.1);
  539. }
  540. .wg-hero .btn-lg {
  541. font-size: 1.1rem;
  542. }
  543. .wg-hero .hero-note {
  544. font-size: 0.8rem;
  545. }
  546. .hero-media {
  547. display: flex;
  548. align-items: center;
  549. justify-content: center;
  550. height: 100%;
  551. text-align: center;
  552. }
  553. /*************************************************
  554. * Featurette Widget
  555. **************************************************/
  556. .featurette {
  557. font-size: 0.8rem;
  558. line-height: 1.5;
  559. color: #555;
  560. text-align: center;
  561. }
  562. .featurette h3 {
  563. margin-top: 0;
  564. margin-bottom: 5px;
  565. font-weight: 400;
  566. color: #333;
  567. }
  568. .dark .featurette,
  569. .dark .featurette h3 {
  570. color: #fff;
  571. }
  572. .featurette-icon {
  573. display: block;
  574. width: 100%;
  575. color: {{ .Get "primary" }};
  576. font-size: 3rem;
  577. text-align: center;
  578. }
  579. /*************************************************
  580. * About widget
  581. **************************************************/
  582. #profile {
  583. text-align: center;
  584. padding: 30px 10px;
  585. position: relative;
  586. }
  587. .portrait {
  588. width: 200px;
  589. height: 200px;
  590. margin: 0 auto;
  591. border-radius: 50%;
  592. object-fit: cover;
  593. }
  594. .portrait-title h2 {
  595. font-size: 1.75em;
  596. font-weight: 300;
  597. color: #000000;
  598. margin: 20px 0 10px 0;
  599. }
  600. .portrait-title h3 {
  601. font-size: 1rem;
  602. font-weight: 300;
  603. color: rgba(0,0,0, 0.54);
  604. margin: 0px 0 10px 0;
  605. }
  606. ul.network-icon {
  607. display: inline-flex;
  608. flex-direction: row;
  609. flex-wrap: wrap;
  610. justify-content: center;
  611. list-style: none;
  612. padding: 0;
  613. }
  614. #profile .network-icon {
  615. margin-top: 30px;
  616. }
  617. .network-icon li {
  618. margin-right: 10px;
  619. }
  620. .network-icon li:last-of-type {
  621. margin-right: 0;
  622. }
  623. .network-icon li:hover {
  624. transform: scale(1.2)
  625. }
  626. .big-icon {
  627. font-size: 2rem;
  628. }
  629. ul.ul-interests li {
  630. font-size: 0.9rem;
  631. }
  632. ul.ul-edu {
  633. list-style: none;
  634. }
  635. ul.ul-edu li {
  636. position: relative;
  637. padding: 0px 15px 4px 3px;
  638. }
  639. ul.ul-edu li .description p {
  640. margin: 0;
  641. }
  642. ul.ul-edu li .description p.course {
  643. font-size: 0.9rem;
  644. }
  645. ul.ul-edu li .description p.institution {
  646. font-size: 0.75rem;
  647. color: rgba(0,0,0,0.6);
  648. }
  649. /*************************************************
  650. * People widget
  651. **************************************************/
  652. .people-widget {
  653. font-size: 0.8rem;
  654. text-align: center;
  655. }
  656. .people-widget .portrait-title h2 {
  657. font-size: 1rem;
  658. }
  659. .people-widget .portrait-title h3 {
  660. font-size: 0.7rem;
  661. }
  662. .people-widget .portrait {
  663. width: 80%;
  664. max-width: 150px;
  665. height: auto;
  666. }
  667. @media (min-width: 576px) {
  668. .people-widget .col-sm-auto {
  669. max-width: 30% !important;
  670. }
  671. }
  672. @media (min-width: 992px) {
  673. .people-widget .col-sm-auto {
  674. max-width: 20% !important;
  675. }
  676. }
  677. /*************************************************
  678. * Sharing
  679. **************************************************/
  680. .share-box {
  681. float: right;
  682. }
  683. ul.share {
  684. display: flex;
  685. flex-direction: row;
  686. flex-wrap: wrap;
  687. list-style: none;
  688. margin: 0;
  689. padding: 0;
  690. }
  691. ul.share li {
  692. display: inline-flex;
  693. margin-right: 5px;
  694. }
  695. ul.share li:last-of-type {
  696. margin-right: 0;
  697. }
  698. ul.share li i {
  699. display: block;
  700. width: 30px;
  701. height: 30px;
  702. line-height: 30px;
  703. font-size: 16px;
  704. text-align: center;
  705. transition: all 150ms ease-in-out;
  706. color: #fff;
  707. }
  708. .dark ul.share li i {
  709. color: rgb(68, 71, 90);
  710. }
  711. ul.share li a {
  712. background-color: #b5c6ce;
  713. display: block;
  714. border-radius: 50%;
  715. text-decoration: none !important;
  716. margin: 0;
  717. }
  718. ul.share li:hover i {
  719. transform: scale(1.4)
  720. }
  721. /*************************************************
  722. * Page content style
  723. **************************************************/
  724. article {
  725. animation: intro 0.3s both;
  726. animation-delay: 0.15s;
  727. }
  728. .article-container {
  729. max-width: 760px;
  730. padding: 0 20px 0 20px;
  731. margin: 0 auto 0 auto;
  732. }
  733. .split-header {
  734. margin-bottom: 2rem;
  735. }
  736. .split-header .share-box {
  737. float: left;
  738. }
  739. .page-subtitle {
  740. font-size: 1.15rem;
  741. color: rgba(0,0,0,.54);
  742. margin-bottom: 1rem;
  743. }
  744. .dark .page-subtitle {
  745. color: rgba(255,255,255,0.54);
  746. }
  747. .split-header .page-subtitle {
  748. margin-bottom: 1.5rem;
  749. }
  750. .split-header-content {
  751. max-width: 612px;
  752. width: 100%;
  753. padding: 60px 60px 32px 0;
  754. margin-left: auto;
  755. -webkit-box-sizing: border-box;
  756. box-sizing: border-box;
  757. }
  758. .split-header-image {
  759. position: relative; /* Required for caption positioning */
  760. clear: both;
  761. max-width: 580px;
  762. }
  763. .article-header {
  764. position: relative; /* Required for caption positioning */
  765. clear: both;
  766. }
  767. .article-banner {
  768. width: 100%;
  769. height: auto;
  770. }
  771. .featured-image {
  772. width: 100%;
  773. background-position: left;
  774. background-origin: border-box;
  775. background-size: cover;
  776. height: 60vh;
  777. min-height: 500px;
  778. -webkit-box-flex: 1;
  779. -webkit-flex: 1 0 auto;
  780. -ms-flex: 1 0 auto;
  781. flex: 1 0 auto
  782. }
  783. @media screen and (max-width: 1199px) {
  784. .featured-image {
  785. min-height: 400px;
  786. height: auto;
  787. }
  788. }
  789. @media screen and (max-width: 767px) {
  790. .featured-image {
  791. min-height: 300px;
  792. }
  793. }
  794. .article-header-caption {
  795. position: absolute;
  796. bottom: 0;
  797. right: 0;
  798. margin: 0 auto;
  799. padding: 2px 5px;
  800. color: #fff;
  801. font-size: .7em;
  802. background: #000;
  803. text-align: right;
  804. z-index: 5;
  805. opacity: 0.65;
  806. border-radius: 5px 0 0 0;
  807. }
  808. @media (min-width: 64em) {
  809. .article-header-caption {
  810. padding: 5px 10px;
  811. }
  812. }
  813. .article-header-caption a {
  814. color: #fff;
  815. text-decoration: none;
  816. }
  817. .article-title {
  818. font-size: 1.75rem;
  819. }
  820. .article-title a {
  821. color: #151515;
  822. transition: color 0.6s ease;
  823. }
  824. .text-muted {
  825. color: rgba(0,0,0,0.54); /* Override Bootstrap */
  826. }
  827. .dark .text-muted {
  828. color: rgba(255,255,255,0.54);
  829. }
  830. .article-metadata {
  831. margin-bottom: 15px;
  832. overflow: hidden;
  833. font-size: 14px;
  834. letter-spacing: 0.03em;
  835. color: rgba(0,0,0,0.54);
  836. }
  837. .dark .article-metadata {
  838. color: rgba(255,255,255,0.54);
  839. }
  840. .stream-meta.article-metadata {
  841. margin-bottom: 5px;
  842. }
  843. /* For article page only, not lists. */
  844. article .article-metadata {
  845. margin-bottom: 20px;
  846. line-height: 30px; /* Match share bar line height. */
  847. }
  848. .article-metadata a {
  849. color: rgba(0,0,0,.54);
  850. }
  851. .dark .article-metadata a {
  852. color: rgba(255,255,255,0.54);
  853. }
  854. .article-metadata a:hover {
  855. color: {{ .Get "primary" }};
  856. }
  857. .middot-divider {
  858. padding-right: .45em;
  859. padding-left: .45em;
  860. font-size: 15px;
  861. }
  862. .middot-divider::after {
  863. content: '\00B7';
  864. }
  865. .article-style img,
  866. .article-style video {
  867. margin-left: auto;
  868. margin-right: auto;
  869. margin-top: 2rem;
  870. margin-bottom: 2rem;
  871. padding: 0;
  872. }
  873. .article-style td img,
  874. .article-style td video {
  875. margin-top: 0;
  876. margin-bottom: 0;
  877. }
  878. .article-style figure {
  879. margin-top: 2rem;
  880. margin-bottom: 2rem;
  881. }
  882. .article-style figure img {
  883. margin-top: 0;
  884. margin-bottom: 0;
  885. }
  886. .article-widget {
  887. padding-top: 1rem;
  888. }
  889. .article-widget h3 {
  890. margin-top: 0;
  891. }
  892. .hr-light {
  893. border-top: 1px solid rgba(0,0,0,.05);
  894. margin-top: 0.5rem;
  895. margin-bottom: 1rem;
  896. }
  897. #comments {
  898. padding-top: 1rem;
  899. }
  900. /*************************************************
  901. * Stream
  902. **************************************************/
  903. .media.stream-item {
  904. margin-bottom: 2rem;
  905. }
  906. .media.stream-item .article-title,
  907. .card-simple .article-title {
  908. font-size: 1.2rem;
  909. }
  910. .media.stream-item .article-style,
  911. .card-simple .article-style {
  912. margin-top: 2px;
  913. font-size: 0.8rem;
  914. }
  915. .media.stream-item .stream-meta {
  916. margin-top: 12px;
  917. }
  918. .media.stream-item img {
  919. max-width: 150px;
  920. height: auto;
  921. object-fit: cover;
  922. }
  923. @media screen and (max-width: 768px) {
  924. .media.stream-item img {
  925. max-width: 80px;
  926. }
  927. }
  928. /*************************************************
  929. * Author profile card
  930. **************************************************/
  931. .author-card {
  932. margin-top: 1rem;
  933. padding-top: 1rem;
  934. border-top: 1px solid rgba(0,0,0,.05);
  935. }
  936. .dark .author-card {
  937. border-top: 1px solid rgba(255,255,255,.05);
  938. }
  939. .author-card .portrait {
  940. width: 60px;
  941. height: 60px;
  942. margin: 0 auto;
  943. border-radius: 50%;
  944. object-fit: cover;
  945. }
  946. .author-card .card-title {
  947. margin-top: 0;
  948. margin-bottom: 15px;
  949. font-weight: 600;
  950. color: rgba(0, 0, 0, 0.84);
  951. }
  952. .author-card .card-title a {
  953. color: rgba(0, 0, 0, 0.84);
  954. }
  955. .dark .author-card .card-title,
  956. .dark .author-card .card-title a {
  957. color: rgba(255, 255, 255, 0.84);
  958. }
  959. .author-card p {
  960. margin-bottom: 5px;
  961. }
  962. .author-card .card-subtitle {
  963. font-weight: 300;
  964. font-size: 0.8rem;
  965. color: rgba(0, 0, 0, 0.54);
  966. margin-bottom: 7px;
  967. }
  968. .dark .author-card .card-subtitle {
  969. color: rgba(255, 255, 255, 0.54);
  970. }
  971. .author-card .card-text {
  972. color: rgba(0, 0, 0, 0.76);
  973. font-size: 0.8rem;
  974. margin-bottom: 4px;
  975. }
  976. .dark .author-card .card-text {
  977. color: rgba(255, 255, 255, 0.76);
  978. }
  979. /*************************************************
  980. * List items
  981. **************************************************/
  982. .view-list-item {
  983. margin-bottom: 1rem;
  984. }
  985. .pub-icon {
  986. color: rgba(0, 0, 0, 0.54);
  987. font-size: 0.81em;
  988. padding-right: 6px;
  989. }
  990. .view-list-item .article-metadata {
  991. margin-bottom: 0;
  992. }
  993. .pub-list-item .pub-abstract {
  994. font-size: 1rem;
  995. }
  996. .pub-list-item .btn-links {
  997. padding-top: 10px;
  998. }
  999. /*************************************************
  1000. * Publications
  1001. **************************************************/
  1002. .pub-banner {
  1003. max-width: 100%;
  1004. height: auto;
  1005. margin-left: auto;
  1006. margin-right: auto;
  1007. }
  1008. .pub-row-heading {
  1009. font-weight: bold;
  1010. }
  1011. #container-publications {
  1012. display: block;
  1013. position: relative;
  1014. overflow: hidden;
  1015. }
  1016. .li-cite-author {
  1017. font-size: 1em;
  1018. color: inherit;
  1019. }
  1020. .li-cite-author a {
  1021. color: inherit;
  1022. }
  1023. .dark .li-cite-author a {
  1024. color: rgb(248, 248, 242);
  1025. }
  1026. /*************************************************
  1027. * Experience
  1028. **************************************************/
  1029. .exp-title {
  1030. text-transform: none !important;
  1031. }
  1032. .exp-company {
  1033. font-weight: normal !important;
  1034. text-transform: none !important;
  1035. }
  1036. .exp-meta {
  1037. font-size: 0.8rem;
  1038. }
  1039. .experience .card-text,
  1040. .experience .card-text p {
  1041. color: #000 !important;
  1042. font-size: 0.75rem !important;
  1043. }
  1044. .dark .experience .text-muted {
  1045. color: rgba(255, 255, 255, 0.8) !important;
  1046. }
  1047. .dark .experience .card-text,
  1048. .dark .experience .card-text p {
  1049. color: rgb(248, 248, 242) !important;
  1050. }
  1051. .card .card-text ul {
  1052. margin-top: -1rem;
  1053. margin-bottom: 0rem;
  1054. }
  1055. .experience .m-2 .border,
  1056. .experience .col.border-right {
  1057. border-color: {{ .Get "primary" }} !important;
  1058. }
  1059. .experience .m-2 .border.exp-fill {
  1060. background-color: {{ .Get "primary" }} !important;
  1061. }
  1062. /*************************************************
  1063. * Talks
  1064. **************************************************/
  1065. .talk-metadata {
  1066. color: #4b4f56;
  1067. font-size: 0.8rem;
  1068. }
  1069. /*************************************************
  1070. * Projects
  1071. **************************************************/
  1072. .project-widget-simple li {
  1073. margin-bottom: 1rem;
  1074. }
  1075. .project-widget-simple li:last-of-type {
  1076. margin-bottom: 0;
  1077. }
  1078. .project-widget-simple .project-title {
  1079. margin-bottom: 6px;
  1080. }
  1081. .project-widget-simple .project-summary {
  1082. font-size: 0.9rem;
  1083. margin-bottom: 0.4rem;
  1084. }
  1085. .projects-container {
  1086. display: block;
  1087. position: relative;
  1088. /*margin-top: 5rem;*/
  1089. overflow: hidden;
  1090. }
  1091. .project-toolbar{
  1092. margin-bottom: 2rem;
  1093. }
  1094. .project-card {
  1095. position: relative;
  1096. width: calc(33.3% - 2*20px); /* Fluid 3 columns (inc. 20px gutter) */
  1097. }
  1098. @media screen and (max-width: 1199px) {
  1099. .project-card {
  1100. width: calc(50% - 20px); /* Fluid 2 columns (inc. 20px gutter) */
  1101. }
  1102. }
  1103. @media screen and (max-width: 768px) {
  1104. .project-card {
  1105. width: 100%; /* 1 column */
  1106. }
  1107. }
  1108. .project-item {
  1109. margin-bottom: 1.5rem;
  1110. }
  1111. .project-card.project-item {
  1112. margin: 0 0 20px 0; /* Set to Isotope's gutter size */
  1113. }
  1114. .project-card .card {
  1115. margin: 0; /* Remove default card margin and use Isotope gutter */
  1116. }
  1117. .project-showcase .project-item {
  1118. margin-bottom: 3rem;
  1119. }
  1120. .project-item:last-of-type {
  1121. margin-bottom: 0;
  1122. }
  1123. .isotope-item {
  1124. z-index: 2;
  1125. }
  1126. .isotope-item:hover{
  1127. z-index: 3;
  1128. }
  1129. /*************************************************
  1130. * Accomplishments
  1131. **************************************************/
  1132. .card.course {
  1133. margin-bottom: 1rem; /* More compact spacing than Experience widget as typically more items here. */
  1134. }
  1135. .card.course:last-of-type {
  1136. margin-bottom: 0;
  1137. }
  1138. .course .card-subtitle a {
  1139. border-bottom: solid 1px transparent;
  1140. }
  1141. .course .card-subtitle a:hover {
  1142. border-bottom: solid 1px;
  1143. text-decoration: none;
  1144. }
  1145. /*************************************************
  1146. * Card component
  1147. **************************************************/
  1148. .card-simple {
  1149. background: #fff;
  1150. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1151. border: 1px solid rgba(0,0,0,.09);
  1152. border-radius: 3px;
  1153. margin-top: 20px;
  1154. padding: 15px 20px 15px 20px;
  1155. }
  1156. .card-simple:first-of-type {
  1157. margin-top: 0;
  1158. }
  1159. .card-simple p.read-more {
  1160. margin: 0;
  1161. }
  1162. .dark .card-simple {
  1163. background: rgb(40, 42, 54);
  1164. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1165. border: 1px solid rgb(68, 71, 90);
  1166. }
  1167. .card {
  1168. margin-bottom: 1.5rem;
  1169. overflow: hidden;
  1170. text-overflow: ellipsis;
  1171. background: #fff;
  1172. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  1173. transition: all 0.2s ease-out;
  1174. }
  1175. .card .card-image {
  1176. display: block;
  1177. position: relative;
  1178. min-height: 100px;
  1179. }
  1180. .card h4 {
  1181. font-size: 0.9rem;
  1182. font-weight: 700;
  1183. line-height: 1.5;
  1184. text-transform: uppercase;
  1185. }
  1186. .card h4 a {
  1187. color: #000;
  1188. border-bottom: solid 1px transparent;
  1189. }
  1190. .card h4 a:hover {
  1191. color: #000;
  1192. border-bottom: solid 1px #000;
  1193. text-decoration: none;
  1194. }
  1195. .card .card-text {
  1196. padding: 0.75rem 1rem 0.75rem;
  1197. }
  1198. .card .card-text p {
  1199. color: rgba(0,0,0,0.54);
  1200. font-size: 0.75rem;
  1201. }
  1202. .dark .card-text p {
  1203. color: rgb(248, 248, 242);
  1204. }
  1205. .card p:last-child {
  1206. margin-bottom: 0;
  1207. }
  1208. .card .card-image.hover-overlay:before {
  1209. display: block;
  1210. position: absolute;
  1211. left: 0;
  1212. top: 0;
  1213. width: 100%;
  1214. height: 100%;
  1215. background: #fff;
  1216. content: " ";
  1217. opacity: 0;
  1218. transition: all 0.2s ease-out;
  1219. }
  1220. .card .card-image.hover-overlay:after {
  1221. display: block;
  1222. position: absolute;
  1223. left: 0;
  1224. top: 50%;
  1225. width: 100%;
  1226. transform: translate(0, -50%);
  1227. opacity: 0;
  1228. transition: all 0.2s ease-out;
  1229. font-family: 'Font Awesome 5 Free';
  1230. font-weight: 900;
  1231. content: '\f0c1';
  1232. text-align: center;
  1233. font-size: 3rem;
  1234. color: #666;
  1235. }
  1236. .card:hover {
  1237. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  1238. }
  1239. .card:hover .card-image.hover-overlay:before {
  1240. opacity: 0.8;
  1241. }
  1242. .card:hover .card-image.hover-overlay:after {
  1243. opacity: 0.6;
  1244. }
  1245. /*************************************************
  1246. * Contact
  1247. **************************************************/
  1248. .contact-widget .fa-ul {
  1249. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  1250. }
  1251. .contact-widget .fa-li {
  1252. position: absolute;
  1253. left: -3.14285714rem; /* Negative of `.contact-widget .fa-ul` margin. */
  1254. width: 2rem; /* Match `fa-2x` icon size. */
  1255. top: 0.14285714em; /* Default FA value. */
  1256. text-align: center;
  1257. }
  1258. .contact-widget li {
  1259. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  1260. margin-bottom: 0.3rem;
  1261. }
  1262. .contact-widget li:last-of-type {
  1263. margin-bottom: 0;
  1264. }
  1265. #map {
  1266. height: 350px;
  1267. width: 100%;
  1268. }
  1269. /*************************************************
  1270. * Footer
  1271. **************************************************/
  1272. footer {
  1273. margin: 4rem 0 0;
  1274. padding: 2rem 0;
  1275. width: 100%;
  1276. }
  1277. footer p {
  1278. font-size: 0.75rem;
  1279. text-align: center;
  1280. }
  1281. .site-footer,
  1282. footer a#back_to_top i {
  1283. color: rgba(0,0,0,0.54);
  1284. }
  1285. .dark .site-footer,
  1286. .dark footer a#back_to_top i,
  1287. .dark .docs .body-footer {
  1288. color: rgba(255,255,255,0.54);
  1289. }
  1290. /**************************************************
  1291. * Tags/Labels
  1292. **************************************************/
  1293. .badge-light {
  1294. border: none;
  1295. color: rgba(0,0,0,.68);
  1296. background: rgba(0,0,0,.05);
  1297. font-weight: normal;
  1298. border-radius: 3px;
  1299. padding: 5px 10px;
  1300. margin-right: 8px;
  1301. margin-bottom: 8px;
  1302. }
  1303. .article-tags > .badge-light:last-child {
  1304. margin-right: 0;
  1305. }
  1306. .badge-light[href]:focus,
  1307. .badge-light[href]:hover {
  1308. background: rgba(0,0,0,.1);
  1309. }
  1310. a.badge:focus,
  1311. a.badge:hover {
  1312. color: rgba(0,0,0,.68);
  1313. }
  1314. .tag-cloud a {
  1315. display: inline-block;
  1316. position: relative;
  1317. margin: 5px 10px;
  1318. word-wrap: break-word;
  1319. transition-duration: .2s;
  1320. transition-property: transform;
  1321. transition-timing-function: ease-out;
  1322. }
  1323. .tag-cloud a:active,
  1324. .tag-cloud a:focus,
  1325. .tag-cloud a:hover {
  1326. color: {{ .Get "primary_dark" }};
  1327. transform: scale(1.2);
  1328. }
  1329. .dark .tag-cloud a:active,
  1330. .dark .tag-cloud a:focus,
  1331. .dark .tag-cloud a:hover {
  1332. color: {{ .Get "primary_light" }};
  1333. }
  1334. /*************************************************
  1335. * Button size override
  1336. *************************************************/
  1337. .btn {
  1338. padding: .5rem;
  1339. font-size: .8rem;
  1340. line-height: .5;
  1341. border-radius: .3rem;
  1342. }
  1343. .btn-links .btn {
  1344. padding: 5px .5rem 5px .5rem;
  1345. line-height: 1;
  1346. }
  1347. .btn.btn-sm {
  1348. padding: 5px .4rem 5px .4rem;
  1349. font-size: .6rem;
  1350. border-radius: .2rem;
  1351. }
  1352. /*************************************************
  1353. * Button Primary: Color override
  1354. **************************************************/
  1355. .btn-primary {
  1356. border-color: {{ .Get "primary" }};
  1357. background: {{ .Get "primary" }};
  1358. }
  1359. .btn-outline-primary {
  1360. border-color: {{ .Get "primary" }};
  1361. color: {{ .Get "primary" }};
  1362. }
  1363. .btn-primary:hover,
  1364. .btn-primary:active,
  1365. .btn-primary.active,
  1366. .btn-primary:visited,
  1367. .open > .dropdown-toggle.btn-primary {
  1368. background: {{ .Get "primary" }};
  1369. }
  1370. .btn-outline-light:hover,
  1371. .btn-outline-light:active,
  1372. .btn-outline-light.active {
  1373. background: rgba(0,0,0,0.4);
  1374. }
  1375. .btn-outline-primary:not(:disabled):not(.disabled).active,
  1376. .btn-outline-primary:not(:disabled):not(.disabled):active,
  1377. .show > .btn-outline-primary.dropdown-toggle {
  1378. color: #fff;
  1379. background-color: {{ .Get "primary" }};
  1380. border-color: {{ .Get "primary" }};
  1381. }
  1382. .dark .btn-outline-primary:not(:disabled):not(.disabled).active,
  1383. .dark .btn-outline-primary:not(:disabled):not(.disabled):active,
  1384. .dark .show > .btn-outline-primary.dropdown-toggle {
  1385. color: rgb(68, 71, 90);
  1386. }
  1387. .btn-outline-primary:hover {
  1388. color: #fff;
  1389. background-color: {{ .Get "primary" }};
  1390. border-color: {{ .Get "primary" }};
  1391. }
  1392. .dark .btn-outline-primary:hover {
  1393. color: rgb(68, 71, 90);
  1394. }
  1395. /*************************************************
  1396. * Toolbar Buttons
  1397. **************************************************/
  1398. .btn-toolbar .btn {
  1399. font-size: 0.9rem;
  1400. padding: 10px 14px 9px;
  1401. border: none;
  1402. }
  1403. .btn-toolbar .btn:first-child {
  1404. border-radius: 6px 0 0 6px;
  1405. }
  1406. .btn-toolbar .btn:last-child {
  1407. border-radius: 0 6px 6px 0;
  1408. }
  1409. .btn-toolbar .btn.btn-primary:hover,
  1410. .btn-toolbar .btn.btn-primary:focus {
  1411. background-color: {{ .Get "primary_light" }} !important;
  1412. }
  1413. .btn-toolbar .btn.btn-primary:active,
  1414. .btn-toolbar .btn.btn-primary.active {
  1415. background-color: {{ .Get "primary_dark" }} !important;
  1416. }
  1417. .btn-primary:not(:disabled):not(.disabled).active:focus,
  1418. .btn-primary:not(:disabled):not(.disabled):active:focus,
  1419. .show > .btn-primary.dropdown-toggle:focus {
  1420. box-shadow: 0 0 0 .2rem {{ .Get "primary_light" }};
  1421. }
  1422. /*************************************************
  1423. * Navigation Bar
  1424. **************************************************/
  1425. .navbar {
  1426. min-height: 70px !important;
  1427. }
  1428. .navbar-light {
  1429. background: {{ .Get "menu_primary" }} !important;
  1430. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  1431. }
  1432. .navbar-light .navbar-toggler {
  1433. border-color: transparent;
  1434. }
  1435. .navbar-toggler {
  1436. color: {{ .Get "menu_text" }} !important;
  1437. }
  1438. .navbar-light .navbar-toggler:focus,
  1439. .navbar-light .navbar-toggler:hover {
  1440. background-color: transparent;
  1441. }
  1442. .dropdown-menu,
  1443. nav#navbar-main li.nav-item {
  1444. font-size: {{ .Get "font_size_small" }}px;
  1445. }
  1446. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1447. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1448. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1449. white-space: nowrap;
  1450. -webkit-transition: 0.2s ease;
  1451. transition: 0.2s ease;
  1452. color: {{ .Get "menu_text" }};
  1453. font-weight: 600;
  1454. }
  1455. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1456. color: {{ .Get "menu_text" }};
  1457. background-color: transparent;
  1458. }
  1459. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1460. color: {{ .Get "menu_text_active" }};
  1461. background-color: transparent;
  1462. }
  1463. .navbar-light .navbar-nav>li.nav-item>a.active,
  1464. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1465. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1466. color: {{ .Get "menu_text_active" }};
  1467. font-weight: 700;
  1468. background-color: transparent !important; /* Override Bootstrap. */
  1469. }
  1470. .navbar-brand,
  1471. .navbar-nav li.nav-item a.nav-link {
  1472. height: inherit;
  1473. line-height: 50px;
  1474. padding-top: 10px;
  1475. padding-bottom: 10px;
  1476. }
  1477. .navbar-brand img {
  1478. max-height: 50px;
  1479. }
  1480. .navbar-light .navbar-toggler .icon-bar {
  1481. background-color: {{ .Get "menu_text" }} !important;
  1482. }
  1483. .dropdown-menu {
  1484. background-color: {{ .Get "menu_primary" }} !important;
  1485. }
  1486. .dropdown-menu > li > a {
  1487. display: block;
  1488. padding: 3px 20px;
  1489. clear: both;
  1490. font-weight: 400;
  1491. line-height: 1.42857143;
  1492. color: {{ .Get "menu_text" }};
  1493. white-space: nowrap;
  1494. }
  1495. .dropdown-menu>li>a:focus,
  1496. .dropdown-menu>li>a:hover {
  1497. color: {{ .Get "menu_text_active" }};
  1498. text-decoration: none;
  1499. background-color: {{ .Get "menu_primary" }};
  1500. }
  1501. .dropdown-menu > .active,
  1502. .dropdown-menu > .active:focus,
  1503. .dropdown-menu > .active:hover {
  1504. color: {{ .Get "menu_primary" }};
  1505. text-decoration: none;
  1506. background-color: {{ .Get "menu_text_active" }};
  1507. outline: 0;
  1508. }
  1509. .navbar-light .navbar-nav>.open>a,
  1510. .navbar-light .navbar-nav>.open>a:focus,
  1511. .navbar-light .navbar-nav>.open>a:hover,
  1512. .navbar-light .navbar-nav>.open>a:visited {
  1513. color: {{ .Get "menu_text" }} !important;
  1514. background-color: {{ .Get "menu_primary" }} !important;
  1515. }
  1516. .navbar-light .navbar-brand {
  1517. font-weight: bold;
  1518. font-size: 1.2em;
  1519. color: {{ .Get "menu_title" }};
  1520. }
  1521. .navbar-light .navbar-brand:focus,
  1522. .navbar-light .navbar-brand:hover {
  1523. color: {{ .Get "menu_title" }};
  1524. background-color: transparent;
  1525. }
  1526. @media screen and (max-width: 1200px) {
  1527. .navbar {
  1528. min-height: 50px !important;
  1529. }
  1530. .navbar-brand,
  1531. .navbar-nav li.nav-item a.nav-link {
  1532. height: inherit;
  1533. line-height: 40px;
  1534. padding-top: 5px;
  1535. padding-bottom: 5px;
  1536. }
  1537. .navbar-brand img {
  1538. max-height: 40px;
  1539. }
  1540. .navbar-toggler {
  1541. display: block;
  1542. }
  1543. .fixed-top {
  1544. top: 0;
  1545. border-width: 0 0 1px;
  1546. }
  1547. .navbar-nav > li.nav-item > a.nav-link {
  1548. padding-top: 10px;
  1549. padding-bottom: 10px;
  1550. line-height: normal;
  1551. }
  1552. .dropdown-menu > li > a {
  1553. display: block;
  1554. padding: 3px 20px;
  1555. clear: both;
  1556. font-weight: 400;
  1557. line-height: 1.42857143;
  1558. color: {{ .Get "menu_text" }};
  1559. white-space: nowrap;
  1560. }
  1561. .navbar-light .navbar-nav .open .dropdown-menu {
  1562. position: static;
  1563. width: auto;
  1564. margin-top: 0;
  1565. background-color: transparent;
  1566. border: 0;
  1567. box-shadow: none;
  1568. }
  1569. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1570. padding: 5px 15px 5px 25px;
  1571. line-height: 20px;
  1572. color: {{ .Get "menu_text" }};
  1573. }
  1574. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1575. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1576. color: inherit;
  1577. background-color: transparent;
  1578. }
  1579. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1580. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1581. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1582. color: {{ .Get "menu_text_active" }};
  1583. background-color: transparent;
  1584. }
  1585. .collapse.in {
  1586. display: block !important;
  1587. }
  1588. }
  1589. /*************************************************
  1590. * Tables
  1591. **************************************************/
  1592. table {
  1593. width: 100%;
  1594. max-width: 100%;
  1595. margin-bottom: 1rem;
  1596. font-size: 0.93rem;
  1597. }
  1598. table > thead > tr > th,
  1599. table > tbody > tr > th,
  1600. table > tfoot > tr > th,
  1601. table > thead > tr > td,
  1602. table > tbody > tr > td,
  1603. table > tfoot > tr > td {
  1604. padding: 8px;
  1605. line-height: 1.43;
  1606. vertical-align: top;
  1607. border-top: 1px solid #ddd;
  1608. }
  1609. table > thead > tr > th {
  1610. vertical-align: bottom;
  1611. border-bottom: 2px solid #ddd;
  1612. }
  1613. table > caption + thead > tr:first-child > th,
  1614. table > colgroup + thead > tr:first-child > th,
  1615. table > thead:first-child > tr:first-child > th,
  1616. table > caption + thead > tr:first-child > td,
  1617. table > colgroup + thead > tr:first-child > td,
  1618. table > thead:first-child > tr:first-child > td {
  1619. border-top: 0;
  1620. }
  1621. table > tbody + tbody {
  1622. border-top: 2px solid #ddd;
  1623. }
  1624. table table {
  1625. background-color: #fff;
  1626. }
  1627. /* Table Striped */
  1628. table > tbody > tr:nth-child(odd) > td,
  1629. table > tbody > tr:nth-child(odd) > th {
  1630. background-color: #f9f9f9;
  1631. }
  1632. /* Table Hover */
  1633. table > tbody > tr:hover > td,
  1634. table > tbody > tr:hover > th {
  1635. background-color: #e5e5e5;
  1636. }
  1637. /*************************************************
  1638. * Alerts
  1639. **************************************************/
  1640. div.alert > div {
  1641. position: relative;
  1642. display: block;
  1643. font-size: 1rem;
  1644. margin-left: 2rem;
  1645. margin-top: 0;
  1646. margin-bottom: 0;
  1647. }
  1648. div.alert div > * {
  1649. margin-bottom: .5rem; /* Use smaller paragraph spacing than usual. */
  1650. }
  1651. div.alert div > :last-child {
  1652. margin-bottom: 0;
  1653. }
  1654. div.alert > div:first-child::before {
  1655. position: absolute;
  1656. top: -0.5rem;
  1657. left: -2rem;
  1658. font-size: 1.5rem;
  1659. color: #209cee;
  1660. font-family: 'Font Awesome 5 Free';
  1661. font-weight: 900;
  1662. content: '\f05a';
  1663. width: 1.5rem;
  1664. text-align: center;
  1665. }
  1666. div.alert-warning > div:first-child::before {
  1667. font-family: 'Font Awesome 5 Free';
  1668. font-weight: 900;
  1669. color: #ff3860;
  1670. content: '\f071';
  1671. }
  1672. div.alert a {
  1673. color: currentColor;
  1674. text-decoration: none;
  1675. border-bottom: solid 1px currentColor;
  1676. }
  1677. .alert-note {
  1678. color: #12537e;
  1679. background-color: #f6fbfe;
  1680. border-color: #209cee;
  1681. }
  1682. .alert-warning {
  1683. color: #cd0930;
  1684. background-color: #fff5f7;
  1685. border-color: #ff3860;
  1686. }
  1687. /*************************************************
  1688. * Documentation layout
  1689. **************************************************/
  1690. .docs-article-container {
  1691. max-width: 760px;
  1692. }
  1693. /* Documentation: article footer. */
  1694. .docs .body-footer {
  1695. border-top: 1px solid #e8e8e8;
  1696. margin-top: 30px;
  1697. padding-top: 10px;
  1698. font-size: 14px;
  1699. color: #707070;
  1700. }
  1701. /* Docs content. */
  1702. .docs-content {
  1703. order: 1;
  1704. position: relative;
  1705. }
  1706. .docs-content>h2[id],
  1707. .docs-content>h3[id],
  1708. .docs-content>h4[id] {
  1709. pointer-events: none;
  1710. }
  1711. .docs-content>ol li,
  1712. .docs-content>ul li {
  1713. margin-bottom: .25rem;
  1714. }
  1715. /* Docs search. */
  1716. .docs-search {
  1717. position: relative;
  1718. padding: 1rem 15px;
  1719. margin-right: -15px;
  1720. margin-left: -15px;
  1721. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1722. }
  1723. .docs-search .form-control:focus {
  1724. border-color: {{ .Get "primary" }};
  1725. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1726. }
  1727. /* Docs sidebar. */
  1728. .docs-sidebar {
  1729. order: 0;
  1730. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1731. }
  1732. @media (min-width:768px) {
  1733. .docs-sidebar {
  1734. border-right: 1px solid rgba(0, 0, 0, .1)
  1735. }
  1736. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1737. .docs-sidebar {
  1738. position: -webkit-sticky;
  1739. position: sticky;
  1740. top: 50px;
  1741. z-index: 10;
  1742. height: calc(100vh - 50px)
  1743. }
  1744. }
  1745. }
  1746. @media (min-width:1200px) {
  1747. .docs-sidebar {
  1748. border-right: 1px solid rgba(0, 0, 0, .1)
  1749. }
  1750. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1751. .docs-sidebar {
  1752. position: -webkit-sticky;
  1753. position: sticky;
  1754. top: 70px;
  1755. z-index: 10;
  1756. height: calc(100vh - 70px)
  1757. }
  1758. }
  1759. }
  1760. @media (min-width:1200px) {
  1761. .docs-sidebar {
  1762. flex: 0 1 320px
  1763. }
  1764. }
  1765. /* Docs sidebar li>a. */
  1766. .docs-sidebar .nav>li>a {
  1767. display: block;
  1768. padding: .25rem 1.5rem;
  1769. font-size: 0.8rem;
  1770. color: rgba(0, 0, 0, .65);
  1771. }
  1772. .docs-sidebar .nav>li>a:hover {
  1773. color: rgba(0, 0, 0, .85);
  1774. text-decoration: none;
  1775. background-color: transparent;
  1776. }
  1777. .docs-sidebar .docs-toc-item.active a,
  1778. .docs-sidebar .nav>.active:hover>a,
  1779. .docs-sidebar .nav>.active>a {
  1780. font-weight: bold;
  1781. color: {{ .Get "primary" }};
  1782. background-color: transparent;
  1783. }
  1784. /* Docs links. */
  1785. .docs-toggle {
  1786. line-height: 1;
  1787. font-size: 1.2rem;
  1788. color: {{ .Get "primary" }};
  1789. background-color: transparent;
  1790. }
  1791. .docs-links {
  1792. padding-top: 1rem;
  1793. padding-bottom: 1rem;
  1794. margin-right: -15px;
  1795. margin-left: -15px;
  1796. }
  1797. @media (min-width:768px) {
  1798. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1799. .docs-links {
  1800. max-height: calc(100vh - 5rem - 70px);
  1801. overflow-y: auto;
  1802. }
  1803. }
  1804. }
  1805. @media (min-width:768px) {
  1806. .docs-links {
  1807. display: block!important;
  1808. }
  1809. }
  1810. /* Docs TOC. */
  1811. .docs-toc {
  1812. order: 2;
  1813. padding-top: 1.5rem;
  1814. padding-bottom: 1.5rem;
  1815. font-size: .875rem
  1816. }
  1817. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1818. .docs-toc {
  1819. position: -webkit-sticky;
  1820. position: sticky;
  1821. top: 70px;
  1822. height: calc(100vh - 70px);
  1823. overflow-y: auto
  1824. }
  1825. }
  1826. /* Docs TOC item links. */
  1827. .docs-toc-link {
  1828. display: block;
  1829. padding: .25rem 1.5rem;
  1830. font-weight: bold;
  1831. color: rgba(0, 0, 0, .65);
  1832. }
  1833. .docs-toc-link:hover {
  1834. color: rgba(0, 0, 0, .85);
  1835. text-decoration: none;
  1836. }
  1837. .docs-toc-item.active {
  1838. margin-bottom: 1rem;
  1839. }
  1840. .docs-toc-item.active:not(:first-child) {
  1841. margin-top: 1rem;
  1842. }
  1843. .docs-toc-item.active>.docs-toc-link {
  1844. color: rgba(0, 0, 0, .85);
  1845. }
  1846. .docs-toc-item.active>.docs-toc-link:hover {
  1847. background-color: transparent;
  1848. }
  1849. .docs-sidenav {
  1850. display: block;
  1851. }
  1852. /* Docs TOC nav. */
  1853. .docs-toc-title {
  1854. color: #b5b5b5;
  1855. font-size: .875rem;
  1856. font-weight: 600;
  1857. padding-left: calc(1.5rem + 1px);
  1858. margin-bottom: .5rem;
  1859. }
  1860. #TableOfContents {
  1861. padding-left: 0;
  1862. border-left: 1px solid #eee;
  1863. }
  1864. #TableOfContents ul,
  1865. ul.toc-top {
  1866. padding-left: 0;
  1867. }
  1868. #TableOfContents ul ul {
  1869. display: none;
  1870. }
  1871. #TableOfContents li {
  1872. display: block;
  1873. }
  1874. #TableOfContents li a,
  1875. .toc-top li a {
  1876. display: block;
  1877. padding: .125rem 1.5rem;
  1878. color: #99979c;
  1879. font-size: 0.7rem;
  1880. }
  1881. #TableOfContents li a:hover,
  1882. .toc-top li a:hover {
  1883. color: {{ .Get "primary" }};
  1884. text-decoration: none;
  1885. }
  1886. /* Docs achnorjs links. */
  1887. .anchorjs-link {
  1888. font-weight: 400;
  1889. color: {{ .Get "primary_dark" }};
  1890. transition: color .16s linear;
  1891. }
  1892. .anchorjs-link:hover {
  1893. color: {{ .Get "primary" }};
  1894. text-decoration: none;
  1895. }
  1896. /*************************************************
  1897. * Dark themed components
  1898. **************************************************/
  1899. body.dark,
  1900. .dark .docs-toc-link,
  1901. .dark .docs-sidebar .nav > li:not(.active) > a,
  1902. .dark .modal button.close,
  1903. .dark input,
  1904. .dark .form-control,
  1905. .dark .form-control:focus {
  1906. color: rgb(248, 248, 242);
  1907. background: {{ .Get "dark_background" }};
  1908. }
  1909. .dark .form-control {
  1910. background-color: rgb(68, 71, 90);
  1911. }
  1912. .dark .form-control:focus {
  1913. background-color: rgb(68, 71, 90);
  1914. border-color: {{ .Get "primary" }};
  1915. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1916. }
  1917. .dark h1,
  1918. .dark h2,
  1919. .dark h3,
  1920. .dark h4,
  1921. .dark h5,
  1922. .dark h6 {
  1923. color: rgb(152, 166, 173);
  1924. }
  1925. .dark pre,
  1926. .dark code {
  1927. color: rgb(139, 233, 253);
  1928. background-color: rgb(68, 71, 90);
  1929. }
  1930. .dark pre {
  1931. background-color: rgb(68, 71, 90);
  1932. border-color: rgb(68, 71, 90);
  1933. }
  1934. .dark .markup-quote {
  1935. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1936. }
  1937. .dark #MathJax_Zoom {
  1938. background-color: rgb(68, 71, 90) !important;
  1939. }
  1940. .dark ul.share li a {
  1941. background-color: {{ .Get "primary" }};
  1942. }
  1943. .dark table table {
  1944. background-color: rgb(40, 42, 54);
  1945. }
  1946. /* Table Striped */
  1947. .dark table > tbody > tr:nth-child(odd) > td,
  1948. .dark table > tbody > tr:nth-child(odd) > th {
  1949. background-color: rgb(50, 52, 64);
  1950. }
  1951. /* Table Hover */
  1952. .dark table > tbody > tr:hover > td,
  1953. .dark table > tbody > tr:hover > th {
  1954. background-color: rgb(60, 62, 74);
  1955. }
  1956. .dark .article-title a {
  1957. color: #fff;
  1958. }
  1959. .dark .portrait-title h2 {
  1960. color: #fff;
  1961. }
  1962. .dark .portrait-title h3 {
  1963. color: rgba(255, 255, 255, 0.54);
  1964. }
  1965. .dark ul.ul-edu li .description p.institution {
  1966. color: rgba(255, 255, 255, 0.6);
  1967. }
  1968. .dark .pub-icon {
  1969. color: rgba(255, 255, 255, 0.54);
  1970. }
  1971. .dark .talk-metadata {
  1972. color: rgba(255, 255, 255, 0.54);
  1973. }
  1974. .dark .pagination li > a, .pagination li > span {
  1975. background-color: rgb(40, 42, 54);
  1976. border: 1px solid #ddd;
  1977. }
  1978. .dark .card {
  1979. background: #343a40;
  1980. }
  1981. .dark .card h4 a {
  1982. color: {{ .Get "primary" }};
  1983. border-bottom: solid 1px transparent;
  1984. }
  1985. .dark .card .card-image.hover-overlay::before {
  1986. background: #666;
  1987. }
  1988. .dark .card .card-image.hover-overlay::after {
  1989. color: #fff;
  1990. }
  1991. .dark .navbar-light {
  1992. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1993. border-color: #070707;
  1994. }
  1995. .dark select {
  1996. background: rgb(40, 42, 54);
  1997. color: rgb(248, 248, 242);
  1998. }
  1999. /* Algolia search input */
  2000. .dark .ais-search-box--input {
  2001. background-color: rgb(68, 71, 90);
  2002. }
  2003. .dark #search-query {
  2004. background-color: rgb(68, 71, 90);
  2005. }
  2006. .dark .badge-light {
  2007. color: rgba(255, 255, 255, .68);
  2008. background: rgba(255, 255, 255, .2);
  2009. }
  2010. .dark .badge-light[href]:focus,
  2011. .dark .badge-light[href]:hover {
  2012. background: rgba(255, 255, 255, .3);
  2013. }
  2014. .dark a.badge:focus,
  2015. .dark a.badge:hover {
  2016. color: rgba(255, 255, 255, .68);
  2017. }
  2018. .dark .btn-primary,
  2019. .dark .btn.btn-primary.active {
  2020. color: initial;
  2021. }