academic.css 26 KB

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