academic.css 29 KB

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