academic.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248
  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. .article-metadata .article-date,
  441. .article-metadata .article-reading-time,
  442. .article-metadata .article-categories,
  443. .article-metadata .article-tags {
  444. margin-right: 10px;
  445. }
  446. .article-style img,
  447. .article-style video {
  448. box-shadow: 1px 1px 0px #edefed, -1px -1px 0px #edefed, 1px -1px 0px #edefed, -1px 1px 0px #edefed;
  449. margin-left: auto;
  450. margin-right: auto;
  451. margin-top: 60px;
  452. margin-bottom: 60px;
  453. padding-left: 0;
  454. padding-right: 0;
  455. }
  456. .article-style figure {
  457. margin-top: 60px;
  458. margin-bottom: 60px;
  459. }
  460. .article-style figure img {
  461. margin-top: 0;
  462. margin-bottom: 0;
  463. }
  464. #comments {
  465. padding-top: 1rem;
  466. }
  467. /*************************************************
  468. * Publications
  469. **************************************************/
  470. .pub-icon {
  471. color: rgba(0, 0, 0, 0.54);
  472. font-size: 0.81em;
  473. padding-top: 6px;
  474. }
  475. .pub-banner {
  476. max-width: 100%;
  477. height: auto;
  478. margin-left: auto;
  479. margin-right: auto;
  480. }
  481. .pub .pub-title {
  482. margin-bottom: 5px;
  483. }
  484. .pub .pub-authors {
  485. font-style: italic;
  486. line-height: 30px; /* Match share bar line height. */
  487. }
  488. .pub .pub-row-heading {
  489. font-weight: bold;
  490. }
  491. .pub-list-item {
  492. margin-bottom: 40px;
  493. }
  494. .pub-list-item .pub-abstract {
  495. font-size: 1rem;
  496. }
  497. .pub-list-item .pub-authors {
  498. line-height: normal;
  499. font-style: normal;
  500. font-size: 1rem;
  501. color: #3170A5;
  502. }
  503. .pub-list-item .pub-publication {
  504. color: #090;
  505. font-size: 1rem;
  506. }
  507. .pub-list-item .pub-links {
  508. padding-top: 10px;
  509. }
  510. #container-publications {
  511. display: block;
  512. position: relative;
  513. overflow: hidden;
  514. }
  515. /*************************************************
  516. * Talks
  517. **************************************************/
  518. .talk-event {
  519. color: #090;
  520. font-size: 1rem;
  521. }
  522. /*************************************************
  523. * Projects
  524. **************************************************/
  525. #projects.home-section li {
  526. margin-bottom: 1rem;
  527. }
  528. #projects.home-section li:last-of-type {
  529. margin-bottom: 0;
  530. }
  531. #projects.home-section .project-title {
  532. display: inline-block;
  533. margin-bottom: 6px;
  534. }
  535. #projects.home-section .project-summary {
  536. font-size: 0.9rem;
  537. margin-bottom: 0.4rem;
  538. }
  539. #projects.home-section .project-tags {
  540. font-size: 0.75rem;
  541. color: #9c9c9c;
  542. }
  543. .projects-container {
  544. display: block;
  545. position: relative;
  546. /*margin-top: 5rem;*/
  547. overflow: hidden;
  548. }
  549. .project-toolbar{
  550. margin-bottom: 2rem;
  551. }
  552. .project-item {
  553. margin-bottom: 1.5rem;
  554. }
  555. .isotope-item {
  556. z-index: 2;
  557. }
  558. .isotope-item:hover{
  559. z-index: 3;
  560. }
  561. /*************************************************
  562. * Card component
  563. **************************************************/
  564. .card {
  565. margin-bottom: 1.5rem;
  566. overflow: hidden;
  567. text-overflow: ellipsis;
  568. background: #fff;
  569. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  570. transition: all 0.2s ease-out;
  571. }
  572. .card .card-image {
  573. display: block;
  574. position: relative;
  575. min-height: 100px;
  576. }
  577. .card h4 {
  578. font-size: 0.9rem;
  579. font-weight: 700;
  580. line-height: 1.5;
  581. text-transform: uppercase;
  582. }
  583. .card h4 a {
  584. color: #000;
  585. border-bottom: solid 1px transparent;
  586. }
  587. .card h4 a:hover {
  588. color: #000;
  589. border-bottom: solid 1px #000;
  590. text-decoration: none;
  591. }
  592. .card .card-text {
  593. padding: 0.75rem 1rem 0.75rem;
  594. }
  595. .card .card-text p {
  596. color: #999999;
  597. font-size: 0.75rem;
  598. }
  599. .card p:last-child {
  600. margin-bottom: 0;
  601. }
  602. .card .card-image.hover-overlay:before {
  603. display: block;
  604. position: absolute;
  605. left: 0;
  606. top: 0;
  607. width: 100%;
  608. height: 100%;
  609. background: #fff;
  610. content: " ";
  611. opacity: 0;
  612. transition: all 0.2s ease-out;
  613. }
  614. .card .card-image.hover-overlay:after {
  615. display: block;
  616. position: absolute;
  617. left: 0;
  618. top: 50%;
  619. width: 100%;
  620. transform: translate(0, -50%);
  621. opacity: 0;
  622. transition: all 0.2s ease-out;
  623. font-family: 'FontAwesome';
  624. content: '\f0c1';
  625. text-align: center;
  626. font-size: 3rem;
  627. color: #666;
  628. }
  629. .card:hover {
  630. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  631. }
  632. .card:hover .card-image.hover-overlay:before {
  633. opacity: 0.8;
  634. }
  635. .card:hover .card-image.hover-overlay:after {
  636. opacity: 0.6;
  637. }
  638. /*************************************************
  639. * Contact
  640. **************************************************/
  641. #contact.home-section .fa-ul {
  642. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  643. }
  644. #contact.home-section .fa-li {
  645. position: absolute;
  646. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  647. width: 2rem; /* Match `fa-2x` icon size. */
  648. top: 0.14285714em; /* Default FA value. */
  649. text-align: center;
  650. }
  651. #contact.home-section li {
  652. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  653. margin-bottom: 0.3rem;
  654. }
  655. #contact.home-section li:last-of-type {
  656. margin-bottom: 0;
  657. }
  658. /*************************************************
  659. * Footer
  660. **************************************************/
  661. footer {
  662. margin: 4rem 0 0;
  663. padding: 2rem 0;
  664. width: 100%;
  665. }
  666. footer p {
  667. font-size: 0.75rem;
  668. text-align: center;
  669. }
  670. .site-footer,
  671. footer a#back_to_top i {
  672. color: #899596;
  673. }
  674. /*************************************************
  675. * Button Primary: Color Override
  676. **************************************************/
  677. .btn-primary {
  678. border-color: {{ .Get "primary" }} !important;
  679. background: {{ .Get "primary" }} !important;
  680. }
  681. .btn-primary:hover,
  682. .btn-primary:active,
  683. .btn-primary.active,
  684. .btn-primary:visited,
  685. .open > .dropdown-toggle.btn-primary {
  686. background: {{ .Get "primary" }} !important;
  687. }
  688. .btn-light {
  689. border-color: #fff !important;
  690. background: #fff !important;
  691. }
  692. .btn-light:hover,
  693. .btn-light:active,
  694. .btn-light.active {
  695. background: rgba(0,0,0,0.4) !important;
  696. }
  697. /*************************************************
  698. * Toolbar Buttons
  699. **************************************************/
  700. .btn-toolbar .btn {
  701. font-size: 0.9rem;
  702. padding: 10px 14px 9px;
  703. border: none;
  704. }
  705. .btn-toolbar .btn:first-child {
  706. border-radius: 6px 0 0 6px;
  707. }
  708. .btn-toolbar .btn:last-child {
  709. border-radius: 0 6px 6px 0;
  710. }
  711. .btn-toolbar .btn.btn-primary:hover,
  712. .btn-toolbar .btn.btn-primary:focus {
  713. background-color: {{ .Get "primary_dark" }} !important;
  714. }
  715. .btn-toolbar .btn.btn-primary:active,
  716. .btn-toolbar .btn.btn-primary.active {
  717. background-color: {{ .Get "primary_light" }} !important;
  718. }
  719. /*************************************************
  720. * Button Outlines
  721. **************************************************/
  722. .btn-outline {
  723. background-color: transparent !important;
  724. color: inherit;
  725. transition: all .5s;
  726. }
  727. .btn-primary.btn-outline {
  728. color: {{ .Get "primary" }} !important;
  729. border-color: {{ .Get "primary" }} !important;
  730. }
  731. .btn-primary.btn-outline:focus {
  732. color: {{ .Get "primary" }} !important;
  733. }
  734. .btn-primary.btn-outline:active {
  735. color: #fff !important;
  736. }
  737. .btn-light.btn-outline {
  738. color: #fff !important;
  739. border-color: #fff !important;
  740. }
  741. .btn-light.btn-outline:focus {
  742. color: #fff !important;
  743. }
  744. .btn-light.btn-outline:active {
  745. color: transparent !important;
  746. }
  747. .btn-success.btn-outline {
  748. color: #5cb85c;
  749. }
  750. .btn-info.btn-outline {
  751. color: #5bc0de;
  752. }
  753. .btn-warning.btn-outline {
  754. color: #f0ad4e;
  755. }
  756. .btn-danger.btn-outline {
  757. color: #d9534f;
  758. }
  759. .btn-primary.btn-outline:hover,
  760. .btn-light.btn-outline:hover,
  761. .btn-success.btn-outline:hover,
  762. .btn-info.btn-outline:hover,
  763. .btn-warning.btn-outline:hover,
  764. .btn-danger.btn-outline:hover {
  765. color: #fff !important;
  766. }
  767. /*************************************************
  768. * Navigation Bar
  769. **************************************************/
  770. .navbar {
  771. min-height: 70px !important;
  772. }
  773. .navbar-default {
  774. background: {{ .Get "menu_primary" }};
  775. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  776. }
  777. .navbar-default .navbar-toggle {
  778. border-color: transparent;
  779. }
  780. .navbar-default .navbar-toggle:focus,
  781. .navbar-default .navbar-toggle:hover {
  782. background-color: transparent;
  783. }
  784. nav#navbar-main li {
  785. font-size: {{ .Get "font_size_small" }}px;
  786. }
  787. .navbar-default .navbar-nav>li>a,
  788. .navbar-default .navbar-nav>a:focus,
  789. .navbar-default .navbar-nav>a:hover {
  790. white-space: nowrap;
  791. -webkit-transition: 0.2s ease;
  792. transition: 0.2s ease;
  793. color: {{ .Get "menu_text" }};
  794. font-weight: 600;
  795. }
  796. .navbar-default .navbar-nav>li>a:focus {
  797. color: {{ .Get "menu_text" }};
  798. background-color: transparent;
  799. }
  800. .navbar-default .navbar-nav>li>a:hover {
  801. color: {{ .Get "menu_text_active" }};
  802. background-color: transparent;
  803. }
  804. .navbar-default .navbar-nav>.active>a,
  805. .navbar-default .navbar-nav>.active>a:focus,
  806. .navbar-default .navbar-nav>.active>a:hover {
  807. color: {{ .Get "menu_text_active" }};
  808. font-weight: 700;
  809. background-color: transparent !important; /* Override Bootstrap. */
  810. }
  811. .navbar-brand,
  812. .navbar-nav li a {
  813. height: inherit;
  814. line-height: 50px;
  815. padding-top: 10px;
  816. padding-bottom: 10px;
  817. }
  818. .navbar-default .navbar-toggle .icon-bar {
  819. background-color: {{ .Get "menu_text" }} !important;
  820. }
  821. .dropdown-menu {
  822. background-color: {{ .Get "menu_primary" }} !important;
  823. }
  824. .dropdown-menu > li > a {
  825. display: block;
  826. padding: 3px 20px;
  827. clear: both;
  828. font-weight: 400;
  829. line-height: 1.42857143;
  830. color: {{ .Get "menu_text" }};
  831. white-space: nowrap;
  832. }
  833. .dropdown-menu>li>a:focus,
  834. .dropdown-menu>li>a:hover {
  835. color: {{ .Get "menu_text_active" }};
  836. text-decoration: none;
  837. background-color: {{ .Get "menu_primary" }};
  838. }
  839. .dropdown-menu > .active > a,
  840. .dropdown-menu > .active > a:focus,
  841. .dropdown-menu > .active > a:hover {
  842. color: {{ .Get "menu_primary" }};
  843. text-decoration: none;
  844. background-color: {{ .Get "menu_text_active" }};
  845. outline: 0;
  846. }
  847. .navbar-default .navbar-nav>.open>a,
  848. .navbar-default .navbar-nav>.open>a:focus,
  849. .navbar-default .navbar-nav>.open>a:hover,
  850. .navbar-default .navbar-nav>.open>a:visited {
  851. color: {{ .Get "menu_text" }} !important;
  852. background-color: {{ .Get "menu_primary" }} !important;
  853. }
  854. .navbar-default .navbar-brand {
  855. text-transform: uppercase;
  856. font-weight: bold;
  857. font-size: 1.2em;
  858. color: {{ .Get "menu_title" }};
  859. }
  860. .navbar-default .navbar-brand:focus,
  861. .navbar-default .navbar-brand:hover {
  862. color: {{ .Get "menu_title" }};
  863. background-color: transparent;
  864. }
  865. @media screen and (max-width: 1200px) {
  866. .navbar {
  867. min-height: 50px !important;
  868. }
  869. .navbar-brand,
  870. .navbar-nav li a {
  871. height: inherit;
  872. line-height: 40px;
  873. padding-top: 5px;
  874. padding-bottom: 5px;
  875. }
  876. .navbar-header {
  877. float: none;
  878. min-height: inherit;
  879. }
  880. .navbar-left,
  881. .navbar-right {
  882. float: none !important;
  883. }
  884. .navbar-toggle {
  885. display: block;
  886. }
  887. .navbar-fixed-top {
  888. top: 0;
  889. border-width: 0 0 1px;
  890. }
  891. .navbar-collapse.collapse {
  892. display: none !important;
  893. }
  894. .navbar-nav {
  895. float: none !important;
  896. margin-top: 7.5px;
  897. }
  898. .navbar-nav > li {
  899. float: none;
  900. }
  901. .navbar-nav > li > a {
  902. padding-top: 10px;
  903. padding-bottom: 10px;
  904. line-height: normal;
  905. }
  906. .dropdown-menu > li > a {
  907. display: block;
  908. padding: 3px 20px;
  909. clear: both;
  910. font-weight: 400;
  911. line-height: 1.42857143;
  912. color: {{ .Get "menu_text" }};
  913. white-space: nowrap;
  914. }
  915. .navbar-default .navbar-nav .open .dropdown-menu {
  916. position: static;
  917. float: none;
  918. width: auto;
  919. margin-top: 0;
  920. background-color: transparent;
  921. border: 0;
  922. box-shadow: none;
  923. }
  924. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  925. padding: 5px 15px 5px 25px;
  926. line-height: 20px;
  927. color: {{ .Get "menu_text" }};
  928. }
  929. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  930. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  931. color: inherit;
  932. background-color: transparent;
  933. }
  934. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  935. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  936. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  937. color: {{ .Get "menu_text_active" }};
  938. background-color: transparent;
  939. }
  940. .collapse.in {
  941. display: block !important;
  942. }
  943. }
  944. /*************************************************
  945. * Tables
  946. **************************************************/
  947. table {
  948. width: 100%;
  949. max-width: 100%;
  950. margin-bottom: 1rem;
  951. font-size: 0.93rem;
  952. }
  953. table > thead > tr > th,
  954. table > tbody > tr > th,
  955. table > tfoot > tr > th,
  956. table > thead > tr > td,
  957. table > tbody > tr > td,
  958. table > tfoot > tr > td {
  959. padding: 8px;
  960. line-height: 1.43;
  961. vertical-align: top;
  962. border-top: 1px solid #ddd;
  963. }
  964. table > thead > tr > th {
  965. vertical-align: bottom;
  966. border-bottom: 2px solid #ddd;
  967. }
  968. table > caption + thead > tr:first-child > th,
  969. table > colgroup + thead > tr:first-child > th,
  970. table > thead:first-child > tr:first-child > th,
  971. table > caption + thead > tr:first-child > td,
  972. table > colgroup + thead > tr:first-child > td,
  973. table > thead:first-child > tr:first-child > td {
  974. border-top: 0;
  975. }
  976. table > tbody + tbody {
  977. border-top: 2px solid #ddd;
  978. }
  979. table table {
  980. background-color: #fff;
  981. }
  982. /* Table Striped */
  983. table > tbody > tr:nth-child(odd) > td,
  984. table > tbody > tr:nth-child(odd) > th {
  985. background-color: #f9f9f9;
  986. }
  987. /* Table Hover */
  988. table > tbody > tr:hover > td,
  989. table > tbody > tr:hover > th {
  990. background-color: #e5e5e5;
  991. }
  992. /*************************************************
  993. * Alerts
  994. **************************************************/
  995. div.alert {
  996. border-radius: 10px;
  997. margin-bottom: 1rem;
  998. }
  999. div.alert p {
  1000. position: relative;
  1001. display: block;
  1002. font-size: 1rem;
  1003. margin-left: 2rem;
  1004. margin-top: 0;
  1005. margin-bottom: 0;
  1006. }
  1007. div.alert p:first-child::before {
  1008. position: absolute;
  1009. top: -0.5rem;
  1010. left: -2rem;
  1011. font-family: 'FontAwesome';
  1012. font-size: 1.5rem;
  1013. color: #fff;
  1014. content: '\f05a';
  1015. width: 1.5rem;
  1016. text-align: center;
  1017. }
  1018. div.alert-warning p:first-child::before {
  1019. content: '\f071';
  1020. }
  1021. div.alert a {
  1022. color: rgba(255,255,255,0.9);
  1023. text-decoration: none;
  1024. border-bottom: solid 1px #e4e4e4;
  1025. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1026. }
  1027. div.alert a:hover {
  1028. border-bottom-color: transparent;
  1029. color: rgba(255,255,255,0.5) !important;
  1030. }
  1031. .alert-note {
  1032. color: #fff;
  1033. background-color: #03A9F4; /* Material LightBlue500 */
  1034. border-color: #bce8f1;
  1035. }
  1036. .alert-warning {
  1037. color: #fff;
  1038. background-color: #f44336; /* Material Red500 */
  1039. border-color: #ebccd1;
  1040. }