academic.css 25 KB

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