academic.css 22 KB

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