academic.css 40 KB

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