academic.css 44 KB

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