academic.css 25 KB

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