academic.css 23 KB

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