academic.css 44 KB

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