academic.css 39 KB

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