academic.css 23 KB

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