academic.css 27 KB

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