academic.css 41 KB

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