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