academic.scss 44 KB

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