academic.css 28 KB

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