academic.css 21 KB

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