academic.css 43 KB

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