academic.css 22 KB

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