academic.css 27 KB

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