academic.css 21 KB

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