academic.css 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438
  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. .course {
  1123. margin-bottom: -0.5rem;
  1124. }
  1125. .course h6 {
  1126. font-size: 0.80rem;
  1127. font-weight: 700;
  1128. line-height: 1.5;
  1129. text-transform: uppercase;
  1130. }
  1131. .course h6 a {
  1132. border-bottom: solid 1px transparent;
  1133. }
  1134. .course h6 a:hover {
  1135. border-bottom: solid 1px;
  1136. text-decoration: none;
  1137. }
  1138. /*************************************************
  1139. * Card component
  1140. **************************************************/
  1141. .card-simple {
  1142. background: #fff;
  1143. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1144. border: 1px solid rgba(0,0,0,.09);
  1145. border-radius: 3px;
  1146. margin-top: 20px;
  1147. padding: 15px 20px 15px 20px;
  1148. }
  1149. .card-simple:first-of-type {
  1150. margin-top: 0;
  1151. }
  1152. .card-simple p.read-more {
  1153. margin: 0;
  1154. }
  1155. .dark .card-simple {
  1156. background: rgb(40, 42, 54);
  1157. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  1158. border: 1px solid rgb(68, 71, 90);
  1159. }
  1160. .card {
  1161. margin-bottom: 1.5rem;
  1162. overflow: hidden;
  1163. text-overflow: ellipsis;
  1164. background: #fff;
  1165. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  1166. transition: all 0.2s ease-out;
  1167. }
  1168. .card .card-image {
  1169. display: block;
  1170. position: relative;
  1171. min-height: 100px;
  1172. }
  1173. .card h4 {
  1174. font-size: 0.9rem;
  1175. font-weight: 700;
  1176. line-height: 1.5;
  1177. text-transform: uppercase;
  1178. }
  1179. .card h4 a {
  1180. color: #000;
  1181. border-bottom: solid 1px transparent;
  1182. }
  1183. .card h4 a:hover {
  1184. color: #000;
  1185. border-bottom: solid 1px #000;
  1186. text-decoration: none;
  1187. }
  1188. .card .card-text {
  1189. padding: 0.75rem 1rem 0.75rem;
  1190. }
  1191. .card .card-text p {
  1192. color: rgba(0,0,0,0.54);
  1193. font-size: 0.75rem;
  1194. }
  1195. .dark .card-text p {
  1196. color: rgb(248, 248, 242);
  1197. }
  1198. .card p:last-child {
  1199. margin-bottom: 0;
  1200. }
  1201. .card .card-image.hover-overlay:before {
  1202. display: block;
  1203. position: absolute;
  1204. left: 0;
  1205. top: 0;
  1206. width: 100%;
  1207. height: 100%;
  1208. background: #fff;
  1209. content: " ";
  1210. opacity: 0;
  1211. transition: all 0.2s ease-out;
  1212. }
  1213. .card .card-image.hover-overlay:after {
  1214. display: block;
  1215. position: absolute;
  1216. left: 0;
  1217. top: 50%;
  1218. width: 100%;
  1219. transform: translate(0, -50%);
  1220. opacity: 0;
  1221. transition: all 0.2s ease-out;
  1222. font-family: 'Font Awesome 5 Free';
  1223. font-weight: 900;
  1224. content: '\f0c1';
  1225. text-align: center;
  1226. font-size: 3rem;
  1227. color: #666;
  1228. }
  1229. .card:hover {
  1230. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  1231. }
  1232. .card:hover .card-image.hover-overlay:before {
  1233. opacity: 0.8;
  1234. }
  1235. .card:hover .card-image.hover-overlay:after {
  1236. opacity: 0.6;
  1237. }
  1238. /*************************************************
  1239. * Contact
  1240. **************************************************/
  1241. .contact-widget .fa-ul {
  1242. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  1243. }
  1244. .contact-widget .fa-li {
  1245. position: absolute;
  1246. left: -3.14285714rem; /* Negative of `.contact-widget .fa-ul` margin. */
  1247. width: 2rem; /* Match `fa-2x` icon size. */
  1248. top: 0.14285714em; /* Default FA value. */
  1249. text-align: center;
  1250. }
  1251. .contact-widget li {
  1252. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  1253. margin-bottom: 0.3rem;
  1254. }
  1255. .contact-widget li:last-of-type {
  1256. margin-bottom: 0;
  1257. }
  1258. #map {
  1259. height: 350px;
  1260. width: 100%;
  1261. }
  1262. /*************************************************
  1263. * Footer
  1264. **************************************************/
  1265. footer {
  1266. margin: 4rem 0 0;
  1267. padding: 2rem 0;
  1268. width: 100%;
  1269. }
  1270. footer p {
  1271. font-size: 0.75rem;
  1272. text-align: center;
  1273. }
  1274. .site-footer,
  1275. footer a#back_to_top i {
  1276. color: rgba(0,0,0,0.54);
  1277. }
  1278. .dark .site-footer,
  1279. .dark footer a#back_to_top i,
  1280. .dark .docs .body-footer {
  1281. color: rgba(255,255,255,0.54);
  1282. }
  1283. /**************************************************
  1284. * Tags/Labels
  1285. **************************************************/
  1286. .badge-light {
  1287. border: none;
  1288. color: rgba(0,0,0,.68);
  1289. background: rgba(0,0,0,.05);
  1290. font-weight: normal;
  1291. border-radius: 3px;
  1292. padding: 5px 10px;
  1293. margin-right: 8px;
  1294. margin-bottom: 8px;
  1295. }
  1296. .article-tags > .badge-light:last-child {
  1297. margin-right: 0;
  1298. }
  1299. .badge-light[href]:focus,
  1300. .badge-light[href]:hover {
  1301. background: rgba(0,0,0,.1);
  1302. }
  1303. a.badge:focus,
  1304. a.badge:hover {
  1305. color: rgba(0,0,0,.68);
  1306. }
  1307. .tag-cloud a {
  1308. display: inline-block;
  1309. position: relative;
  1310. margin: 5px 10px;
  1311. word-wrap: break-word;
  1312. transition-duration: .2s;
  1313. transition-property: transform;
  1314. transition-timing-function: ease-out;
  1315. }
  1316. .tag-cloud a:active,
  1317. .tag-cloud a:focus,
  1318. .tag-cloud a:hover {
  1319. color: {{ .Get "primary_dark" }};
  1320. transform: scale(1.2);
  1321. }
  1322. .dark .tag-cloud a:active,
  1323. .dark .tag-cloud a:focus,
  1324. .dark .tag-cloud a:hover {
  1325. color: {{ .Get "primary_light" }};
  1326. }
  1327. /*************************************************
  1328. * Button size override
  1329. *************************************************/
  1330. .btn {
  1331. padding: .5rem;
  1332. font-size: .8rem;
  1333. line-height: .5;
  1334. border-radius: .3rem;
  1335. }
  1336. .btn-links .btn {
  1337. padding: 5px .5rem 5px .5rem;
  1338. line-height: 1;
  1339. }
  1340. .btn.btn-sm {
  1341. padding: 5px .4rem 5px .4rem;
  1342. font-size: .6rem;
  1343. border-radius: .2rem;
  1344. }
  1345. /*************************************************
  1346. * Button Primary: Color override
  1347. **************************************************/
  1348. .btn-primary {
  1349. border-color: {{ .Get "primary" }};
  1350. background: {{ .Get "primary" }};
  1351. }
  1352. .btn-outline-primary {
  1353. border-color: {{ .Get "primary" }};
  1354. color: {{ .Get "primary" }};
  1355. }
  1356. .btn-primary:hover,
  1357. .btn-primary:active,
  1358. .btn-primary.active,
  1359. .btn-primary:visited,
  1360. .open > .dropdown-toggle.btn-primary {
  1361. background: {{ .Get "primary" }};
  1362. }
  1363. .btn-outline-light:hover,
  1364. .btn-outline-light:active,
  1365. .btn-outline-light.active {
  1366. background: rgba(0,0,0,0.4);
  1367. }
  1368. .btn-outline-primary:not(:disabled):not(.disabled).active,
  1369. .btn-outline-primary:not(:disabled):not(.disabled):active,
  1370. .show > .btn-outline-primary.dropdown-toggle {
  1371. color: #fff;
  1372. background-color: {{ .Get "primary" }};
  1373. border-color: {{ .Get "primary" }};
  1374. }
  1375. .dark .btn-outline-primary:not(:disabled):not(.disabled).active,
  1376. .dark .btn-outline-primary:not(:disabled):not(.disabled):active,
  1377. .dark .show > .btn-outline-primary.dropdown-toggle {
  1378. color: rgb(68, 71, 90);
  1379. }
  1380. .btn-outline-primary:hover {
  1381. color: #fff;
  1382. background-color: {{ .Get "primary" }};
  1383. border-color: {{ .Get "primary" }};
  1384. }
  1385. .dark .btn-outline-primary:hover {
  1386. color: rgb(68, 71, 90);
  1387. }
  1388. /*************************************************
  1389. * Toolbar Buttons
  1390. **************************************************/
  1391. .btn-toolbar .btn {
  1392. font-size: 0.9rem;
  1393. padding: 10px 14px 9px;
  1394. border: none;
  1395. }
  1396. .btn-toolbar .btn:first-child {
  1397. border-radius: 6px 0 0 6px;
  1398. }
  1399. .btn-toolbar .btn:last-child {
  1400. border-radius: 0 6px 6px 0;
  1401. }
  1402. .btn-toolbar .btn.btn-primary:hover,
  1403. .btn-toolbar .btn.btn-primary:focus {
  1404. background-color: {{ .Get "primary_light" }} !important;
  1405. }
  1406. .btn-toolbar .btn.btn-primary:active,
  1407. .btn-toolbar .btn.btn-primary.active {
  1408. background-color: {{ .Get "primary_dark" }} !important;
  1409. }
  1410. .btn-primary:not(:disabled):not(.disabled).active:focus,
  1411. .btn-primary:not(:disabled):not(.disabled):active:focus,
  1412. .show > .btn-primary.dropdown-toggle:focus {
  1413. box-shadow: 0 0 0 .2rem {{ .Get "primary_light" }};
  1414. }
  1415. /*************************************************
  1416. * Navigation Bar
  1417. **************************************************/
  1418. .navbar {
  1419. min-height: 70px !important;
  1420. }
  1421. .navbar-light {
  1422. background: {{ .Get "menu_primary" }} !important;
  1423. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  1424. }
  1425. .navbar-light .navbar-toggler {
  1426. border-color: transparent;
  1427. }
  1428. .navbar-toggler {
  1429. color: {{ .Get "menu_text" }} !important;
  1430. }
  1431. .navbar-light .navbar-toggler:focus,
  1432. .navbar-light .navbar-toggler:hover {
  1433. background-color: transparent;
  1434. }
  1435. .dropdown-menu,
  1436. nav#navbar-main li.nav-item {
  1437. font-size: {{ .Get "font_size_small" }}px;
  1438. }
  1439. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1440. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1441. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1442. white-space: nowrap;
  1443. -webkit-transition: 0.2s ease;
  1444. transition: 0.2s ease;
  1445. color: {{ .Get "menu_text" }};
  1446. font-weight: 600;
  1447. }
  1448. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1449. color: {{ .Get "menu_text" }};
  1450. background-color: transparent;
  1451. }
  1452. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1453. color: {{ .Get "menu_text_active" }};
  1454. background-color: transparent;
  1455. }
  1456. .navbar-light .navbar-nav>li.nav-item>a.active,
  1457. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1458. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1459. color: {{ .Get "menu_text_active" }};
  1460. font-weight: 700;
  1461. background-color: transparent !important; /* Override Bootstrap. */
  1462. }
  1463. .navbar-brand,
  1464. .navbar-nav li.nav-item a.nav-link {
  1465. height: inherit;
  1466. line-height: 50px;
  1467. padding-top: 10px;
  1468. padding-bottom: 10px;
  1469. }
  1470. .navbar-brand img {
  1471. max-height: 50px;
  1472. }
  1473. .navbar-light .navbar-toggler .icon-bar {
  1474. background-color: {{ .Get "menu_text" }} !important;
  1475. }
  1476. .dropdown-menu {
  1477. background-color: {{ .Get "menu_primary" }} !important;
  1478. }
  1479. .dropdown-menu > li > a {
  1480. display: block;
  1481. padding: 3px 20px;
  1482. clear: both;
  1483. font-weight: 400;
  1484. line-height: 1.42857143;
  1485. color: {{ .Get "menu_text" }};
  1486. white-space: nowrap;
  1487. }
  1488. .dropdown-menu>li>a:focus,
  1489. .dropdown-menu>li>a:hover {
  1490. color: {{ .Get "menu_text_active" }};
  1491. text-decoration: none;
  1492. background-color: {{ .Get "menu_primary" }};
  1493. }
  1494. .dropdown-menu > .active,
  1495. .dropdown-menu > .active:focus,
  1496. .dropdown-menu > .active:hover {
  1497. color: {{ .Get "menu_primary" }};
  1498. text-decoration: none;
  1499. background-color: {{ .Get "menu_text_active" }};
  1500. outline: 0;
  1501. }
  1502. .navbar-light .navbar-nav>.open>a,
  1503. .navbar-light .navbar-nav>.open>a:focus,
  1504. .navbar-light .navbar-nav>.open>a:hover,
  1505. .navbar-light .navbar-nav>.open>a:visited {
  1506. color: {{ .Get "menu_text" }} !important;
  1507. background-color: {{ .Get "menu_primary" }} !important;
  1508. }
  1509. .navbar-light .navbar-brand {
  1510. font-weight: bold;
  1511. font-size: 1.2em;
  1512. color: {{ .Get "menu_title" }};
  1513. }
  1514. .navbar-light .navbar-brand:focus,
  1515. .navbar-light .navbar-brand:hover {
  1516. color: {{ .Get "menu_title" }};
  1517. background-color: transparent;
  1518. }
  1519. @media screen and (max-width: 1200px) {
  1520. .navbar {
  1521. min-height: 50px !important;
  1522. }
  1523. .navbar-brand,
  1524. .navbar-nav li.nav-item a.nav-link {
  1525. height: inherit;
  1526. line-height: 40px;
  1527. padding-top: 5px;
  1528. padding-bottom: 5px;
  1529. }
  1530. .navbar-brand img {
  1531. max-height: 40px;
  1532. }
  1533. .navbar-toggler {
  1534. display: block;
  1535. }
  1536. .fixed-top {
  1537. top: 0;
  1538. border-width: 0 0 1px;
  1539. }
  1540. .navbar-nav > li.nav-item > a.nav-link {
  1541. padding-top: 10px;
  1542. padding-bottom: 10px;
  1543. line-height: normal;
  1544. }
  1545. .dropdown-menu > li > a {
  1546. display: block;
  1547. padding: 3px 20px;
  1548. clear: both;
  1549. font-weight: 400;
  1550. line-height: 1.42857143;
  1551. color: {{ .Get "menu_text" }};
  1552. white-space: nowrap;
  1553. }
  1554. .navbar-light .navbar-nav .open .dropdown-menu {
  1555. position: static;
  1556. width: auto;
  1557. margin-top: 0;
  1558. background-color: transparent;
  1559. border: 0;
  1560. box-shadow: none;
  1561. }
  1562. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1563. padding: 5px 15px 5px 25px;
  1564. line-height: 20px;
  1565. color: {{ .Get "menu_text" }};
  1566. }
  1567. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1568. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1569. color: inherit;
  1570. background-color: transparent;
  1571. }
  1572. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1573. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1574. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1575. color: {{ .Get "menu_text_active" }};
  1576. background-color: transparent;
  1577. }
  1578. .collapse.in {
  1579. display: block !important;
  1580. }
  1581. }
  1582. /*************************************************
  1583. * Tables
  1584. **************************************************/
  1585. table {
  1586. width: 100%;
  1587. max-width: 100%;
  1588. margin-bottom: 1rem;
  1589. font-size: 0.93rem;
  1590. }
  1591. table > thead > tr > th,
  1592. table > tbody > tr > th,
  1593. table > tfoot > tr > th,
  1594. table > thead > tr > td,
  1595. table > tbody > tr > td,
  1596. table > tfoot > tr > td {
  1597. padding: 8px;
  1598. line-height: 1.43;
  1599. vertical-align: top;
  1600. border-top: 1px solid #ddd;
  1601. }
  1602. table > thead > tr > th {
  1603. vertical-align: bottom;
  1604. border-bottom: 2px solid #ddd;
  1605. }
  1606. table > caption + thead > tr:first-child > th,
  1607. table > colgroup + thead > tr:first-child > th,
  1608. table > thead:first-child > tr:first-child > th,
  1609. table > caption + thead > tr:first-child > td,
  1610. table > colgroup + thead > tr:first-child > td,
  1611. table > thead:first-child > tr:first-child > td {
  1612. border-top: 0;
  1613. }
  1614. table > tbody + tbody {
  1615. border-top: 2px solid #ddd;
  1616. }
  1617. table table {
  1618. background-color: #fff;
  1619. }
  1620. /* Table Striped */
  1621. table > tbody > tr:nth-child(odd) > td,
  1622. table > tbody > tr:nth-child(odd) > th {
  1623. background-color: #f9f9f9;
  1624. }
  1625. /* Table Hover */
  1626. table > tbody > tr:hover > td,
  1627. table > tbody > tr:hover > th {
  1628. background-color: #e5e5e5;
  1629. }
  1630. /*************************************************
  1631. * Alerts
  1632. **************************************************/
  1633. div.alert > div {
  1634. position: relative;
  1635. display: block;
  1636. font-size: 1rem;
  1637. margin-left: 2rem;
  1638. margin-top: 0;
  1639. margin-bottom: 0;
  1640. }
  1641. div.alert div > * {
  1642. margin-bottom: .5rem; /* Use smaller paragraph spacing than usual. */
  1643. }
  1644. div.alert div > :last-child {
  1645. margin-bottom: 0;
  1646. }
  1647. div.alert > div:first-child::before {
  1648. position: absolute;
  1649. top: -0.5rem;
  1650. left: -2rem;
  1651. font-size: 1.5rem;
  1652. color: #209cee;
  1653. font-family: 'Font Awesome 5 Free';
  1654. font-weight: 900;
  1655. content: '\f05a';
  1656. width: 1.5rem;
  1657. text-align: center;
  1658. }
  1659. div.alert-warning > div:first-child::before {
  1660. font-family: 'Font Awesome 5 Free';
  1661. font-weight: 900;
  1662. color: #ff3860;
  1663. content: '\f071';
  1664. }
  1665. div.alert a {
  1666. color: currentColor;
  1667. text-decoration: none;
  1668. border-bottom: solid 1px currentColor;
  1669. }
  1670. .alert-note {
  1671. color: #12537e;
  1672. background-color: #f6fbfe;
  1673. border-color: #209cee;
  1674. }
  1675. .alert-warning {
  1676. color: #cd0930;
  1677. background-color: #fff5f7;
  1678. border-color: #ff3860;
  1679. }
  1680. /*************************************************
  1681. * Documentation layout
  1682. **************************************************/
  1683. .docs-article-container {
  1684. max-width: 760px;
  1685. }
  1686. /* Documentation: article footer. */
  1687. .docs .body-footer {
  1688. border-top: 1px solid #e8e8e8;
  1689. margin-top: 30px;
  1690. padding-top: 10px;
  1691. font-size: 14px;
  1692. color: #707070;
  1693. }
  1694. /* Docs content. */
  1695. .docs-content {
  1696. order: 1;
  1697. position: relative;
  1698. }
  1699. .docs-content>h2[id],
  1700. .docs-content>h3[id],
  1701. .docs-content>h4[id] {
  1702. pointer-events: none;
  1703. }
  1704. .docs-content>ol li,
  1705. .docs-content>ul li {
  1706. margin-bottom: .25rem;
  1707. }
  1708. /* Docs search. */
  1709. .docs-search {
  1710. position: relative;
  1711. padding: 1rem 15px;
  1712. margin-right: -15px;
  1713. margin-left: -15px;
  1714. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1715. }
  1716. .docs-search .form-control:focus {
  1717. border-color: {{ .Get "primary" }};
  1718. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1719. }
  1720. /* Docs sidebar. */
  1721. .docs-sidebar {
  1722. order: 0;
  1723. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1724. }
  1725. @media (min-width:768px) {
  1726. .docs-sidebar {
  1727. border-right: 1px solid rgba(0, 0, 0, .1)
  1728. }
  1729. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1730. .docs-sidebar {
  1731. position: -webkit-sticky;
  1732. position: sticky;
  1733. top: 50px;
  1734. z-index: 10;
  1735. height: calc(100vh - 50px)
  1736. }
  1737. }
  1738. }
  1739. @media (min-width:1200px) {
  1740. .docs-sidebar {
  1741. border-right: 1px solid rgba(0, 0, 0, .1)
  1742. }
  1743. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1744. .docs-sidebar {
  1745. position: -webkit-sticky;
  1746. position: sticky;
  1747. top: 70px;
  1748. z-index: 10;
  1749. height: calc(100vh - 70px)
  1750. }
  1751. }
  1752. }
  1753. @media (min-width:1200px) {
  1754. .docs-sidebar {
  1755. flex: 0 1 320px
  1756. }
  1757. }
  1758. /* Docs sidebar li>a. */
  1759. .docs-sidebar .nav>li>a {
  1760. display: block;
  1761. padding: .25rem 1.5rem;
  1762. font-size: 0.8rem;
  1763. color: rgba(0, 0, 0, .65);
  1764. }
  1765. .docs-sidebar .nav>li>a:hover {
  1766. color: rgba(0, 0, 0, .85);
  1767. text-decoration: none;
  1768. background-color: transparent;
  1769. }
  1770. .docs-sidebar .docs-toc-item.active a,
  1771. .docs-sidebar .nav>.active:hover>a,
  1772. .docs-sidebar .nav>.active>a {
  1773. font-weight: bold;
  1774. color: {{ .Get "primary" }};
  1775. background-color: transparent;
  1776. }
  1777. /* Docs links. */
  1778. .docs-toggle {
  1779. line-height: 1;
  1780. font-size: 1.2rem;
  1781. color: {{ .Get "primary" }};
  1782. background-color: transparent;
  1783. }
  1784. .docs-links {
  1785. padding-top: 1rem;
  1786. padding-bottom: 1rem;
  1787. margin-right: -15px;
  1788. margin-left: -15px;
  1789. }
  1790. @media (min-width:768px) {
  1791. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1792. .docs-links {
  1793. max-height: calc(100vh - 5rem - 70px);
  1794. overflow-y: auto;
  1795. }
  1796. }
  1797. }
  1798. @media (min-width:768px) {
  1799. .docs-links {
  1800. display: block!important;
  1801. }
  1802. }
  1803. /* Docs TOC. */
  1804. .docs-toc {
  1805. order: 2;
  1806. padding-top: 1.5rem;
  1807. padding-bottom: 1.5rem;
  1808. font-size: .875rem
  1809. }
  1810. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1811. .docs-toc {
  1812. position: -webkit-sticky;
  1813. position: sticky;
  1814. top: 70px;
  1815. height: calc(100vh - 70px);
  1816. overflow-y: auto
  1817. }
  1818. }
  1819. /* Docs TOC item links. */
  1820. .docs-toc-link {
  1821. display: block;
  1822. padding: .25rem 1.5rem;
  1823. font-weight: bold;
  1824. color: rgba(0, 0, 0, .65);
  1825. }
  1826. .docs-toc-link:hover {
  1827. color: rgba(0, 0, 0, .85);
  1828. text-decoration: none;
  1829. }
  1830. .docs-toc-item.active {
  1831. margin-bottom: 1rem;
  1832. }
  1833. .docs-toc-item.active:not(:first-child) {
  1834. margin-top: 1rem;
  1835. }
  1836. .docs-toc-item.active>.docs-toc-link {
  1837. color: rgba(0, 0, 0, .85);
  1838. }
  1839. .docs-toc-item.active>.docs-toc-link:hover {
  1840. background-color: transparent;
  1841. }
  1842. .docs-sidenav {
  1843. display: block;
  1844. }
  1845. /* Docs TOC nav. */
  1846. .docs-toc-title {
  1847. color: #b5b5b5;
  1848. font-size: .875rem;
  1849. font-weight: 600;
  1850. padding-left: calc(1.5rem + 1px);
  1851. margin-bottom: .5rem;
  1852. }
  1853. #TableOfContents {
  1854. padding-left: 0;
  1855. border-left: 1px solid #eee;
  1856. }
  1857. #TableOfContents ul,
  1858. ul.toc-top {
  1859. padding-left: 0;
  1860. }
  1861. #TableOfContents ul ul {
  1862. display: none;
  1863. }
  1864. #TableOfContents li {
  1865. display: block;
  1866. }
  1867. #TableOfContents li a,
  1868. .toc-top li a {
  1869. display: block;
  1870. padding: .125rem 1.5rem;
  1871. color: #99979c;
  1872. font-size: 0.7rem;
  1873. }
  1874. #TableOfContents li a:hover,
  1875. .toc-top li a:hover {
  1876. color: {{ .Get "primary" }};
  1877. text-decoration: none;
  1878. }
  1879. /* Docs achnorjs links. */
  1880. .anchorjs-link {
  1881. font-weight: 400;
  1882. color: {{ .Get "primary_dark" }};
  1883. transition: color .16s linear;
  1884. }
  1885. .anchorjs-link:hover {
  1886. color: {{ .Get "primary" }};
  1887. text-decoration: none;
  1888. }
  1889. /*************************************************
  1890. * Dark themed components
  1891. **************************************************/
  1892. body.dark,
  1893. .dark .docs-toc-link,
  1894. .dark .docs-sidebar .nav > li:not(.active) > a,
  1895. .dark .modal button.close,
  1896. .dark input,
  1897. .dark .form-control,
  1898. .dark .form-control:focus {
  1899. color: rgb(248, 248, 242);
  1900. background: {{ .Get "dark_background" }};
  1901. }
  1902. .dark .form-control {
  1903. background-color: rgb(68, 71, 90);
  1904. }
  1905. .dark .form-control:focus {
  1906. background-color: rgb(68, 71, 90);
  1907. border-color: {{ .Get "primary" }};
  1908. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1909. }
  1910. .dark h1,
  1911. .dark h2,
  1912. .dark h3,
  1913. .dark h4,
  1914. .dark h5,
  1915. .dark h6 {
  1916. color: rgb(152, 166, 173);
  1917. }
  1918. .dark pre,
  1919. .dark code {
  1920. color: rgb(139, 233, 253);
  1921. background-color: rgb(68, 71, 90);
  1922. }
  1923. .dark pre {
  1924. background-color: rgb(68, 71, 90);
  1925. border-color: rgb(68, 71, 90);
  1926. }
  1927. .dark .markup-quote {
  1928. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1929. }
  1930. .dark #MathJax_Zoom {
  1931. background-color: rgb(68, 71, 90) !important;
  1932. }
  1933. .dark ul.share li a {
  1934. background-color: {{ .Get "primary" }};
  1935. }
  1936. .dark table table {
  1937. background-color: rgb(40, 42, 54);
  1938. }
  1939. /* Table Striped */
  1940. .dark table > tbody > tr:nth-child(odd) > td,
  1941. .dark table > tbody > tr:nth-child(odd) > th {
  1942. background-color: rgb(50, 52, 64);
  1943. }
  1944. /* Table Hover */
  1945. .dark table > tbody > tr:hover > td,
  1946. .dark table > tbody > tr:hover > th {
  1947. background-color: rgb(60, 62, 74);
  1948. }
  1949. .dark .article-title a {
  1950. color: #fff;
  1951. }
  1952. .dark .portrait-title h2 {
  1953. color: #fff;
  1954. }
  1955. .dark .portrait-title h3 {
  1956. color: rgba(255, 255, 255, 0.54);
  1957. }
  1958. .dark ul.ul-edu li .description p.institution {
  1959. color: rgba(255, 255, 255, 0.6);
  1960. }
  1961. .dark .pub-icon {
  1962. color: rgba(255, 255, 255, 0.54);
  1963. }
  1964. .dark .talk-metadata {
  1965. color: rgba(255, 255, 255, 0.54);
  1966. }
  1967. .dark .pagination li > a, .pagination li > span {
  1968. background-color: rgb(40, 42, 54);
  1969. border: 1px solid #ddd;
  1970. }
  1971. .dark .card {
  1972. background: #343a40;
  1973. }
  1974. .dark .card h4 a {
  1975. color: {{ .Get "primary" }};
  1976. border-bottom: solid 1px transparent;
  1977. }
  1978. .dark .card .card-image.hover-overlay::before {
  1979. background: #666;
  1980. }
  1981. .dark .card .card-image.hover-overlay::after {
  1982. color: #fff;
  1983. }
  1984. .dark .navbar-light {
  1985. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1986. border-color: #070707;
  1987. }
  1988. .dark select {
  1989. background: rgb(40, 42, 54);
  1990. color: rgb(248, 248, 242);
  1991. }
  1992. /* Algolia search input */
  1993. .dark .ais-search-box--input {
  1994. background-color: rgb(68, 71, 90);
  1995. }
  1996. .dark #search-query {
  1997. background-color: rgb(68, 71, 90);
  1998. }
  1999. .dark .badge-light {
  2000. color: rgba(255, 255, 255, .68);
  2001. background: rgba(255, 255, 255, .2);
  2002. }
  2003. .dark .badge-light[href]:focus,
  2004. .dark .badge-light[href]:hover {
  2005. background: rgba(255, 255, 255, .3);
  2006. }
  2007. .dark a.badge:focus,
  2008. .dark a.badge:hover {
  2009. color: rgba(255, 255, 255, .68);
  2010. }
  2011. .dark .btn-primary,
  2012. .dark .btn.btn-primary.active {
  2013. color: initial;
  2014. }