academic.css 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863
  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: 71px; /* 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: 51px; /* 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. overflow-wrap: break-word; /* Ensures very long heading words do not overflow into content. */
  72. }
  73. h1 {
  74. font-size: 2.25rem;
  75. }
  76. h2 {
  77. margin-top: 1rem;
  78. font-size: 1.5rem;
  79. }
  80. h3 {
  81. font-weight: 700;
  82. margin-top: 1.5rem;
  83. font-size: 1.25rem;
  84. }
  85. h4, h5, h6 {
  86. font-weight: 700;
  87. margin-top: 1rem;
  88. font-size: 1rem;
  89. }
  90. a,
  91. h3.article-title a:hover {
  92. color: {{ .Get "primary" }};
  93. text-decoration: none;
  94. transition: color 0.6s ease;
  95. }
  96. a:hover,
  97. a:focus {
  98. color: {{ .Get "primary" }};
  99. }
  100. img,
  101. video {
  102. height: auto;
  103. max-width: 100%;
  104. display: block;
  105. }
  106. video {
  107. width: 100%;
  108. height: auto;
  109. max-height: 400px;
  110. }
  111. .img-responsive {
  112. /* Extend Bootstrap declaration with centering. */
  113. margin: 0 auto;
  114. }
  115. figcaption {
  116. display: block;
  117. margin-top: 0.75em;
  118. line-height: 1.25;
  119. font-size: 1rem;
  120. margin-bottom: 1.65rem;
  121. font-family: '{{ .Get "heading_font" }}', sans-serif;
  122. }
  123. figcaption.numbered:before {
  124. font-weight: 700;
  125. text-transform: uppercase;
  126. content: attr(data-pre) counter(captions) attr(data-post);
  127. }
  128. figcaption.numbered {
  129. counter-increment: captions;
  130. }
  131. figcaption h4 {
  132. display: inline;
  133. font-size: 1rem;
  134. font-weight: 400;
  135. margin: 0;
  136. }
  137. pre,
  138. code {
  139. font-family: '{{ .Get "mono_font" }}', monospace;
  140. color: #c7254e;
  141. background-color: #f9f2f4;
  142. }
  143. pre {
  144. margin: 0 0 1rem 0;
  145. background-color: rgb(248, 248, 248); /* Match default highlight theme. */
  146. border-color: rgb(248, 248, 248);
  147. font-size: 0.7rem;
  148. border-radius: 4px;
  149. }
  150. pre code {
  151. white-space: pre; /* Override Bootstrap to preserve line breaks in code. */
  152. overflow-x: auto;
  153. }
  154. hr {
  155. border: 0;
  156. height: 1px;
  157. background: #333;
  158. background-image: linear-gradient(to right, #ccc, #333, #ccc);
  159. }
  160. /* Quotes */
  161. blockquote {
  162. padding: .5rem 1rem;
  163. margin: .8rem 0;
  164. color: #7a7a7a;
  165. border-left: .25rem solid #e5e5e5;
  166. }
  167. blockquote p:last-child {
  168. margin-bottom: 0;
  169. }
  170. @media (min-width: 30em) {
  171. blockquote {
  172. padding-right: 5rem;
  173. padding-left: 1.25rem;
  174. }
  175. }
  176. .markup-quote {
  177. background-color: transparent;
  178. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 1), rgba(233, 231, 245, 1));
  179. }
  180. .space-below {
  181. margin-bottom: 50px;
  182. }
  183. @media screen and (max-width: 768px) {
  184. .space-below {
  185. margin-bottom: 10px;
  186. }
  187. }
  188. .universal-wrapper {
  189. margin: 0 auto;
  190. padding-right: 1rem;
  191. padding-left: 1rem;
  192. padding-top: 0.1rem;
  193. width: 100%;
  194. }
  195. @media only screen and (min-width: 1001px) {
  196. .universal-wrapper {
  197. width: 1000px;
  198. }
  199. }
  200. small,
  201. .small {
  202. font-size: .75em;
  203. }
  204. .responsive-wrap iframe {
  205. max-width: 100%;
  206. }
  207. /*************************************************
  208. * Search.
  209. **************************************************/
  210. #search-box {
  211. position: relative; /* Required for search icon positioning. */
  212. margin-bottom: 0.5rem;
  213. }
  214. #search-box::before {
  215. font-family: 'Font Awesome 5 Free';
  216. font-weight: 900;
  217. content: "\f002";
  218. font-size: 1rem;
  219. opacity: 0.25;
  220. line-height: 1rem;
  221. position: absolute;
  222. left: 0.7rem;
  223. top: 0.6rem;
  224. overflow-x: hidden;
  225. }
  226. #search-box #search-query {
  227. border: 1px solid #dedede;
  228. border-radius: 1rem;
  229. padding: 1rem 1rem 1rem 2rem; /* Wider left padding for search icon to fit in. */
  230. width: 250px;
  231. line-height: 1rem;
  232. height: 1rem;
  233. font-size: 0.8rem;
  234. }
  235. .search-hit em {
  236. font-style: normal;
  237. background-color: #FFE0B2;
  238. color: #E65100;
  239. border-bottom: 1px solid #E65100;
  240. }
  241. .search-hit-type {
  242. margin-bottom: 0 !important; /* Override .article-metadata margin. */
  243. text-transform: capitalize;
  244. }
  245. .search-hit-description {
  246. font-size: 0.7rem;
  247. }
  248. /* Load more results button - hide when there are no more results. */
  249. #search-hits button[disabled] {
  250. display: none;
  251. }
  252. .form-control:focus {
  253. border-color: {{ .Get "primary" }};
  254. box-shadow: 0 0 0 .2rem {{ .Get "primary_light" }};
  255. }
  256. /*************************************************
  257. * Modals.
  258. **************************************************/
  259. .modal-content {
  260. background: {{ .Get "background" }};
  261. }
  262. .modal-title {
  263. margin: 0; /* Override default h5 margin. */
  264. }
  265. .modal-content pre {
  266. margin: 0;
  267. }
  268. .modal-header {
  269. border: 0;
  270. color: rgba(0,0,0,0.8);
  271. }
  272. .modal-footer {
  273. border: 0;
  274. }
  275. #modal-error {
  276. color: red;
  277. }
  278. /*************************************************
  279. * Gallery.
  280. **************************************************/
  281. .gallery {
  282. margin: 0.5em -4px 1.5em -4px;
  283. font-size: 0;
  284. }
  285. a[data-fancybox] {
  286. text-decoration: none;
  287. }
  288. a[data-fancybox] img {
  289. height: 250px;
  290. max-width: inherit;
  291. display: inherit;
  292. margin: 0;
  293. padding: 4px;
  294. box-shadow: none;
  295. vertical-align: inherit;
  296. }
  297. .fancybox-caption {
  298. font-size: 1rem;
  299. line-height: 1.5rem;
  300. text-align: center;
  301. }
  302. /*************************************************
  303. * Pager.
  304. **************************************************/
  305. .post-nav {
  306. margin-top: 1rem;
  307. font-size: 0.8rem;
  308. }
  309. .post-nav-item {
  310. hyphens: auto;
  311. word-wrap: break-word;
  312. padding: 11px 0 12px;
  313. width: 100%;
  314. }
  315. .post-nav-item a {
  316. color: #2b2b2b;
  317. line-height: 1.7;
  318. text-transform: none;
  319. }
  320. .post-nav-item .meta-nav {
  321. color: #767676;
  322. font-weight: 900;
  323. line-height: 2;
  324. text-transform: uppercase;
  325. }
  326. .dark .post-nav-item a {
  327. color: #ddd;
  328. }
  329. /*************************************************
  330. * Home Sections
  331. **************************************************/
  332. @keyframes intro {
  333. 0% {
  334. opacity: 0;
  335. }
  336. 100% {
  337. opacity: 1;
  338. }
  339. }
  340. .home-section {
  341. background-color: {{ .Get "home_section_odd" }};
  342. padding: 110px 0 110px 0;
  343. animation: intro 0.3s both;
  344. animation-delay: 0.15s;
  345. }
  346. .home-section:first-of-type {
  347. padding-top: 50px;
  348. }
  349. .home-section:nth-of-type(even) {
  350. background-color: {{ .Get "home_section_even" }};
  351. }
  352. @media screen and (max-width: 768px) {
  353. .home-section {
  354. padding: 60px 0 60px 0;
  355. }
  356. .home-section:first-of-type {
  357. padding-top: 40px;
  358. }
  359. }
  360. .section-heading h1 {
  361. margin: 0 0 10px 0;
  362. }
  363. .section-heading p {
  364. font-weight: 400;
  365. font-size: 1.1rem;
  366. color: #b2b2b2;
  367. }
  368. /*************************************************
  369. * Hero Widget
  370. **************************************************/
  371. .hero-overlay {
  372. padding: 3em 0;
  373. clear: both;
  374. background-size: cover;
  375. background-repeat: no-repeat;
  376. background-position: center;
  377. animation: intro 0.3s both;
  378. animation-delay: 0s;
  379. animation-delay: 0.25s;
  380. }
  381. .hero-title {
  382. font-size: 2.7rem;
  383. margin-top: 0;
  384. line-height: 1;
  385. }
  386. .hero-lead {
  387. max-width: 768px;
  388. font-size: 1.35rem;
  389. }
  390. .hero-overlay .hero-title,
  391. .hero-overlay .hero-lead,
  392. .hero-overlay .btn {
  393. color: #fff;
  394. text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  395. }
  396. .hero-overlay a {
  397. color: #fff;
  398. }
  399. .hero-overlay .hero-lead a {
  400. color: #fff;
  401. text-decoration-line: underline;
  402. }
  403. .hero-overlay .btn-lg {
  404. font-size: 1.1rem;
  405. }
  406. /*************************************************
  407. * Featurette Widget
  408. **************************************************/
  409. .featurette {
  410. font-size: 0.8rem;
  411. line-height: 1.5;
  412. color: #555;
  413. text-align: center;
  414. }
  415. .featurette h3 {
  416. margin-top: 0;
  417. margin-bottom: 5px;
  418. font-weight: 400;
  419. color: #333;
  420. }
  421. .dark .featurette,
  422. .dark .featurette h3 {
  423. color: #fff;
  424. }
  425. .featurette-icon {
  426. display: block;
  427. width: 100%;
  428. color: {{ .Get "primary" }};
  429. font-size: 3rem;
  430. text-align: center;
  431. }
  432. /*************************************************
  433. * Biography
  434. **************************************************/
  435. #profile {
  436. text-align: center;
  437. padding: 30px 10px;
  438. position: relative;
  439. }
  440. #profile .portrait {
  441. width: 200px;
  442. height: 200px;
  443. margin: 0 auto;
  444. border-radius: 50%;
  445. object-fit: cover;
  446. }
  447. #profile .portrait-title h2 {
  448. font-size: 1.75em;
  449. font-weight: 300;
  450. color: #000000;
  451. margin: 20px 0 10px 0;
  452. }
  453. #profile .portrait-title h3 {
  454. font-size: 1rem;
  455. font-weight: 300;
  456. color: rgba(0,0,0, 0.54);
  457. margin: 0px 0 10px 0;
  458. }
  459. #profile ul.network-icon {
  460. display: inline-flex;
  461. flex-direction: row;
  462. flex-wrap: wrap;
  463. justify-content: center;
  464. list-style: none;
  465. padding: 0;
  466. margin-top: 30px;
  467. }
  468. #profile .network-icon li {
  469. margin-right: 10px;
  470. }
  471. #profile .network-icon li:last-of-type {
  472. margin-right: 0;
  473. }
  474. #profile .network-icon li:hover {
  475. transform: scale(1.2)
  476. }
  477. .big-icon {
  478. font-size: 2rem;
  479. }
  480. ul.ul-interests li {
  481. font-size: 0.9rem;
  482. }
  483. ul.ul-edu {
  484. list-style: none;
  485. }
  486. ul.ul-edu li {
  487. position: relative;
  488. padding: 0px 15px 4px 3px;
  489. }
  490. ul.ul-edu li .description p {
  491. margin: 0;
  492. }
  493. ul.ul-edu li .description p.course {
  494. font-size: 0.9rem;
  495. }
  496. ul.ul-edu li .description p.institution {
  497. font-size: 0.75rem;
  498. color: rgba(0,0,0,0.6);
  499. }
  500. /*************************************************
  501. * Sharing
  502. **************************************************/
  503. .share-box {
  504. float: right;
  505. }
  506. ul.share {
  507. display: flex;
  508. flex-direction: row;
  509. flex-wrap: wrap;
  510. list-style: none;
  511. margin: 0;
  512. padding: 0;
  513. }
  514. ul.share li {
  515. display: inline-flex;
  516. margin-right: 5px;
  517. }
  518. ul.share li:last-of-type {
  519. margin-right: 0;
  520. }
  521. ul.share li i {
  522. display: block;
  523. width: 30px;
  524. height: 30px;
  525. line-height: 30px;
  526. font-size: 16px;
  527. text-align: center;
  528. transition: all 150ms ease-in-out;
  529. color: #fff;
  530. }
  531. ul.share li a {
  532. background-color: #b5c6ce;
  533. display: block;
  534. border-radius: 50%;
  535. text-decoration: none !important;
  536. margin: 0;
  537. }
  538. ul.share li:hover i {
  539. transform: scale(1.4)
  540. }
  541. /*************************************************
  542. * Blog Articles
  543. **************************************************/
  544. article {
  545. animation: intro 0.3s both;
  546. animation-delay: 0.15s;
  547. }
  548. .article-container {
  549. max-width: 760px;
  550. padding: 1rem 20px 0 20px;
  551. margin: 0 auto 0 auto;
  552. }
  553. .article-header {
  554. position: relative;
  555. clear: both;
  556. }
  557. .article-banner {
  558. width: 100%;
  559. height: auto;
  560. }
  561. .article-header-caption {
  562. position: absolute;
  563. bottom: 0;
  564. right: 0;
  565. margin: 0 auto;
  566. padding: 2px 5px;
  567. color: #fff;
  568. font-size: .7em;
  569. background: #000;
  570. text-align: right;
  571. z-index: 5;
  572. opacity: 0.65;
  573. border-radius: 5px 0 0 0;
  574. }
  575. @media (min-width: 64em) {
  576. .article-header-caption {
  577. padding: 5px 10px;
  578. }
  579. }
  580. .article-header-caption a {
  581. color: #fff;
  582. text-decoration: none;
  583. }
  584. .article-title {
  585. font-size: 1.75rem;
  586. }
  587. .article-title a {
  588. color: #151515;
  589. transition: color 0.6s ease;
  590. }
  591. .article-metadata {
  592. margin-bottom: 15px;
  593. overflow: hidden;
  594. font-size: 14px;
  595. letter-spacing: 0.03em;
  596. color: #888;
  597. }
  598. /* For article page only, not lists. */
  599. article .article-metadata {
  600. margin-bottom: 20px;
  601. line-height: 30px; /* Match share bar line height. */
  602. }
  603. .article-metadata a {
  604. color: #888;
  605. }
  606. .article-metadata a:hover {
  607. color: {{ .Get "primary" }};
  608. }
  609. .middot-divider {
  610. padding-right: .45em;
  611. padding-left: .45em;
  612. font-size: 15px;
  613. }
  614. .middot-divider::after {
  615. content: '\00B7';
  616. }
  617. .article-style img,
  618. .article-style video {
  619. margin-left: auto;
  620. margin-right: auto;
  621. margin-top: 60px;
  622. margin-bottom: 60px;
  623. padding: 0;
  624. }
  625. .article-style td img,
  626. .article-style td video {
  627. margin-top: 0;
  628. margin-bottom: 0;
  629. }
  630. .article-style figure {
  631. margin-top: 60px;
  632. margin-bottom: 60px;
  633. }
  634. .article-style figure img {
  635. margin-top: 0;
  636. margin-bottom: 0;
  637. }
  638. .article-widget {
  639. padding-top: 1rem;
  640. }
  641. .article-widget h3 {
  642. margin-top: 0;
  643. }
  644. .hr-light {
  645. border-top: 1px solid rgba(0,0,0,.05);
  646. margin-top: 0.5rem;
  647. margin-bottom: 1rem;
  648. }
  649. #comments {
  650. padding-top: 1rem;
  651. }
  652. /*************************************************
  653. * Publications
  654. **************************************************/
  655. .pub-icon {
  656. color: rgba(0, 0, 0, 0.54);
  657. font-size: 0.81em;
  658. padding-top: 6px;
  659. }
  660. .pub-banner {
  661. max-width: 100%;
  662. height: auto;
  663. margin-left: auto;
  664. margin-right: auto;
  665. }
  666. .pub .pub-authors {
  667. font-style: italic;
  668. line-height: 30px; /* Match share bar line height. */
  669. }
  670. .pub .pub-row-heading {
  671. font-weight: bold;
  672. }
  673. .pub-list-item .pub-abstract {
  674. font-size: 1rem;
  675. }
  676. .pub-list-item .pub-authors {
  677. line-height: normal;
  678. font-style: normal;
  679. font-size: 1rem;
  680. color: #3170A5;
  681. }
  682. .pub-list-item .pub-publication {
  683. color: #090;
  684. font-size: 1rem;
  685. }
  686. .pub-list-item .pub-links {
  687. padding-top: 10px;
  688. }
  689. #container-publications {
  690. display: block;
  691. position: relative;
  692. overflow: hidden;
  693. }
  694. /*************************************************
  695. * Talks
  696. **************************************************/
  697. .talk-metadata {
  698. color: #4b4f56;
  699. font-size: 0.8rem;
  700. }
  701. /*************************************************
  702. * Projects
  703. **************************************************/
  704. #projects.home-section li {
  705. margin-bottom: 1rem;
  706. }
  707. #projects.home-section li:last-of-type {
  708. margin-bottom: 0;
  709. }
  710. #projects.home-section .project-title {
  711. margin-bottom: 6px;
  712. }
  713. #projects.home-section .project-summary {
  714. font-size: 0.9rem;
  715. margin-bottom: 0.4rem;
  716. }
  717. #projects.home-section .project-tags {
  718. font-size: 0.75rem;
  719. color: #9c9c9c;
  720. }
  721. .projects-container {
  722. display: block;
  723. position: relative;
  724. /*margin-top: 5rem;*/
  725. overflow: hidden;
  726. }
  727. .project-toolbar{
  728. margin-bottom: 2rem;
  729. }
  730. .project-item {
  731. margin-bottom: 1.5rem;
  732. }
  733. .isotope-item {
  734. z-index: 2;
  735. }
  736. .isotope-item:hover{
  737. z-index: 3;
  738. }
  739. /*************************************************
  740. * Card component
  741. **************************************************/
  742. .card-simple {
  743. background: #fff;
  744. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  745. border: 1px solid rgba(0,0,0,.09);
  746. border-radius: 3px;
  747. margin-top: 20px;
  748. padding: 15px 20px 15px 20px;
  749. }
  750. .card-simple:first-of-type {
  751. margin-top: 0;
  752. }
  753. .card-simple p.read-more {
  754. margin: 0;
  755. }
  756. .dark .card-simple {
  757. background: rgb(40, 42, 54);
  758. box-shadow: 0 1px 4px rgba(0,0,0,.04);
  759. border: 1px solid rgb(68, 71, 90);
  760. }
  761. .card {
  762. margin-bottom: 1.5rem;
  763. overflow: hidden;
  764. text-overflow: ellipsis;
  765. background: #fff;
  766. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  767. transition: all 0.2s ease-out;
  768. }
  769. .card .card-image {
  770. display: block;
  771. position: relative;
  772. min-height: 100px;
  773. }
  774. .card h4 {
  775. font-size: 0.9rem;
  776. font-weight: 700;
  777. line-height: 1.5;
  778. text-transform: uppercase;
  779. }
  780. .card h4 a {
  781. color: #000;
  782. border-bottom: solid 1px transparent;
  783. }
  784. .card h4 a:hover {
  785. color: #000;
  786. border-bottom: solid 1px #000;
  787. text-decoration: none;
  788. }
  789. .card .card-text {
  790. padding: 0.75rem 1rem 0.75rem;
  791. }
  792. .card .card-text p {
  793. color: #999999;
  794. font-size: 0.75rem;
  795. }
  796. .card p:last-child {
  797. margin-bottom: 0;
  798. }
  799. .card .card-image.hover-overlay:before {
  800. display: block;
  801. position: absolute;
  802. left: 0;
  803. top: 0;
  804. width: 100%;
  805. height: 100%;
  806. background: #fff;
  807. content: " ";
  808. opacity: 0;
  809. transition: all 0.2s ease-out;
  810. }
  811. .card .card-image.hover-overlay:after {
  812. display: block;
  813. position: absolute;
  814. left: 0;
  815. top: 50%;
  816. width: 100%;
  817. transform: translate(0, -50%);
  818. opacity: 0;
  819. transition: all 0.2s ease-out;
  820. font-family: 'Font Awesome 5 Free';
  821. font-weight: 900;
  822. content: '\f0c1';
  823. text-align: center;
  824. font-size: 3rem;
  825. color: #666;
  826. }
  827. .card:hover {
  828. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  829. }
  830. .card:hover .card-image.hover-overlay:before {
  831. opacity: 0.8;
  832. }
  833. .card:hover .card-image.hover-overlay:after {
  834. opacity: 0.6;
  835. }
  836. /*************************************************
  837. * Contact
  838. **************************************************/
  839. #contact.home-section .fa-ul {
  840. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  841. }
  842. #contact.home-section .fa-li {
  843. position: absolute;
  844. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  845. width: 2rem; /* Match `fa-2x` icon size. */
  846. top: 0.14285714em; /* Default FA value. */
  847. text-align: center;
  848. }
  849. #contact.home-section li {
  850. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  851. margin-bottom: 0.3rem;
  852. }
  853. #contact.home-section li:last-of-type {
  854. margin-bottom: 0;
  855. }
  856. #map {
  857. height: 350px;
  858. width: 100%;
  859. }
  860. /*************************************************
  861. * Footer
  862. **************************************************/
  863. footer {
  864. margin: 4rem 0 0;
  865. padding: 2rem 0;
  866. width: 100%;
  867. }
  868. footer p {
  869. font-size: 0.75rem;
  870. text-align: center;
  871. }
  872. .site-footer,
  873. footer a#back_to_top i {
  874. color: #899596;
  875. }
  876. /**************************************************
  877. * Tags/Labels
  878. **************************************************/
  879. .badge-light {
  880. border: none;
  881. color: rgba(0,0,0,.68);
  882. background: rgba(0,0,0,.05);
  883. font-weight: normal;
  884. border-radius: 3px;
  885. padding: 5px 10px;
  886. margin-right: 8px;
  887. margin-bottom: 8px;
  888. }
  889. .article-tags > .badge-light:last-child {
  890. margin-right: 0;
  891. }
  892. .badge-light[href]:focus,
  893. .badge-light[href]:hover {
  894. background: rgba(0,0,0,.1);
  895. }
  896. a.badge:focus,
  897. a.badge:hover {
  898. color: rgba(0,0,0,.68);
  899. }
  900. /*************************************************
  901. * Button size override
  902. *************************************************/
  903. .btn {
  904. padding: .5rem;
  905. font-size: .8rem;
  906. line-height: .5;
  907. border-radius: .3rem;
  908. }
  909. .btn.btn-sm {
  910. padding: .4rem;
  911. font-size: .6rem;
  912. border-radius: .2rem;
  913. }
  914. /*************************************************
  915. * Button Primary: Color override
  916. **************************************************/
  917. .btn-primary {
  918. border-color: {{ .Get "primary" }};
  919. background: {{ .Get "primary" }};
  920. }
  921. .btn-outline-primary {
  922. border-color: {{ .Get "primary" }};
  923. color: {{ .Get "primary" }};
  924. }
  925. .btn-primary:hover,
  926. .btn-primary:active,
  927. .btn-primary.active,
  928. .btn-primary:visited,
  929. .open > .dropdown-toggle.btn-primary {
  930. background: {{ .Get "primary" }};
  931. }
  932. .btn-outline-light:hover,
  933. .btn-outline-light:active,
  934. .btn-outline-light.active {
  935. background: rgba(0,0,0,0.4);
  936. }
  937. .btn-outline-primary:not(:disabled):not(.disabled).active,
  938. .btn-outline-primary:not(:disabled):not(.disabled):active,
  939. .show > .btn-outline-primary.dropdown-toggle {
  940. color: #fff;
  941. background-color: {{ .Get "primary" }};
  942. border-color: {{ .Get "primary" }};
  943. }
  944. .btn-outline-primary:hover {
  945. color: #fff;
  946. background-color: {{ .Get "primary" }};
  947. border-color: {{ .Get "primary" }};
  948. }
  949. /*************************************************
  950. * Toolbar Buttons
  951. **************************************************/
  952. .btn-toolbar .btn {
  953. font-size: 0.9rem;
  954. padding: 10px 14px 9px;
  955. border: none;
  956. }
  957. .btn-toolbar .btn:first-child {
  958. border-radius: 6px 0 0 6px;
  959. }
  960. .btn-toolbar .btn:last-child {
  961. border-radius: 0 6px 6px 0;
  962. }
  963. .btn-toolbar .btn.btn-primary:hover,
  964. .btn-toolbar .btn.btn-primary:focus {
  965. background-color: {{ .Get "primary_dark" }} !important;
  966. }
  967. .btn-toolbar .btn.btn-primary:active,
  968. .btn-toolbar .btn.btn-primary.active {
  969. background-color: {{ .Get "primary_light" }} !important;
  970. }
  971. .btn-primary:not(:disabled):not(.disabled).active:focus,
  972. .btn-primary:not(:disabled):not(.disabled):active:focus,
  973. .show > .btn-primary.dropdown-toggle:focus {
  974. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  975. }
  976. /*************************************************
  977. * Navigation Bar
  978. **************************************************/
  979. .navbar {
  980. min-height: 70px !important;
  981. }
  982. .navbar-light {
  983. background: {{ .Get "menu_primary" }} !important;
  984. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  985. }
  986. .navbar-light .navbar-toggler {
  987. border-color: transparent;
  988. }
  989. .navbar-toggler {
  990. color: {{ .Get "menu_text" }} !important;
  991. }
  992. .navbar-light .navbar-toggler:focus,
  993. .navbar-light .navbar-toggler:hover {
  994. background-color: transparent;
  995. }
  996. .dropdown-menu,
  997. nav#navbar-main li.nav-item {
  998. font-size: {{ .Get "font_size_small" }}px;
  999. }
  1000. .navbar-light .navbar-nav>.nav-item>.nav-link,
  1001. .navbar-light .navbar-nav>.nav-item>.nav-link:focus,
  1002. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1003. white-space: nowrap;
  1004. -webkit-transition: 0.2s ease;
  1005. transition: 0.2s ease;
  1006. color: {{ .Get "menu_text" }};
  1007. font-weight: 600;
  1008. }
  1009. .navbar-light .navbar-nav>.nav-item>.nav-link:focus {
  1010. color: {{ .Get "menu_text" }};
  1011. background-color: transparent;
  1012. }
  1013. .navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  1014. color: {{ .Get "menu_text_active" }};
  1015. background-color: transparent;
  1016. }
  1017. .navbar-light .navbar-nav>li.nav-item>a.active,
  1018. .navbar-light .navbar-nav>li.nav-item>a.active:focus,
  1019. .navbar-light .navbar-nav>li.nav-item>a.active:hover {
  1020. color: {{ .Get "menu_text_active" }};
  1021. font-weight: 700;
  1022. background-color: transparent !important; /* Override Bootstrap. */
  1023. }
  1024. .navbar-brand,
  1025. .navbar-nav li.nav-item a.nav-link {
  1026. height: inherit;
  1027. line-height: 50px;
  1028. padding-top: 10px;
  1029. padding-bottom: 10px;
  1030. }
  1031. .navbar-brand img {
  1032. max-height: 50px;
  1033. }
  1034. .navbar-light .navbar-toggler .icon-bar {
  1035. background-color: {{ .Get "menu_text" }} !important;
  1036. }
  1037. .dropdown-menu {
  1038. background-color: {{ .Get "menu_primary" }} !important;
  1039. }
  1040. .dropdown-menu > li > a {
  1041. display: block;
  1042. padding: 3px 20px;
  1043. clear: both;
  1044. font-weight: 400;
  1045. line-height: 1.42857143;
  1046. color: {{ .Get "menu_text" }};
  1047. white-space: nowrap;
  1048. }
  1049. .dropdown-menu>li>a:focus,
  1050. .dropdown-menu>li>a:hover {
  1051. color: {{ .Get "menu_text_active" }};
  1052. text-decoration: none;
  1053. background-color: {{ .Get "menu_primary" }};
  1054. }
  1055. .dropdown-menu > .active,
  1056. .dropdown-menu > .active:focus,
  1057. .dropdown-menu > .active:hover {
  1058. color: {{ .Get "menu_primary" }};
  1059. text-decoration: none;
  1060. background-color: {{ .Get "menu_text_active" }};
  1061. outline: 0;
  1062. }
  1063. .navbar-light .navbar-nav>.open>a,
  1064. .navbar-light .navbar-nav>.open>a:focus,
  1065. .navbar-light .navbar-nav>.open>a:hover,
  1066. .navbar-light .navbar-nav>.open>a:visited {
  1067. color: {{ .Get "menu_text" }} !important;
  1068. background-color: {{ .Get "menu_primary" }} !important;
  1069. }
  1070. .navbar-light .navbar-brand {
  1071. text-transform: uppercase;
  1072. font-weight: bold;
  1073. font-size: 1.2em;
  1074. color: {{ .Get "menu_title" }};
  1075. }
  1076. .navbar-light .navbar-brand:focus,
  1077. .navbar-light .navbar-brand:hover {
  1078. color: {{ .Get "menu_title" }};
  1079. background-color: transparent;
  1080. }
  1081. @media screen and (max-width: 1200px) {
  1082. .navbar {
  1083. min-height: 50px !important;
  1084. }
  1085. .navbar-brand,
  1086. .navbar-nav li.nav-item a.nav-link {
  1087. height: inherit;
  1088. line-height: 40px;
  1089. padding-top: 5px;
  1090. padding-bottom: 5px;
  1091. }
  1092. .navbar-brand img {
  1093. max-height: 40px;
  1094. }
  1095. .navbar-toggler {
  1096. display: block;
  1097. }
  1098. .fixed-top {
  1099. top: 0;
  1100. border-width: 0 0 1px;
  1101. }
  1102. .navbar-nav > li.nav-item > a.nav-link {
  1103. padding-top: 10px;
  1104. padding-bottom: 10px;
  1105. line-height: normal;
  1106. }
  1107. .dropdown-menu > li > a {
  1108. display: block;
  1109. padding: 3px 20px;
  1110. clear: both;
  1111. font-weight: 400;
  1112. line-height: 1.42857143;
  1113. color: {{ .Get "menu_text" }};
  1114. white-space: nowrap;
  1115. }
  1116. .navbar-light .navbar-nav .open .dropdown-menu {
  1117. position: static;
  1118. width: auto;
  1119. margin-top: 0;
  1120. background-color: transparent;
  1121. border: 0;
  1122. box-shadow: none;
  1123. }
  1124. .navbar-light .navbar-nav .open .dropdown-menu > li > a {
  1125. padding: 5px 15px 5px 25px;
  1126. line-height: 20px;
  1127. color: {{ .Get "menu_text" }};
  1128. }
  1129. .navbar-light .navbar-nav .open .dropdown-menu > li > a:focus,
  1130. .navbar-light .navbar-nav .open .dropdown-menu > li > a:hover {
  1131. color: inherit;
  1132. background-color: transparent;
  1133. }
  1134. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active,
  1135. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:focus,
  1136. .navbar-light .navbar-nav .open .dropdown-menu >.nav-item> .active:hover {
  1137. color: {{ .Get "menu_text_active" }};
  1138. background-color: transparent;
  1139. }
  1140. .collapse.in {
  1141. display: block !important;
  1142. }
  1143. }
  1144. /*************************************************
  1145. * Tables
  1146. **************************************************/
  1147. table {
  1148. width: 100%;
  1149. max-width: 100%;
  1150. margin-bottom: 1rem;
  1151. font-size: 0.93rem;
  1152. }
  1153. table > thead > tr > th,
  1154. table > tbody > tr > th,
  1155. table > tfoot > tr > th,
  1156. table > thead > tr > td,
  1157. table > tbody > tr > td,
  1158. table > tfoot > tr > td {
  1159. padding: 8px;
  1160. line-height: 1.43;
  1161. vertical-align: top;
  1162. border-top: 1px solid #ddd;
  1163. }
  1164. table > thead > tr > th {
  1165. vertical-align: bottom;
  1166. border-bottom: 2px solid #ddd;
  1167. }
  1168. table > caption + thead > tr:first-child > th,
  1169. table > colgroup + thead > tr:first-child > th,
  1170. table > thead:first-child > tr:first-child > th,
  1171. table > caption + thead > tr:first-child > td,
  1172. table > colgroup + thead > tr:first-child > td,
  1173. table > thead:first-child > tr:first-child > td {
  1174. border-top: 0;
  1175. }
  1176. table > tbody + tbody {
  1177. border-top: 2px solid #ddd;
  1178. }
  1179. table table {
  1180. background-color: #fff;
  1181. }
  1182. /* Table Striped */
  1183. table > tbody > tr:nth-child(odd) > td,
  1184. table > tbody > tr:nth-child(odd) > th {
  1185. background-color: #f9f9f9;
  1186. }
  1187. /* Table Hover */
  1188. table > tbody > tr:hover > td,
  1189. table > tbody > tr:hover > th {
  1190. background-color: #e5e5e5;
  1191. }
  1192. /*************************************************
  1193. * Alerts
  1194. **************************************************/
  1195. div.alert {
  1196. border-radius: 10px;
  1197. margin-bottom: 1rem;
  1198. }
  1199. div.alert p {
  1200. position: relative;
  1201. display: block;
  1202. font-size: 1rem;
  1203. margin-left: 2rem;
  1204. margin-top: 0;
  1205. margin-bottom: 0;
  1206. }
  1207. div.alert p:first-child::before {
  1208. position: absolute;
  1209. top: -0.5rem;
  1210. left: -2rem;
  1211. font-size: 1.5rem;
  1212. color: #fff;
  1213. font-family: 'Font Awesome 5 Free';
  1214. font-weight: 900;
  1215. content: '\f05a';
  1216. width: 1.5rem;
  1217. text-align: center;
  1218. }
  1219. div.alert-warning p:first-child::before {
  1220. font-family: 'Font Awesome 5 Free';
  1221. font-weight: 900;
  1222. content: '\f071';
  1223. }
  1224. div.alert a {
  1225. color: rgba(255,255,255,0.9);
  1226. text-decoration: none;
  1227. border-bottom: solid 1px #e4e4e4;
  1228. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1229. }
  1230. div.alert a:hover {
  1231. border-bottom-color: transparent;
  1232. color: rgba(255,255,255,0.5) !important;
  1233. }
  1234. .alert-note {
  1235. color: #fff;
  1236. background-color: #03A9F4; /* Material LightBlue500 */
  1237. border-color: #bce8f1;
  1238. }
  1239. .alert-warning {
  1240. color: #fff;
  1241. background-color: #f44336; /* Material Red500 */
  1242. border-color: #ebccd1;
  1243. }
  1244. /*************************************************
  1245. * Documentation layout
  1246. **************************************************/
  1247. .docs-article-container {
  1248. max-width: 760px;
  1249. }
  1250. /* Documentation: article footer. */
  1251. .docs .body-footer {
  1252. border-top: 1px solid #e8e8e8;
  1253. margin-top: 30px;
  1254. padding-top: 10px;
  1255. font-size: 14px;
  1256. color: #707070;
  1257. }
  1258. /* Docs content. */
  1259. .docs-content {
  1260. order: 1;
  1261. position: relative;
  1262. }
  1263. .docs-content>h2[id],
  1264. .docs-content>h3[id],
  1265. .docs-content>h4[id] {
  1266. pointer-events: none;
  1267. }
  1268. .docs-content>ol li,
  1269. .docs-content>ul li {
  1270. margin-bottom: .25rem;
  1271. }
  1272. /* Docs search. */
  1273. .docs-search {
  1274. position: relative;
  1275. padding: 1rem 15px;
  1276. margin-right: -15px;
  1277. margin-left: -15px;
  1278. border-bottom: 1px solid rgba(0, 0, 0, .05);
  1279. }
  1280. .docs-search .form-control:focus {
  1281. border-color: {{ .Get "primary" }};
  1282. box-shadow: 0 0 0 3px {{ .Get "primary_light" }};
  1283. }
  1284. /* Docs sidebar. */
  1285. .docs-sidebar {
  1286. order: 0;
  1287. border-bottom: 1px solid rgba(0, 0, 0, .1)
  1288. }
  1289. @media (min-width:768px) {
  1290. .docs-sidebar {
  1291. border-right: 1px solid rgba(0, 0, 0, .1)
  1292. }
  1293. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1294. .docs-sidebar {
  1295. position: -webkit-sticky;
  1296. position: sticky;
  1297. top: 71px;
  1298. z-index: 1000;
  1299. height: calc(100vh - 71px)
  1300. }
  1301. }
  1302. }
  1303. @media (min-width:1200px) {
  1304. .docs-sidebar {
  1305. flex: 0 1 320px
  1306. }
  1307. }
  1308. /* Docs sidebar li>a. */
  1309. .docs-sidebar .nav>li>a {
  1310. display: block;
  1311. padding: .25rem 1.5rem;
  1312. font-size: 90%;
  1313. color: rgba(0, 0, 0, .65);
  1314. }
  1315. .docs-sidebar .nav>li>a:hover {
  1316. color: rgba(0, 0, 0, .85);
  1317. text-decoration: none;
  1318. background-color: transparent;
  1319. }
  1320. .docs-sidebar .docs-toc-item.active a,
  1321. .docs-sidebar .nav>.active:hover>a,
  1322. .docs-sidebar .nav>.active>a {
  1323. font-weight: bold;
  1324. color: {{ .Get "primary" }};
  1325. background-color: transparent;
  1326. }
  1327. /* Docs links. */
  1328. .docs-links {
  1329. padding-top: 1rem;
  1330. padding-bottom: 1rem;
  1331. margin-right: -15px;
  1332. margin-left: -15px;
  1333. }
  1334. @media (min-width:768px) {
  1335. @supports (position: sticky) {
  1336. .docs-links {
  1337. max-height: calc(100vh - 5rem - 71px);
  1338. overflow-y: auto;
  1339. }
  1340. }
  1341. }
  1342. @media (min-width:768px) {
  1343. .docs-links {
  1344. display: block!important;
  1345. }
  1346. }
  1347. /* Docs TOC. */
  1348. .docs-toc {
  1349. order: 2;
  1350. padding-top: 1.5rem;
  1351. padding-bottom: 1.5rem;
  1352. font-size: .875rem
  1353. }
  1354. @supports ((position:-webkit-sticky) or (position:sticky)) {
  1355. .docs-toc {
  1356. position: -webkit-sticky;
  1357. position: sticky;
  1358. top: 4rem;
  1359. height: calc(100vh - 4rem);
  1360. overflow-y: auto
  1361. }
  1362. }
  1363. /* Docs TOC item links. */
  1364. .docs-toc-link {
  1365. display: block;
  1366. padding: .25rem 1.5rem;
  1367. font-weight: bold;
  1368. color: rgba(0, 0, 0, .65);
  1369. }
  1370. .docs-toc-link:hover {
  1371. color: rgba(0, 0, 0, .85);
  1372. text-decoration: none;
  1373. }
  1374. .docs-toc-item.active {
  1375. margin-bottom: 1rem;
  1376. }
  1377. .docs-toc-item.active:not(:first-child) {
  1378. margin-top: 1rem;
  1379. }
  1380. .docs-toc-item.active>.docs-toc-link {
  1381. color: rgba(0, 0, 0, .85);
  1382. }
  1383. .docs-toc-item.active>.docs-toc-link:hover {
  1384. background-color: transparent;
  1385. }
  1386. .docs-toc-item.active>.docs-sidenav {
  1387. display: block;
  1388. }
  1389. /* Docs TOC nav. */
  1390. #TableOfContents {
  1391. padding-left: 0;
  1392. border-left: 1px solid #eee;
  1393. }
  1394. #TableOfContents ul {
  1395. padding-left: 1rem;
  1396. }
  1397. #TableOfContents ul ul {
  1398. display: none;
  1399. }
  1400. #TableOfContents li {
  1401. display: block;
  1402. }
  1403. #TableOfContents li a {
  1404. display: block;
  1405. padding: .125rem 1.5rem;
  1406. color: #99979c;
  1407. }
  1408. #TableOfContents li a:hover {
  1409. color: {{ .Get "primary" }};
  1410. text-decoration: none;
  1411. }
  1412. /* Docs achnorjs links. */
  1413. .anchorjs-link {
  1414. font-weight: 400;
  1415. color: {{ .Get "primary_dark" }};
  1416. transition: color .16s linear;
  1417. }
  1418. .anchorjs-link:hover {
  1419. color: {{ .Get "primary" }};
  1420. text-decoration: none;
  1421. }
  1422. /*************************************************
  1423. * Dark themed components
  1424. **************************************************/
  1425. body.dark,
  1426. .dark .docs-toc-link,
  1427. .dark .docs-sidebar .nav > li:not(.active) > a,
  1428. .dark .modal button.close,
  1429. .dark input,
  1430. .dark .form-control:focus {
  1431. color: rgb(248, 248, 242);
  1432. }
  1433. .dark .form-control:focus {
  1434. background-color: rgb(68, 71, 90);
  1435. border-color: {{ .Get "primary" }};
  1436. box-shadow: 0 0 0 .2rem {{ .Get "primary_dark" }};
  1437. }
  1438. .dark h1,
  1439. .dark h2,
  1440. .dark h3,
  1441. .dark h4,
  1442. .dark h5,
  1443. .dark h6 {
  1444. color: rgb(152, 166, 173);
  1445. }
  1446. .dark pre,
  1447. .dark code {
  1448. color: rgb(139, 233, 253);
  1449. background-color: rgb(68, 71, 90);
  1450. }
  1451. .dark pre {
  1452. background-color: rgb(68, 71, 90);
  1453. border-color: rgb(68, 71, 90);
  1454. }
  1455. .dark .markup-quote {
  1456. background-image: linear-gradient(to bottom, rgba(233, 231, 245, 0.2), rgba(233, 231, 245, 0.2));
  1457. }
  1458. .dark #MathJax_Zoom {
  1459. background-color: rgb(68, 71, 90) !important;
  1460. }
  1461. .dark ul.share li a {
  1462. background-color: {{ .Get "primary" }};
  1463. }
  1464. .dark table table {
  1465. background-color: rgb(40, 42, 54);
  1466. }
  1467. /* Table Striped */
  1468. .dark table > tbody > tr:nth-child(odd) > td,
  1469. .dark table > tbody > tr:nth-child(odd) > th {
  1470. background-color: rgb(50, 52, 64);
  1471. }
  1472. /* Table Hover */
  1473. .dark table > tbody > tr:hover > td,
  1474. .dark table > tbody > tr:hover > th {
  1475. background-color: rgb(60, 62, 74);
  1476. }
  1477. .dark .article-title a {
  1478. color: #fff;
  1479. }
  1480. .dark #profile .portrait-title h2 {
  1481. color: #fff;
  1482. }
  1483. .dark #profile .portrait-title h3 {
  1484. color: rgba(255, 255, 255, 0.54);
  1485. }
  1486. .dark ul.ul-edu li .description p.institution {
  1487. color: rgba(255, 255, 255, 0.6);
  1488. }
  1489. .dark .pub-icon {
  1490. color: rgba(255, 255, 255, 0.54);
  1491. }
  1492. .dark .talk-metadata {
  1493. color: rgba(255, 255, 255, 0.54);
  1494. }
  1495. .dark .pagination li > a, .pagination li > span {
  1496. background-color: rgb(40, 42, 54);
  1497. border: 1px solid #ddd;
  1498. }
  1499. .dark .card {
  1500. background: rgb(10, 12, 24);
  1501. box-shadow: 0 2px 4px 0 rgba(255, 255, 255, 0.2);
  1502. }
  1503. .dark .card h4 a {
  1504. color: {{ .Get "primary" }};
  1505. border-bottom: solid 1px transparent;
  1506. }
  1507. .dark .card .card-image.hover-overlay::before {
  1508. background: #666;
  1509. }
  1510. .dark .card .card-image.hover-overlay::after {
  1511. color: #fff;
  1512. }
  1513. .dark .navbar-light {
  1514. box-shadow: 0 0.125rem 0.25rem 0 rgba(255, 255, 255, .11);
  1515. border-color: #070707;
  1516. }
  1517. .dark select {
  1518. background: rgb(40, 42, 54);
  1519. color: rgb(248, 248, 242);
  1520. }
  1521. /* Algolia search input */
  1522. .dark .ais-search-box--input {
  1523. background-color: rgb(68, 71, 90);
  1524. }
  1525. .dark #search-query {
  1526. background-color: rgb(68, 71, 90);
  1527. }
  1528. .dark .badge-light {
  1529. color: rgba(255, 255, 255, .68);
  1530. background: rgba(255, 255, 255, .2);
  1531. }
  1532. .dark .badge-light[href]:focus,
  1533. .dark .badge-light[href]:hover {
  1534. background: rgba(255, 255, 255, .3);
  1535. }
  1536. .dark a.badge:focus,
  1537. .dark a.badge:hover {
  1538. color: rgba(255, 255, 255, .68);
  1539. }