academic.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290
  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. display: inline-block;
  562. margin-bottom: 6px;
  563. }
  564. #projects.home-section .project-summary {
  565. font-size: 0.9rem;
  566. margin-bottom: 0.4rem;
  567. }
  568. #projects.home-section .project-tags {
  569. font-size: 0.75rem;
  570. color: #9c9c9c;
  571. }
  572. .projects-container {
  573. display: block;
  574. position: relative;
  575. /*margin-top: 5rem;*/
  576. overflow: hidden;
  577. }
  578. .project-toolbar{
  579. margin-bottom: 2rem;
  580. }
  581. .project-item {
  582. margin-bottom: 1.5rem;
  583. }
  584. .isotope-item {
  585. z-index: 2;
  586. }
  587. .isotope-item:hover{
  588. z-index: 3;
  589. }
  590. /*************************************************
  591. * Card component
  592. **************************************************/
  593. .card {
  594. margin-bottom: 1.5rem;
  595. overflow: hidden;
  596. text-overflow: ellipsis;
  597. background: #fff;
  598. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  599. transition: all 0.2s ease-out;
  600. }
  601. .card .card-image {
  602. display: block;
  603. position: relative;
  604. min-height: 100px;
  605. }
  606. .card h4 {
  607. font-size: 0.9rem;
  608. font-weight: 700;
  609. line-height: 1.5;
  610. text-transform: uppercase;
  611. }
  612. .card h4 a {
  613. color: #000;
  614. border-bottom: solid 1px transparent;
  615. }
  616. .card h4 a:hover {
  617. color: #000;
  618. border-bottom: solid 1px #000;
  619. text-decoration: none;
  620. }
  621. .card .card-text {
  622. padding: 0.75rem 1rem 0.75rem;
  623. }
  624. .card .card-text p {
  625. color: #999999;
  626. font-size: 0.75rem;
  627. }
  628. .card p:last-child {
  629. margin-bottom: 0;
  630. }
  631. .card .card-image.hover-overlay:before {
  632. display: block;
  633. position: absolute;
  634. left: 0;
  635. top: 0;
  636. width: 100%;
  637. height: 100%;
  638. background: #fff;
  639. content: " ";
  640. opacity: 0;
  641. transition: all 0.2s ease-out;
  642. }
  643. .card .card-image.hover-overlay:after {
  644. display: block;
  645. position: absolute;
  646. left: 0;
  647. top: 50%;
  648. width: 100%;
  649. transform: translate(0, -50%);
  650. opacity: 0;
  651. transition: all 0.2s ease-out;
  652. font-family: 'FontAwesome';
  653. content: '\f0c1';
  654. text-align: center;
  655. font-size: 3rem;
  656. color: #666;
  657. }
  658. .card:hover {
  659. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  660. }
  661. .card:hover .card-image.hover-overlay:before {
  662. opacity: 0.8;
  663. }
  664. .card:hover .card-image.hover-overlay:after {
  665. opacity: 0.6;
  666. }
  667. /*************************************************
  668. * Contact
  669. **************************************************/
  670. #contact.home-section .fa-ul {
  671. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  672. }
  673. #contact.home-section .fa-li {
  674. position: absolute;
  675. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  676. width: 2rem; /* Match `fa-2x` icon size. */
  677. top: 0.14285714em; /* Default FA value. */
  678. text-align: center;
  679. }
  680. #contact.home-section li {
  681. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  682. margin-bottom: 0.3rem;
  683. }
  684. #contact.home-section li:last-of-type {
  685. margin-bottom: 0;
  686. }
  687. #map {
  688. height: 350px;
  689. width: 100%;
  690. }
  691. /*************************************************
  692. * Footer
  693. **************************************************/
  694. footer {
  695. margin: 4rem 0 0;
  696. padding: 2rem 0;
  697. width: 100%;
  698. }
  699. footer p {
  700. font-size: 0.75rem;
  701. text-align: center;
  702. }
  703. .site-footer,
  704. footer a#back_to_top i {
  705. color: #899596;
  706. }
  707. /*************************************************
  708. * Button Primary: Color Override
  709. **************************************************/
  710. .btn-primary {
  711. border-color: {{ .Get "primary" }} !important;
  712. background: {{ .Get "primary" }} !important;
  713. }
  714. .btn-primary:hover,
  715. .btn-primary:active,
  716. .btn-primary.active,
  717. .btn-primary:visited,
  718. .open > .dropdown-toggle.btn-primary {
  719. background: {{ .Get "primary" }} !important;
  720. }
  721. .btn-light {
  722. border-color: #fff !important;
  723. background: #fff !important;
  724. }
  725. .btn-light:hover,
  726. .btn-light:active,
  727. .btn-light.active {
  728. background: rgba(0,0,0,0.4) !important;
  729. }
  730. /*************************************************
  731. * Toolbar Buttons
  732. **************************************************/
  733. .btn-toolbar .btn {
  734. font-size: 0.9rem;
  735. padding: 10px 14px 9px;
  736. border: none;
  737. }
  738. .btn-toolbar .btn:first-child {
  739. border-radius: 6px 0 0 6px;
  740. }
  741. .btn-toolbar .btn:last-child {
  742. border-radius: 0 6px 6px 0;
  743. }
  744. .btn-toolbar .btn.btn-primary:hover,
  745. .btn-toolbar .btn.btn-primary:focus {
  746. background-color: {{ .Get "primary_dark" }} !important;
  747. }
  748. .btn-toolbar .btn.btn-primary:active,
  749. .btn-toolbar .btn.btn-primary.active {
  750. background-color: {{ .Get "primary_light" }} !important;
  751. }
  752. /*************************************************
  753. * Button Outlines
  754. **************************************************/
  755. .btn-outline {
  756. background-color: transparent !important;
  757. color: inherit;
  758. transition: all .5s;
  759. }
  760. .btn-primary.btn-outline {
  761. color: {{ .Get "primary" }} !important;
  762. border-color: {{ .Get "primary" }} !important;
  763. }
  764. .btn-primary.btn-outline:focus {
  765. color: {{ .Get "primary" }} !important;
  766. }
  767. .btn-primary.btn-outline:active {
  768. color: #fff !important;
  769. }
  770. .btn-light.btn-outline {
  771. color: #fff !important;
  772. border-color: #fff !important;
  773. }
  774. .btn-light.btn-outline:focus {
  775. color: #fff !important;
  776. }
  777. .btn-light.btn-outline:active {
  778. color: transparent !important;
  779. }
  780. .btn-success.btn-outline {
  781. color: #5cb85c;
  782. }
  783. .btn-info.btn-outline {
  784. color: #5bc0de;
  785. }
  786. .btn-warning.btn-outline {
  787. color: #f0ad4e;
  788. }
  789. .btn-danger.btn-outline {
  790. color: #d9534f;
  791. }
  792. .btn-primary.btn-outline:hover,
  793. .btn-light.btn-outline:hover,
  794. .btn-success.btn-outline:hover,
  795. .btn-info.btn-outline:hover,
  796. .btn-warning.btn-outline:hover,
  797. .btn-danger.btn-outline:hover {
  798. color: #fff !important;
  799. }
  800. /*************************************************
  801. * Navigation Bar
  802. **************************************************/
  803. .navbar {
  804. min-height: 70px !important;
  805. }
  806. .navbar-default {
  807. background: {{ .Get "menu_primary" }};
  808. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  809. }
  810. .navbar-default .navbar-toggle {
  811. border-color: transparent;
  812. }
  813. .navbar-default .navbar-toggle:focus,
  814. .navbar-default .navbar-toggle:hover {
  815. background-color: transparent;
  816. }
  817. nav#navbar-main li {
  818. font-size: {{ .Get "font_size_small" }}px;
  819. }
  820. .navbar-default .navbar-nav>li>a,
  821. .navbar-default .navbar-nav>a:focus,
  822. .navbar-default .navbar-nav>a:hover {
  823. white-space: nowrap;
  824. -webkit-transition: 0.2s ease;
  825. transition: 0.2s ease;
  826. color: {{ .Get "menu_text" }};
  827. font-weight: 600;
  828. }
  829. .navbar-default .navbar-nav>li>a:focus {
  830. color: {{ .Get "menu_text" }};
  831. background-color: transparent;
  832. }
  833. .navbar-default .navbar-nav>li>a:hover {
  834. color: {{ .Get "menu_text_active" }};
  835. background-color: transparent;
  836. }
  837. .navbar-default .navbar-nav>.active>a,
  838. .navbar-default .navbar-nav>.active>a:focus,
  839. .navbar-default .navbar-nav>.active>a:hover {
  840. color: {{ .Get "menu_text_active" }};
  841. font-weight: 700;
  842. background-color: transparent !important; /* Override Bootstrap. */
  843. }
  844. .navbar-brand,
  845. .navbar-nav li a {
  846. height: inherit;
  847. line-height: 50px;
  848. padding-top: 10px;
  849. padding-bottom: 10px;
  850. }
  851. .navbar-default .navbar-toggle .icon-bar {
  852. background-color: {{ .Get "menu_text" }} !important;
  853. }
  854. .dropdown-menu {
  855. background-color: {{ .Get "menu_primary" }} !important;
  856. }
  857. .dropdown-menu > li > a {
  858. display: block;
  859. padding: 3px 20px;
  860. clear: both;
  861. font-weight: 400;
  862. line-height: 1.42857143;
  863. color: {{ .Get "menu_text" }};
  864. white-space: nowrap;
  865. }
  866. .dropdown-menu>li>a:focus,
  867. .dropdown-menu>li>a:hover {
  868. color: {{ .Get "menu_text_active" }};
  869. text-decoration: none;
  870. background-color: {{ .Get "menu_primary" }};
  871. }
  872. .dropdown-menu > .active > a,
  873. .dropdown-menu > .active > a:focus,
  874. .dropdown-menu > .active > a:hover {
  875. color: {{ .Get "menu_primary" }};
  876. text-decoration: none;
  877. background-color: {{ .Get "menu_text_active" }};
  878. outline: 0;
  879. }
  880. .navbar-default .navbar-nav>.open>a,
  881. .navbar-default .navbar-nav>.open>a:focus,
  882. .navbar-default .navbar-nav>.open>a:hover,
  883. .navbar-default .navbar-nav>.open>a:visited {
  884. color: {{ .Get "menu_text" }} !important;
  885. background-color: {{ .Get "menu_primary" }} !important;
  886. }
  887. .navbar-default .navbar-brand {
  888. text-transform: uppercase;
  889. font-weight: bold;
  890. font-size: 1.2em;
  891. color: {{ .Get "menu_title" }};
  892. }
  893. .navbar-default .navbar-brand:focus,
  894. .navbar-default .navbar-brand:hover {
  895. color: {{ .Get "menu_title" }};
  896. background-color: transparent;
  897. }
  898. @media screen and (max-width: 1200px) {
  899. .navbar {
  900. min-height: 50px !important;
  901. }
  902. .navbar-brand,
  903. .navbar-nav li a {
  904. height: inherit;
  905. line-height: 40px;
  906. padding-top: 5px;
  907. padding-bottom: 5px;
  908. }
  909. .navbar-header {
  910. float: none;
  911. min-height: inherit;
  912. }
  913. .navbar-left,
  914. .navbar-right {
  915. float: none !important;
  916. }
  917. .navbar-toggle {
  918. display: block;
  919. }
  920. .navbar-fixed-top {
  921. top: 0;
  922. border-width: 0 0 1px;
  923. }
  924. .navbar-collapse.collapse {
  925. display: none !important;
  926. }
  927. .navbar-nav {
  928. float: none !important;
  929. margin-top: 7.5px;
  930. }
  931. .navbar-nav > li {
  932. float: none;
  933. }
  934. .navbar-nav > li > a {
  935. padding-top: 10px;
  936. padding-bottom: 10px;
  937. line-height: normal;
  938. }
  939. .dropdown-menu > li > a {
  940. display: block;
  941. padding: 3px 20px;
  942. clear: both;
  943. font-weight: 400;
  944. line-height: 1.42857143;
  945. color: {{ .Get "menu_text" }};
  946. white-space: nowrap;
  947. }
  948. .navbar-default .navbar-nav .open .dropdown-menu {
  949. position: static;
  950. float: none;
  951. width: auto;
  952. margin-top: 0;
  953. background-color: transparent;
  954. border: 0;
  955. box-shadow: none;
  956. }
  957. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  958. padding: 5px 15px 5px 25px;
  959. line-height: 20px;
  960. color: {{ .Get "menu_text" }};
  961. }
  962. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  963. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  964. color: inherit;
  965. background-color: transparent;
  966. }
  967. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  968. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  969. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  970. color: {{ .Get "menu_text_active" }};
  971. background-color: transparent;
  972. }
  973. .collapse.in {
  974. display: block !important;
  975. }
  976. }
  977. /*************************************************
  978. * Tables
  979. **************************************************/
  980. table {
  981. width: 100%;
  982. max-width: 100%;
  983. margin-bottom: 1rem;
  984. font-size: 0.93rem;
  985. }
  986. table > thead > tr > th,
  987. table > tbody > tr > th,
  988. table > tfoot > tr > th,
  989. table > thead > tr > td,
  990. table > tbody > tr > td,
  991. table > tfoot > tr > td {
  992. padding: 8px;
  993. line-height: 1.43;
  994. vertical-align: top;
  995. border-top: 1px solid #ddd;
  996. }
  997. table > thead > tr > th {
  998. vertical-align: bottom;
  999. border-bottom: 2px solid #ddd;
  1000. }
  1001. table > caption + thead > tr:first-child > th,
  1002. table > colgroup + thead > tr:first-child > th,
  1003. table > thead:first-child > tr:first-child > th,
  1004. table > caption + thead > tr:first-child > td,
  1005. table > colgroup + thead > tr:first-child > td,
  1006. table > thead:first-child > tr:first-child > td {
  1007. border-top: 0;
  1008. }
  1009. table > tbody + tbody {
  1010. border-top: 2px solid #ddd;
  1011. }
  1012. table table {
  1013. background-color: #fff;
  1014. }
  1015. /* Table Striped */
  1016. table > tbody > tr:nth-child(odd) > td,
  1017. table > tbody > tr:nth-child(odd) > th {
  1018. background-color: #f9f9f9;
  1019. }
  1020. /* Table Hover */
  1021. table > tbody > tr:hover > td,
  1022. table > tbody > tr:hover > th {
  1023. background-color: #e5e5e5;
  1024. }
  1025. /*************************************************
  1026. * Alerts
  1027. **************************************************/
  1028. div.alert {
  1029. border-radius: 10px;
  1030. margin-bottom: 1rem;
  1031. }
  1032. div.alert p {
  1033. position: relative;
  1034. display: block;
  1035. font-size: 1rem;
  1036. margin-left: 2rem;
  1037. margin-top: 0;
  1038. margin-bottom: 0;
  1039. }
  1040. div.alert p:first-child::before {
  1041. position: absolute;
  1042. top: -0.5rem;
  1043. left: -2rem;
  1044. font-family: 'FontAwesome';
  1045. font-size: 1.5rem;
  1046. color: #fff;
  1047. content: '\f05a';
  1048. width: 1.5rem;
  1049. text-align: center;
  1050. }
  1051. div.alert-warning p:first-child::before {
  1052. content: '\f071';
  1053. }
  1054. div.alert a {
  1055. color: rgba(255,255,255,0.9);
  1056. text-decoration: none;
  1057. border-bottom: solid 1px #e4e4e4;
  1058. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1059. }
  1060. div.alert a:hover {
  1061. border-bottom-color: transparent;
  1062. color: rgba(255,255,255,0.5) !important;
  1063. }
  1064. .alert-note {
  1065. color: #fff;
  1066. background-color: #03A9F4; /* Material LightBlue500 */
  1067. border-color: #bce8f1;
  1068. }
  1069. .alert-warning {
  1070. color: #fff;
  1071. background-color: #f44336; /* Material Red500 */
  1072. border-color: #ebccd1;
  1073. }