academic.css 36 KB

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