academic.css 28 KB

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