academic.css 27 KB

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