academic.css 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964
  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. ul.share li a {
  532. background-color: #b5c6ce;
  533. display: block;
  534. border-radius: 50%;
  535. text-decoration: none !important;
  536. margin: 0;
  537. }
  538. ul.share li:hover i {
  539. transform: scale(1.4)
  540. }
  541. /*************************************************
  542. * Blog Articles
  543. **************************************************/
  544. article {
  545. animation: intro 0.3s both;
  546. animation-delay: 0.15s;
  547. }
  548. .article-container {
  549. max-width: 760px;
  550. padding: 1rem 20px 0 20px;
  551. margin: 0 auto 0 auto;
  552. }
  553. .article-header {
  554. position: relative;
  555. clear: both;
  556. }
  557. .article-banner {
  558. width: 100%;
  559. height: auto;
  560. }
  561. .article-header-caption {
  562. position: absolute;
  563. bottom: 0;
  564. right: 0;
  565. margin: 0 auto;
  566. padding: 2px 5px;
  567. color: #fff;
  568. font-size: .7em;
  569. background: #000;
  570. text-align: right;
  571. z-index: 5;
  572. opacity: 0.65;
  573. border-radius: 5px 0 0 0;
  574. }
  575. @media (min-width: 64em) {
  576. .article-header-caption {
  577. padding: 5px 10px;
  578. }
  579. }
  580. .article-header-caption a {
  581. color: #fff;
  582. text-decoration: none;
  583. }
  584. .article-title {
  585. font-size: 1.75rem;
  586. }
  587. .article-title a {
  588. color: #151515;
  589. transition: color 0.6s ease;
  590. }
  591. .article-metadata {
  592. margin-bottom: 15px;
  593. overflow: hidden;
  594. font-size: 14px;
  595. letter-spacing: 0.03em;
  596. color: #888;
  597. }
  598. /* For article page only, not lists. */
  599. article .article-metadata {
  600. margin-bottom: 20px;
  601. line-height: 30px; /* Match share bar line height. */
  602. }
  603. .article-metadata a {
  604. color: rgba(0,0,0,.54);
  605. }
  606. .article-metadata a:hover {
  607. color: {{ .Get "primary" }};
  608. }
  609. .middot-divider {
  610. padding-right: .45em;
  611. padding-left: .45em;
  612. font-size: 15px;
  613. }
  614. .middot-divider::after {
  615. content: '\00B7';
  616. }
  617. .article-style img,
  618. .article-style video {
  619. margin-left: auto;
  620. margin-right: auto;
  621. margin-top: 60px;
  622. margin-bottom: 60px;
  623. padding: 0;
  624. }
  625. .article-style td img,
  626. .article-style td video {
  627. margin-top: 0;
  628. margin-bottom: 0;
  629. }
  630. .article-style figure {
  631. margin-top: 60px;
  632. margin-bottom: 60px;
  633. }
  634. .article-style figure img {
  635. margin-top: 0;
  636. margin-bottom: 0;
  637. }
  638. .article-widget {
  639. padding-top: 1rem;
  640. }
  641. .article-widget h3 {
  642. margin-top: 0;
  643. }
  644. .hr-light {
  645. border-top: 1px solid rgba(0,0,0,.05);
  646. margin-top: 0.5rem;
  647. margin-bottom: 1rem;
  648. }
  649. #comments {
  650. padding-top: 1rem;
  651. }
  652. /*************************************************
  653. * Stream
  654. **************************************************/
  655. .media.stream-item {
  656. margin-bottom: 2rem;
  657. }
  658. .media.stream-item .article-title {
  659. font-size: 1.2rem;
  660. }
  661. .media.stream-item .article-style {
  662. margin-top: 2px;
  663. font-size: 0.8rem;
  664. }
  665. .media.stream-item .stream-meta {
  666. margin-top: 12px;
  667. }
  668. .media.stream-item img {
  669. max-width: 150px;
  670. height: auto;
  671. object-fit: cover;
  672. }
  673. @media screen and (max-width: 768px) {
  674. .media.stream-item img {
  675. max-width: 80px;
  676. }
  677. }
  678. /*************************************************
  679. * Publications
  680. **************************************************/
  681. .pub-icon {
  682. color: rgba(0, 0, 0, 0.54);
  683. font-size: 0.81em;
  684. padding-top: 6px;
  685. }
  686. .pub-banner {
  687. max-width: 100%;
  688. height: auto;
  689. margin-left: auto;
  690. margin-right: auto;
  691. }
  692. .pub .pub-authors {
  693. font-style: italic;
  694. line-height: 30px; /* Match share bar line height. */
  695. }
  696. .pub .pub-row-heading {
  697. font-weight: bold;
  698. }
  699. .pub-list-item .pub-abstract {
  700. font-size: 1rem;
  701. }
  702. .pub-list-item .pub-authors {
  703. line-height: normal;
  704. font-style: normal;
  705. font-size: 1rem;
  706. color: #3170A5;
  707. }
  708. .pub-list-item .pub-publication {
  709. color: #090;
  710. font-size: 1rem;
  711. }
  712. .pub-list-item .pub-links {
  713. padding-top: 10px;
  714. }
  715. #container-publications {
  716. display: block;
  717. position: relative;
  718. overflow: hidden;
  719. }
  720. /*************************************************
  721. * Experience
  722. **************************************************/
  723. .exp-title {
  724. text-transform: none !important;
  725. }
  726. .exp-company {
  727. font-weight: normal !important;
  728. text-transform: none !important;
  729. }
  730. .exp-meta {
  731. font-size: 0.8rem;
  732. }
  733. .experience .card-text,
  734. .experience .card-text p {
  735. color: #000 !important;
  736. font-size: 0.75rem !important;
  737. }
  738. .dark .experience .text-muted {
  739. color: rgba(255, 255, 255, 0.8) !important;
  740. }
  741. .dark .experience .card-text,
  742. .dark .experience .card-text p {
  743. color: rgb(248, 248, 242) !important;
  744. }
  745. .card .card-text ul {
  746. margin-top: -1rem;
  747. margin-bottom: 0rem;
  748. }
  749. .experience .m-2 .border,
  750. .experience .col.border-right {
  751. border-color: {{ .Get "primary" }} !important;
  752. }
  753. .experience .m-2 .border.exp-fill {
  754. background-color: {{ .Get "primary" }} !important;
  755. }
  756. /*************************************************
  757. * Talks
  758. **************************************************/
  759. .talk-metadata {
  760. color: #4b4f56;
  761. font-size: 0.8rem;
  762. }
  763. /*************************************************
  764. * Projects
  765. **************************************************/
  766. #projects.home-section li {
  767. margin-bottom: 1rem;
  768. }
  769. #projects.home-section li:last-of-type {
  770. margin-bottom: 0;
  771. }
  772. #projects.home-section .project-title {
  773. margin-bottom: 6px;
  774. }
  775. #projects.home-section .project-summary {
  776. font-size: 0.9rem;
  777. margin-bottom: 0.4rem;
  778. }
  779. #projects.home-section .project-tags {
  780. font-size: 0.75rem;
  781. color: #9c9c9c;
  782. }
  783. .projects-container {
  784. display: block;
  785. position: relative;
  786. /*margin-top: 5rem;*/
  787. overflow: hidden;
  788. }
  789. .project-toolbar{
  790. margin-bottom: 2rem;
  791. }
  792. .project-item {
  793. margin-bottom: 1.5rem;
  794. }
  795. .isotope-item {
  796. z-index: 2;
  797. }
  798. .isotope-item:hover{
  799. z-index: 3;
  800. }
  801. /*************************************************
  802. * Card component
  803. **************************************************/
  804. .card-simple {
  805. background: #fff;
  806. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  807. border: 1px solid rgba(0,0,0,.09);
  808. border-radius: 3px;
  809. margin-top: 20px;
  810. padding: 15px 20px 15px 20px;
  811. }
  812. .card-simple:first-of-type {
  813. margin-top: 0;
  814. }
  815. .card-simple p.read-more {
  816. margin: 0;
  817. }
  818. .dark .card-simple {
  819. background: rgb(40, 42, 54);
  820. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  821. border: 1px solid rgb(68, 71, 90);
  822. }
  823. .card {
  824. margin-bottom: 1.5rem;
  825. overflow: hidden;
  826. text-overflow: ellipsis;
  827. background: #fff;
  828. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  829. transition: all 0.2s ease-out;
  830. }
  831. .card .card-image {
  832. display: block;
  833. position: relative;
  834. min-height: 100px;
  835. }
  836. .card h4 {
  837. font-size: 0.9rem;
  838. font-weight: 700;
  839. line-height: 1.5;
  840. text-transform: uppercase;
  841. }
  842. .card h4 a {
  843. color: #000;
  844. border-bottom: solid 1px transparent;
  845. }
  846. .card h4 a:hover {
  847. color: #000;
  848. border-bottom: solid 1px #000;
  849. text-decoration: none;
  850. }
  851. .card .card-text {
  852. padding: 0.75rem 1rem 0.75rem;
  853. }
  854. .card .card-text p {
  855. color: #999999;
  856. font-size: 0.75rem;
  857. }
  858. .card p:last-child {
  859. margin-bottom: 0;
  860. }
  861. .card .card-image.hover-overlay:before {
  862. display: block;
  863. position: absolute;
  864. left: 0;
  865. top: 0;
  866. width: 100%;
  867. height: 100%;
  868. background: #fff;
  869. content: " ";
  870. opacity: 0;
  871. transition: all 0.2s ease-out;
  872. }
  873. .card .card-image.hover-overlay:after {
  874. display: block;
  875. position: absolute;
  876. left: 0;
  877. top: 50%;
  878. width: 100%;
  879. transform: translate(0, -50%);
  880. opacity: 0;
  881. transition: all 0.2s ease-out;
  882. font-family: 'Font Awesome 5 Free';
  883. font-weight: 900;
  884. content: '\f0c1';
  885. text-align: center;
  886. font-size: 3rem;
  887. color: #666;
  888. }
  889. .card:hover {
  890. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  891. }
  892. .card:hover .card-image.hover-overlay:before {
  893. opacity: 0.8;
  894. }
  895. .card:hover .card-image.hover-overlay:after {
  896. opacity: 0.6;
  897. }
  898. /*************************************************
  899. * Contact
  900. **************************************************/
  901. #contact.home-section .fa-ul {
  902. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  903. }
  904. #contact.home-section .fa-li {
  905. position: absolute;
  906. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  907. width: 2rem; /* Match `fa-2x` icon size. */
  908. top: 0.14285714em; /* Default FA value. */
  909. text-align: center;
  910. }
  911. #contact.home-section li {
  912. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  913. margin-bottom: 0.3rem;
  914. }
  915. #contact.home-section li:last-of-type {
  916. margin-bottom: 0;
  917. }
  918. #map {
  919. height: 350px;
  920. width: 100%;
  921. }
  922. /*************************************************
  923. * Footer
  924. **************************************************/
  925. footer {
  926. margin: 4rem 0 0;
  927. padding: 2rem 0;
  928. width: 100%;
  929. }
  930. footer p {
  931. font-size: 0.75rem;
  932. text-align: center;
  933. }
  934. .site-footer,
  935. footer a#back_to_top i {
  936. color: #899596;
  937. }
  938. /**************************************************
  939. * Tags/Labels
  940. **************************************************/
  941. .badge-light {
  942. border: none;
  943. color: rgba(0,0,0,.68);
  944. background: rgba(0,0,0,.05);
  945. font-weight: normal;
  946. border-radius: 3px;
  947. padding: 5px 10px;
  948. margin-right: 8px;
  949. margin-bottom: 8px;
  950. }
  951. .article-tags > .badge-light:last-child {
  952. margin-right: 0;
  953. }
  954. .badge-light[href]:focus,
  955. .badge-light[href]:hover {
  956. background: rgba(0,0,0,.1);
  957. }
  958. a.badge:focus,
  959. a.badge:hover {
  960. color: rgba(0,0,0,.68);
  961. }
  962. /*************************************************
  963. * Button size override
  964. *************************************************/
  965. .btn {
  966. padding: .5rem;
  967. font-size: .8rem;
  968. line-height: .5;
  969. border-radius: .3rem;
  970. }
  971. .btn.btn-sm {
  972. padding: .4rem;
  973. font-size: .6rem;
  974. border-radius: .2rem;
  975. }
  976. /*************************************************
  977. * Button Primary: Color override
  978. **************************************************/
  979. .btn-primary {
  980. border-color: {{ .Get "primary" }};
  981. background: {{ .Get "primary" }};
  982. }
  983. .btn-outline-primary {
  984. border-color: {{ .Get "primary" }};
  985. color: {{ .Get "primary" }};
  986. }
  987. .btn-primary:hover,
  988. .btn-primary:active,
  989. .btn-primary.active,
  990. .btn-primary:visited,
  991. .open > .dropdown-toggle.btn-primary {
  992. background: {{ .Get "primary" }};
  993. }
  994. .btn-outline-light:hover,
  995. .btn-outline-light:active,
  996. .btn-outline-light.active {
  997. background: rgba(0,0,0,0.4);
  998. }
  999. .btn-outline-primary:not(:disabled):not(.disabled).active,
  1000. .btn-outline-primary:not(:disabled):not(.disabled):active,
  1001. .show > .btn-outline-primary.dropdown-toggle {
  1002. color: #fff;
  1003. background-color: {{ .Get "primary" }};
  1004. border-color: {{ .Get "primary" }};
  1005. }
  1006. .btn-outline-primary:hover {
  1007. color: #fff;
  1008. background-color: {{ .Get "primary" }};
  1009. border-color: {{ .Get "primary" }};
  1010. }
  1011. /*************************************************
  1012. * Toolbar Buttons
  1013. **************************************************/
  1014. .btn-toolbar .btn {
  1015. font-size: 0.9rem;
  1016. padding: 10px 14px 9px;
  1017. border: none;
  1018. }
  1019. .btn-toolbar .btn:first-child {
  1020. border-radius: 6px 0 0 6px;
  1021. }
  1022. .btn-toolbar .btn:last-child {
  1023. border-radius: 0 6px 6px 0;
  1024. }
  1025. .btn-toolbar .btn.btn-primary:hover,
  1026. .btn-toolbar .btn.btn-primary:focus {
  1027. background-color: {{ .Get "primary_dark" }} !important;
  1028. }
  1029. .btn-toolbar .btn.btn-primary:active,
  1030. .btn-toolbar .btn.btn-primary.active {
  1031. background-color: {{ .Get "primary_light" }} !important;
  1032. }
  1033. .btn-primary:not(:disabled):not(.disabled).active:focus,
  1034. .btn-primary:not(:disabled):not(.disabled):active:focus,
  1035. .show > .btn-primary.dropdown-toggle:focus {
  1036. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1037. }
  1038. /*************************************************
  1039. * Navigation Bar
  1040. **************************************************/
  1041. .navbar {
  1042. min-height: 70px !important;
  1043. }
  1044. .navbar-light {
  1045. background: {{ .Get "menu_primary" }} !important;
  1046. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  1047. }
  1048. .navbar-light .navbar-toggler {
  1049. border-color: transparent;
  1050. }
  1051. .navbar-toggler {
  1052. color: {{ .Get "menu_text" }} !important;
  1053. }
  1054. .navbar-light .navbar-toggler:focus,
  1055. .navbar-light .navbar-toggler:hover {
  1056. background-color: transparent;
  1057. }
  1058. .dropdown-menu,
  1059. nav#navbar-main li.nav-item {
  1060. font-size: {{ .Get "font_size_small" }}px;
  1061. }
  1062. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1063. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1064. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1065. white-space: nowrap;
  1066. -webkit-transition: 0.2s ease;
  1067. transition: 0.2s ease;
  1068. color: {{ .Get "menu_text" }};
  1069. font-weight: 600;
  1070. }
  1071. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1072. color: {{ .Get "menu_text" }};
  1073. background-color: transparent;
  1074. }
  1075. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1076. color: {{ .Get "menu_text_active" }};
  1077. background-color: transparent;
  1078. }
  1079. .navbar-light .navbar-nav>li.nav-item>a.active,
  1080. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1081. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1082. color: {{ .Get "menu_text_active" }};
  1083. font-weight: 700;
  1084. background-color: transparent !important; /* Override Bootstrap. */
  1085. }
  1086. .navbar-brand,
  1087. .navbar-nav li.nav-item a.nav-link {
  1088. height: inherit;
  1089. line-height: 50px;
  1090. padding-top: 10px;
  1091. padding-bottom: 10px;
  1092. }
  1093. .navbar-brand img {
  1094. max-height: 50px;
  1095. }
  1096. .navbar-light .navbar-toggler .icon-bar {
  1097. background-color: {{ .Get "menu_text" }} !important;
  1098. }
  1099. .dropdown-menu {
  1100. background-color: {{ .Get "menu_primary" }} !important;
  1101. }
  1102. .dropdown-menu > li > a {
  1103. display: block;
  1104. padding: 3px 20px;
  1105. clear: both;
  1106. font-weight: 400;
  1107. line-height: 1.42857143;
  1108. color: {{ .Get "menu_text" }};
  1109. white-space: nowrap;
  1110. }
  1111. .dropdown-menu>li>a:focus,
  1112. .dropdown-menu>li>a:hover {
  1113. color: {{ .Get "menu_text_active" }};
  1114. text-decoration: none;
  1115. background-color: {{ .Get "menu_primary" }};
  1116. }
  1117. .dropdown-menu > .active,
  1118. .dropdown-menu > .active:focus,
  1119. .dropdown-menu > .active:hover {
  1120. color: {{ .Get "menu_primary" }};
  1121. text-decoration: none;
  1122. background-color: {{ .Get "menu_text_active" }};
  1123. outline: 0;
  1124. }
  1125. .navbar-light .navbar-nav>.open>a,
  1126. .navbar-light .navbar-nav>.open>a:focus,
  1127. .navbar-light .navbar-nav>.open>a:hover,
  1128. .navbar-light .navbar-nav>.open>a:visited {
  1129. color: {{ .Get "menu_text" }} !important;
  1130. background-color: {{ .Get "menu_primary" }} !important;
  1131. }
  1132. .navbar-light .navbar-brand {
  1133. text-transform: uppercase;
  1134. font-weight: bold;
  1135. font-size: 1.2em;
  1136. color: {{ .Get "menu_title" }};
  1137. }
  1138. .navbar-light .navbar-brand:focus,
  1139. .navbar-light .navbar-brand:hover {
  1140. color: {{ .Get "menu_title" }};
  1141. background-color: transparent;
  1142. }
  1143. @media screen and (max-width: 1200px) {
  1144. .navbar {
  1145. min-height: 50px !important;
  1146. }
  1147. .navbar-brand,
  1148. .navbar-nav li.nav-item a.nav-link {
  1149. height: inherit;
  1150. line-height: 40px;
  1151. padding-top: 5px;
  1152. padding-bottom: 5px;
  1153. }
  1154. .navbar-brand img {
  1155. max-height: 40px;
  1156. }
  1157. .navbar-toggler {
  1158. display: block;
  1159. }
  1160. .fixed-top {
  1161. top: 0;
  1162. border-width: 0 0 1px;
  1163. }
  1164. .navbar-nav > li.nav-item > a.nav-link {
  1165. padding-top: 10px;
  1166. padding-bottom: 10px;
  1167. line-height: normal;
  1168. }
  1169. .dropdown-menu > li > a {
  1170. display: block;
  1171. padding: 3px 20px;
  1172. clear: both;
  1173. font-weight: 400;
  1174. line-height: 1.42857143;
  1175. color: {{ .Get "menu_text" }};
  1176. white-space: nowrap;
  1177. }
  1178. .navbar-light .navbar-nav .open .dropdown-menu {
  1179. position: static;
  1180. width: auto;
  1181. margin-top: 0;
  1182. background-color: transparent;
  1183. border: 0;
  1184. box-shadow: none;
  1185. }
  1186. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1187. padding: 5px 15px 5px 25px;
  1188. line-height: 20px;
  1189. color: {{ .Get "menu_text" }};
  1190. }
  1191. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1192. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1193. color: inherit;
  1194. background-color: transparent;
  1195. }
  1196. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1197. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1198. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1199. color: {{ .Get "menu_text_active" }};
  1200. background-color: transparent;
  1201. }
  1202. .collapse.in {
  1203. display: block !important;
  1204. }
  1205. }
  1206. /*************************************************
  1207. * Tables
  1208. **************************************************/
  1209. table {
  1210. width: 100%;
  1211. max-width: 100%;
  1212. margin-bottom: 1rem;
  1213. font-size: 0.93rem;
  1214. }
  1215. table > thead > tr > th,
  1216. table > tbody > tr > th,
  1217. table > tfoot > tr > th,
  1218. table > thead > tr > td,
  1219. table > tbody > tr > td,
  1220. table > tfoot > tr > td {
  1221. padding: 8px;
  1222. line-height: 1.43;
  1223. vertical-align: top;
  1224. border-top: 1px solid #ddd;
  1225. }
  1226. table > thead > tr > th {
  1227. vertical-align: bottom;
  1228. border-bottom: 2px solid #ddd;
  1229. }
  1230. table > caption + thead > tr:first-child > th,
  1231. table > colgroup + thead > tr:first-child > th,
  1232. table > thead:first-child > tr:first-child > th,
  1233. table > caption + thead > tr:first-child > td,
  1234. table > colgroup + thead > tr:first-child > td,
  1235. table > thead:first-child > tr:first-child > td {
  1236. border-top: 0;
  1237. }
  1238. table > tbody + tbody {
  1239. border-top: 2px solid #ddd;
  1240. }
  1241. table table {
  1242. background-color: #fff;
  1243. }
  1244. /* Table Striped */
  1245. table > tbody > tr:nth-child(odd) > td,
  1246. table > tbody > tr:nth-child(odd) > th {
  1247. background-color: #f9f9f9;
  1248. }
  1249. /* Table Hover */
  1250. table > tbody > tr:hover > td,
  1251. table > tbody > tr:hover > th {
  1252. background-color: #e5e5e5;
  1253. }
  1254. /*************************************************
  1255. * Alerts
  1256. **************************************************/
  1257. div.alert p {
  1258. position: relative;
  1259. display: block;
  1260. font-size: 1rem;
  1261. margin-left: 2rem;
  1262. margin-top: 0;
  1263. margin-bottom: 0;
  1264. }
  1265. div.alert p:first-child::before {
  1266. position: absolute;
  1267. top: -0.5rem;
  1268. left: -2rem;
  1269. font-size: 1.5rem;
  1270. color: #209cee;
  1271. font-family: 'Font Awesome 5 Free';
  1272. font-weight: 900;
  1273. content: '\f05a';
  1274. width: 1.5rem;
  1275. text-align: center;
  1276. }
  1277. div.alert-warning p:first-child::before {
  1278. font-family: 'Font Awesome 5 Free';
  1279. font-weight: 900;
  1280. color: #ff3860;
  1281. content: '\f071';
  1282. }
  1283. div.alert a {
  1284. color: currentColor;
  1285. text-decoration: none;
  1286. border-bottom: solid 1px currentColor;
  1287. }
  1288. .alert-note {
  1289. color: #12537e;
  1290. background-color: #f6fbfe;
  1291. border-color: #209cee;
  1292. }
  1293. .alert-warning {
  1294. color: #cd0930;
  1295. background-color: #fff5f7;
  1296. border-color: #ff3860;
  1297. }
  1298. /*************************************************
  1299. * Documentation layout
  1300. **************************************************/
  1301. .docs-article-container {
  1302. max-width: 760px;
  1303. }
  1304. /* Documentation: article footer. */
  1305. .docs .body-footer {
  1306. border-top: 1px solid #e8e8e8;
  1307. margin-top: 30px;
  1308. padding-top: 10px;
  1309. font-size: 14px;
  1310. color: #707070;
  1311. }
  1312. /* Docs content. */
  1313. .docs-content {
  1314. order: 1;
  1315. position: relative;
  1316. }
  1317. .docs-content>h2[id],
  1318. .docs-content>h3[id],
  1319. .docs-content>h4[id] {
  1320. pointer-events: none;
  1321. }
  1322. .docs-content>ol li,
  1323. .docs-content>ul li {
  1324. margin-bottom: .25rem;
  1325. }
  1326. /* Docs search. */
  1327. .docs-search {
  1328. position: relative;
  1329. padding: 1rem 15px;
  1330. margin-right: -15px;
  1331. margin-left: -15px;
  1332. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1333. }
  1334. .docs-search .form-control:focus {
  1335. border-color: {{ .Get "primary" }};
  1336. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1337. }
  1338. /* Docs sidebar. */
  1339. .docs-sidebar {
  1340. order: 0;
  1341. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1342. }
  1343. @media (min-width:768px) {
  1344. .docs-sidebar {
  1345. border-right: 1px solid rgba(0, 0, 0, .1)
  1346. }
  1347. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1348. .docs-sidebar {
  1349. position: -webkit-sticky;
  1350. position: sticky;
  1351. top: 51px;
  1352. z-index: 1000;
  1353. height: calc(100vh - 51px)
  1354. }
  1355. }
  1356. }
  1357. @media (min-width:1200px) {
  1358. .docs-sidebar {
  1359. border-right: 1px solid rgba(0, 0, 0, .1)
  1360. }
  1361. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1362. .docs-sidebar {
  1363. position: -webkit-sticky;
  1364. position: sticky;
  1365. top: 71px;
  1366. z-index: 1000;
  1367. height: calc(100vh - 71px)
  1368. }
  1369. }
  1370. }
  1371. @media (min-width:1200px) {
  1372. .docs-sidebar {
  1373. flex: 0 1 320px
  1374. }
  1375. }
  1376. /* Docs sidebar li>a. */
  1377. .docs-sidebar .nav>li>a {
  1378. display: block;
  1379. padding: .25rem 1.5rem;
  1380. font-size: 0.8rem;
  1381. color: rgba(0, 0, 0, .65);
  1382. }
  1383. .docs-sidebar .nav>li>a:hover {
  1384. color: rgba(0, 0, 0, .85);
  1385. text-decoration: none;
  1386. background-color: transparent;
  1387. }
  1388. .docs-sidebar .docs-toc-item.active a,
  1389. .docs-sidebar .nav>.active:hover>a,
  1390. .docs-sidebar .nav>.active>a {
  1391. font-weight: bold;
  1392. color: {{ .Get "primary" }};
  1393. background-color: transparent;
  1394. }
  1395. /* Docs links. */
  1396. .docs-toggle {
  1397. line-height: 1;
  1398. font-size: 1.2rem;
  1399. color: {{ .Get "primary" }};
  1400. background-color: transparent;
  1401. }
  1402. .docs-links {
  1403. padding-top: 1rem;
  1404. padding-bottom: 1rem;
  1405. margin-right: -15px;
  1406. margin-left: -15px;
  1407. }
  1408. @media (min-width:768px) {
  1409. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1410. .docs-links {
  1411. max-height: calc(100vh - 5rem - 71px);
  1412. overflow-y: auto;
  1413. }
  1414. }
  1415. }
  1416. @media (min-width:768px) {
  1417. .docs-links {
  1418. display: block!important;
  1419. }
  1420. }
  1421. /* Docs TOC. */
  1422. .docs-toc {
  1423. order: 2;
  1424. padding-top: 1.5rem;
  1425. padding-bottom: 1.5rem;
  1426. font-size: .875rem
  1427. }
  1428. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1429. .docs-toc {
  1430. position: -webkit-sticky;
  1431. position: sticky;
  1432. top: 71px;
  1433. height: calc(100vh - 71px);
  1434. overflow-y: auto
  1435. }
  1436. }
  1437. /* Docs TOC item links. */
  1438. .docs-toc-link {
  1439. display: block;
  1440. padding: .25rem 1.5rem;
  1441. font-weight: bold;
  1442. color: rgba(0, 0, 0, .65);
  1443. }
  1444. .docs-toc-link:hover {
  1445. color: rgba(0, 0, 0, .85);
  1446. text-decoration: none;
  1447. }
  1448. .docs-toc-item.active {
  1449. margin-bottom: 1rem;
  1450. }
  1451. .docs-toc-item.active:not(:first-child) {
  1452. margin-top: 1rem;
  1453. }
  1454. .docs-toc-item.active>.docs-toc-link {
  1455. color: rgba(0, 0, 0, .85);
  1456. }
  1457. .docs-toc-item.active>.docs-toc-link:hover {
  1458. background-color: transparent;
  1459. }
  1460. .docs-sidenav {
  1461. display: block;
  1462. }
  1463. /* Docs TOC nav. */
  1464. .docs-toc-title {
  1465. color: #b5b5b5;
  1466. font-size: .875rem;
  1467. font-weight: 600;
  1468. padding-left: calc(1.5rem + 1px);
  1469. margin-bottom: .5rem;
  1470. }
  1471. #TableOfContents {
  1472. padding-left: 0;
  1473. border-left: 1px solid #eee;
  1474. }
  1475. #TableOfContents ul,
  1476. ul.toc-top {
  1477. padding-left: 0;
  1478. }
  1479. #TableOfContents ul ul {
  1480. display: none;
  1481. }
  1482. #TableOfContents li {
  1483. display: block;
  1484. }
  1485. #TableOfContents li a,
  1486. .toc-top li a {
  1487. display: block;
  1488. padding: .125rem 1.5rem;
  1489. color: #99979c;
  1490. font-size: 0.7rem;
  1491. }
  1492. #TableOfContents li a:hover,
  1493. .toc-top li a:hover {
  1494. color: {{ .Get "primary" }};
  1495. text-decoration: none;
  1496. }
  1497. /* Docs achnorjs links. */
  1498. .anchorjs-link {
  1499. font-weight: 400;
  1500. color: {{ .Get "primary_dark" }};
  1501. transition: color .16s linear;
  1502. }
  1503. .anchorjs-link:hover {
  1504. color: {{ .Get "primary" }};
  1505. text-decoration: none;
  1506. }
  1507. /*************************************************
  1508. * Dark themed components
  1509. **************************************************/
  1510. body.dark,
  1511. .dark .docs-toc-link,
  1512. .dark .docs-sidebar .nav > li:not(.active) > a,
  1513. .dark .modal button.close,
  1514. .dark input,
  1515. .dark .form-control:focus {
  1516. color: rgb(248, 248, 242);
  1517. }
  1518. .dark .form-control:focus {
  1519. background-color: rgb(68, 71, 90);
  1520. border-color: {{ .Get "primary" }};
  1521. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1522. }
  1523. .dark h1,
  1524. .dark h2,
  1525. .dark h3,
  1526. .dark h4,
  1527. .dark h5,
  1528. .dark h6 {
  1529. color: rgb(152, 166, 173);
  1530. }
  1531. .dark pre,
  1532. .dark code {
  1533. color: rgb(139, 233, 253);
  1534. background-color: rgb(68, 71, 90);
  1535. }
  1536. .dark pre {
  1537. background-color: rgb(68, 71, 90);
  1538. border-color: rgb(68, 71, 90);
  1539. }
  1540. .dark .markup-quote {
  1541. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1542. }
  1543. .dark #MathJax_Zoom {
  1544. background-color: rgb(68, 71, 90) !important;
  1545. }
  1546. .dark ul.share li a {
  1547. background-color: {{ .Get "primary" }};
  1548. }
  1549. .dark table table {
  1550. background-color: rgb(40, 42, 54);
  1551. }
  1552. /* Table Striped */
  1553. .dark table > tbody > tr:nth-child(odd) > td,
  1554. .dark table > tbody > tr:nth-child(odd) > th {
  1555. background-color: rgb(50, 52, 64);
  1556. }
  1557. /* Table Hover */
  1558. .dark table > tbody > tr:hover > td,
  1559. .dark table > tbody > tr:hover > th {
  1560. background-color: rgb(60, 62, 74);
  1561. }
  1562. .dark .article-title a {
  1563. color: #fff;
  1564. }
  1565. .dark #profile .portrait-title h2 {
  1566. color: #fff;
  1567. }
  1568. .dark #profile .portrait-title h3 {
  1569. color: rgba(255, 255, 255, 0.54);
  1570. }
  1571. .dark ul.ul-edu li .description p.institution {
  1572. color: rgba(255, 255, 255, 0.6);
  1573. }
  1574. .dark .pub-icon {
  1575. color: rgba(255, 255, 255, 0.54);
  1576. }
  1577. .dark .talk-metadata {
  1578. color: rgba(255, 255, 255, 0.54);
  1579. }
  1580. .dark .pagination li > a, .pagination li > span {
  1581. background-color: rgb(40, 42, 54);
  1582. border: 1px solid #ddd;
  1583. }
  1584. .dark .card {
  1585. background: #343a40;
  1586. }
  1587. .dark .card h4 a {
  1588. color: {{ .Get "primary" }};
  1589. border-bottom: solid 1px transparent;
  1590. }
  1591. .dark .card .card-image.hover-overlay::before {
  1592. background: #666;
  1593. }
  1594. .dark .card .card-image.hover-overlay::after {
  1595. color: #fff;
  1596. }
  1597. .dark .navbar-light {
  1598. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1599. border-color: #070707;
  1600. }
  1601. .dark select {
  1602. background: rgb(40, 42, 54);
  1603. color: rgb(248, 248, 242);
  1604. }
  1605. /* Algolia search input */
  1606. .dark .ais-search-box--input {
  1607. background-color: rgb(68, 71, 90);
  1608. }
  1609. .dark #search-query {
  1610. background-color: rgb(68, 71, 90);
  1611. }
  1612. .dark .badge-light {
  1613. color: rgba(255, 255, 255, .68);
  1614. background: rgba(255, 255, 255, .2);
  1615. }
  1616. .dark .badge-light[href]:focus,
  1617. .dark .badge-light[href]:hover {
  1618. background: rgba(255, 255, 255, .3);
  1619. }
  1620. .dark a.badge:focus,
  1621. .dark a.badge:hover {
  1622. color: rgba(255, 255, 255, .68);
  1623. }