academic.css 26 KB

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