academic.css 21 KB

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