hugo-academic.css 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117
  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: 'Merriweather', serif;
  21. font-size: 16px;
  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: 20px;
  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: 'Lato', 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: 'Lato', 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: #0095eb;
  90. text-decoration: none;
  91. transition: color 0.6s ease;
  92. }
  93. a:hover,
  94. a:focus {
  95. color: #005181;
  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: 'Lato', 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: 'Roboto Mono', 'Courier New', 'Courier', 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: rgb(255, 255, 255);
  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: rgb(247, 247, 247);
  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-family: 'Lato', sans-serif;
  212. font-weight: 400;
  213. font-size: 1.1rem;
  214. color: #b2b2b2;
  215. }
  216. /*************************************************
  217. * Biography
  218. **************************************************/
  219. #profile {
  220. text-align: center;
  221. padding: 30px 10px;
  222. position: relative;
  223. }
  224. #profile .portrait {
  225. background-image: url('../img/portrait.jpg');
  226. width: 200px;
  227. height: 200px;
  228. margin: 0 auto;
  229. border-radius: 50%;
  230. background-size: cover;
  231. -webkit-background-size: cover;
  232. -moz-background-size: cover;
  233. }
  234. #profile .portrait-title h2 {
  235. font-size: 1.75em;
  236. font-weight: 300;
  237. color: #000000;
  238. margin: 20px 0 10px 0;
  239. }
  240. #profile .portrait-title h3 {
  241. font-size: 1.13em;
  242. font-weight: 300;
  243. color: #AAAAAA;
  244. margin: 0px 0 10px 0;
  245. }
  246. #profile ul.social-icon {
  247. display: inline-flex;
  248. flex-direction: row;
  249. flex-wrap: wrap;
  250. list-style: none;
  251. padding: 0;
  252. margin-top: 30px;
  253. }
  254. #profile .social-icon li {
  255. margin-right: 10px;
  256. }
  257. #profile .social-icon li:last-of-type {
  258. margin-right: 0;
  259. }
  260. #profile .social-icon li:hover {
  261. transform: scale(1.2)
  262. }
  263. .big-icon {
  264. font-size: 2rem;
  265. }
  266. ul.ul-interests li {
  267. font-size: 0.9rem;
  268. }
  269. ul.ul-edu {
  270. list-style: none;
  271. }
  272. ul.ul-edu li {
  273. position: relative;
  274. padding: 0px 15px 4px 3px;
  275. }
  276. ul.ul-edu li .description p {
  277. margin: 0;
  278. }
  279. ul.ul-edu li .description p.course {
  280. font-size: 0.9rem;
  281. }
  282. ul.ul-edu li .description p.institution {
  283. font-size: 0.75rem;
  284. color: rgba(0,0,0,0.6);
  285. }
  286. /*************************************************
  287. * Sharing
  288. **************************************************/
  289. .share-box {
  290. float: right;
  291. }
  292. ul.share {
  293. display: flex;
  294. flex-direction: row;
  295. flex-wrap: wrap;
  296. list-style: none;
  297. margin: 0;
  298. padding: 0;
  299. }
  300. ul.share li {
  301. display: inline-flex;
  302. margin-right: 5px;
  303. }
  304. ul.share li:last-of-type {
  305. margin-right: 0;
  306. }
  307. ul.share li .fa {
  308. display: block;
  309. width: 30px;
  310. height: 30px;
  311. line-height: 30px;
  312. font-size: 16px;
  313. text-align: center;
  314. transition: all 150ms ease-in-out;
  315. color: #fff;
  316. }
  317. ul.share li a {
  318. background-color: #b5c6ce;
  319. display: block;
  320. border-radius: 50%;
  321. text-decoration: none !important;
  322. margin: 0;
  323. }
  324. ul.share li:hover .fa {
  325. transform: scale(1.4)
  326. }
  327. /*************************************************
  328. * Blog Articles
  329. **************************************************/
  330. article {
  331. animation: intro 0.3s both;
  332. animation-delay: 0.15s;
  333. }
  334. .article-container {
  335. max-width: 760px;
  336. padding: 1rem 20px 0 20px;
  337. margin: 0 auto 0 auto;
  338. }
  339. .article-header {
  340. position: relative;
  341. clear: both;
  342. }
  343. .article-banner {
  344. width: 100%;
  345. height: auto;
  346. }
  347. .article-header-caption {
  348. position: absolute;
  349. bottom: 0;
  350. right: 0;
  351. margin: 0 auto;
  352. padding: 2px 5px;
  353. color: #fff;
  354. font-size: .7em;
  355. background: #000;
  356. text-align: right;
  357. z-index: 5;
  358. opacity: 0.65;
  359. border-radius: 5px 0 0 0;
  360. }
  361. @media (min-width: 64em) {
  362. .article-header-caption {
  363. padding: 5px 10px;
  364. }
  365. }
  366. .article-header-caption a {
  367. color: #fff;
  368. text-decoration: none;
  369. }
  370. .article-title {
  371. font-size: 1.75rem;
  372. }
  373. .article-title a {
  374. color: #151515;
  375. transition: color 0.6s ease;
  376. }
  377. .article-metadata {
  378. margin-bottom: 20px;
  379. line-height: 30px; /* Match share bar line height. */
  380. overflow: hidden;
  381. font-size: 14px;
  382. letter-spacing: 0.03em;
  383. color: #888;
  384. }
  385. .article-metadata a {
  386. color: #888;
  387. }
  388. .article-metadata a:hover {
  389. color: #0095eb;
  390. }
  391. .article-list-item {
  392. margin-bottom: 40px;
  393. }
  394. .article-list-item:last-child {
  395. margin-bottom: 0 !important;
  396. }
  397. .article-list-item .article-metadata {
  398. margin-bottom: 5px;
  399. }
  400. .article-metadata .article-date,
  401. .article-metadata .article-categories,
  402. .article-metadata .article-tags {
  403. margin-right: 10px;
  404. }
  405. .article-style img,
  406. .article-style video {
  407. box-shadow: 1px 1px 0px #edefed, -1px -1px 0px #edefed, 1px -1px 0px #edefed, -1px 1px 0px #edefed;
  408. margin-left: auto;
  409. margin-right: auto;
  410. margin-top: 60px;
  411. margin-bottom: 60px;
  412. padding-left: 0;
  413. padding-right: 0;
  414. }
  415. .article-style figure {
  416. margin-top: 60px;
  417. margin-bottom: 60px;
  418. }
  419. .article-style figure img {
  420. margin-top: 0;
  421. margin-bottom: 0;
  422. }
  423. #comments {
  424. padding-top: 1rem;
  425. }
  426. /*************************************************
  427. * Publications
  428. **************************************************/
  429. .pub-icon {
  430. color: #03396c;
  431. font-size: 0.81em;
  432. padding-top: 6px;
  433. }
  434. .pub-banner {
  435. max-width: 100%;
  436. height: auto;
  437. margin-left: auto;
  438. margin-right: auto;
  439. }
  440. .pub .pub-title {
  441. margin-bottom: 5px;
  442. }
  443. .pub .pub-authors {
  444. font-style: italic;
  445. line-height: 30px; /* Match share bar line height. */
  446. }
  447. .pub .pub-row-heading {
  448. font-weight: bold;
  449. }
  450. .pub-list-item {
  451. margin-bottom: 40px;
  452. }
  453. .pub-list-item .pub-abstract {
  454. font-size: 1rem;
  455. }
  456. .pub-list-item .pub-authors {
  457. line-height: normal;
  458. font-style: normal;
  459. font-size: 1rem;
  460. color: #3170A5;
  461. }
  462. .pub-list-item .pub-publication {
  463. color: #090;
  464. font-size: 1rem;
  465. }
  466. .pub-list-item .pub-links {
  467. padding-top: 10px;
  468. }
  469. #container-publications {
  470. display: block;
  471. position: relative;
  472. overflow: hidden;
  473. }
  474. /*************************************************
  475. * Talks
  476. **************************************************/
  477. .talk-event {
  478. color: #090;
  479. font-size: 1rem;
  480. }
  481. /*************************************************
  482. * Projects
  483. **************************************************/
  484. #projects.home-section li {
  485. margin-bottom: 1rem;
  486. }
  487. #projects.home-section li:last-of-type {
  488. margin-bottom: 0;
  489. }
  490. #projects.home-section .project-title {
  491. display: inline-block;
  492. margin-bottom: 6px;
  493. }
  494. #projects.home-section .project-summary {
  495. font-size: 0.9rem;
  496. margin-bottom: 0.4rem;
  497. }
  498. #projects.home-section .project-tags {
  499. font-size: 0.75rem;
  500. color: #9c9c9c;
  501. }
  502. #container-projects {
  503. display: block;
  504. position: relative;
  505. /*margin-top: 5rem;*/
  506. overflow: hidden;
  507. }
  508. .project-toolbar{
  509. margin-bottom: 2rem;
  510. }
  511. .project-item {
  512. margin-bottom: 1.5rem;
  513. }
  514. .isotope-item {
  515. z-index: 2;
  516. }
  517. .isotope-item:hover{
  518. z-index: 3;
  519. }
  520. /*************************************************
  521. * Card component
  522. **************************************************/
  523. .card {
  524. margin-bottom: 1.5rem;
  525. overflow: hidden;
  526. text-overflow: ellipsis;
  527. background: #fff;
  528. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  529. transition: all 0.2s ease-out;
  530. }
  531. .card .card-image {
  532. display: block;
  533. position: relative;
  534. min-height: 100px;
  535. }
  536. .card h4 {
  537. font-size: 0.9rem;
  538. font-weight: 700;
  539. line-height: 1.5;
  540. text-transform: uppercase;
  541. }
  542. .card h4 a {
  543. color: #000;
  544. border-bottom: solid 1px transparent;
  545. }
  546. .card h4 a:hover {
  547. color: #000;
  548. border-bottom: solid 1px #000;
  549. text-decoration: none;
  550. }
  551. .card .card-text {
  552. padding: 0.75rem 1rem 0.75rem;
  553. }
  554. .card .card-text p {
  555. color: #999999;
  556. font-size: 0.75rem;
  557. }
  558. .card p:last-child {
  559. margin-bottom: 0;
  560. }
  561. .card .card-image.hover-overlay:before {
  562. display: block;
  563. position: absolute;
  564. left: 0;
  565. top: 0;
  566. width: 100%;
  567. height: 100%;
  568. background: #fff;
  569. content: " ";
  570. opacity: 0;
  571. transition: all 0.2s ease-out;
  572. }
  573. .card .card-image.hover-overlay:after {
  574. display: block;
  575. position: absolute;
  576. left: 0;
  577. top: 50%;
  578. width: 100%;
  579. transform: translate(0, -50%);
  580. opacity: 0;
  581. transition: all 0.2s ease-out;
  582. font-family: 'FontAwesome';
  583. content: '\f0c1';
  584. text-align: center;
  585. font-size: 3rem;
  586. color: #666;
  587. }
  588. .card:hover {
  589. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  590. }
  591. .card:hover .card-image.hover-overlay:before {
  592. opacity: 0.8;
  593. }
  594. .card:hover .card-image.hover-overlay:after {
  595. opacity: 0.6;
  596. }
  597. /*************************************************
  598. * Contact
  599. **************************************************/
  600. #contact.home-section .fa-ul {
  601. margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */
  602. }
  603. #contact.home-section .fa-li {
  604. position: absolute;
  605. left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */
  606. width: 2rem; /* Match `fa-2x` icon size. */
  607. top: 0.14285714em; /* Default FA value. */
  608. text-align: center;
  609. }
  610. #contact.home-section li {
  611. padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */
  612. margin-bottom: 0.3rem;
  613. }
  614. #contact.home-section li:last-of-type {
  615. margin-bottom: 0;
  616. }
  617. /*************************************************
  618. * Footer
  619. **************************************************/
  620. footer {
  621. margin: 4rem 0 0;
  622. padding: 2rem 0;
  623. width: 100%;
  624. }
  625. footer p {
  626. font-size: 0.75rem;
  627. text-align: center;
  628. }
  629. .site-footer,
  630. footer a#back_to_top i {
  631. color: #899596;
  632. }
  633. /*************************************************
  634. * Button Primary: Color Override
  635. **************************************************/
  636. .btn-primary {
  637. border-color: #0095eb;
  638. background: #0095eb;
  639. }
  640. .btn-primary:hover,
  641. .btn-primary:focus,
  642. .btn-primary:active,
  643. .btn-primary.active,
  644. .open > .dropdown-toggle.btn-primary {
  645. background: #0095eb;
  646. }
  647. /*************************************************
  648. * Toolbar Buttons
  649. **************************************************/
  650. .btn-toolbar .btn {
  651. font-size: 0.9rem;
  652. padding: 10px 14px 9px;
  653. border: none;
  654. }
  655. .btn-toolbar .btn:first-child {
  656. border-radius: 6px 0 0 6px;
  657. }
  658. .btn-toolbar .btn:last-child {
  659. border-radius: 0 6px 6px 0;
  660. }
  661. .btn-toolbar .btn.btn-primary:hover,
  662. .btn-toolbar .btn.btn-primary:focus {
  663. background-color: rgba(0,149,235,0.6);
  664. }
  665. .btn-toolbar .btn.btn-primary:active,
  666. .btn-toolbar .btn.btn-primary.active {
  667. background-color: rgba(0,89,175,1);
  668. }
  669. /*************************************************
  670. * Button Outlines
  671. **************************************************/
  672. .btn-outline {
  673. background-color: transparent;
  674. color: inherit;
  675. transition: all .5s;
  676. }
  677. .btn-primary.btn-outline {
  678. color: #0095eb;
  679. border-color: #0095eb;
  680. }
  681. .btn-success.btn-outline {
  682. color: #5cb85c;
  683. }
  684. .btn-info.btn-outline {
  685. color: #5bc0de;
  686. }
  687. .btn-warning.btn-outline {
  688. color: #f0ad4e;
  689. }
  690. .btn-danger.btn-outline {
  691. color: #d9534f;
  692. }
  693. .btn-primary.btn-outline:hover,
  694. .btn-success.btn-outline:hover,
  695. .btn-info.btn-outline:hover,
  696. .btn-warning.btn-outline:hover,
  697. .btn-danger.btn-outline:hover {
  698. color: #fff;
  699. }
  700. /*************************************************
  701. * Navigation Bar
  702. **************************************************/
  703. .navbar {
  704. min-height: 70px !important;
  705. }
  706. .navbar-default {
  707. background: #fff;
  708. box-shadow: 0 0.125rem 0.25rem 0 rgba(0,0,0,.11)
  709. }
  710. nav#navbar-main li {
  711. font-size: 16px;
  712. }
  713. .navbar-default .navbar-nav>li>a,
  714. .navbar-default .navbar-nav>a:focus,
  715. .navbar-default .navbar-nav>a:hover {
  716. white-space: nowrap;
  717. -webkit-transition: 0.2s ease;
  718. transition: 0.2s ease;
  719. color: #34495e;
  720. font-weight: 600;
  721. }
  722. .navbar-default .navbar-nav>.active>a,
  723. .navbar-default .navbar-nav>.active>a:focus,
  724. .navbar-default .navbar-nav>.active>a:hover {
  725. color: #0095eb;
  726. font-weight: 700;
  727. background-color: transparent !important; /* Override Bootstrap. */
  728. }
  729. .navbar-brand,
  730. .navbar-nav li a {
  731. height: inherit;
  732. line-height: 50px;
  733. padding-top: 10px;
  734. padding-bottom: 10px;
  735. }
  736. .dropdown-menu > li > a {
  737. display: block;
  738. padding: 3px 20px;
  739. clear: both;
  740. font-weight: 400;
  741. line-height: 1.42857143;
  742. color: #34495e;
  743. white-space: nowrap;
  744. }
  745. .dropdown-menu > .active > a,
  746. .dropdown-menu > .active > a:focus,
  747. .dropdown-menu > .active > a:hover {
  748. color: #fff;
  749. text-decoration: none;
  750. background-color: #0095eb;
  751. outline: 0;
  752. }
  753. .navbar-default .navbar-brand {
  754. text-transform: uppercase;
  755. font-weight: bold;
  756. font-size: 1.2em;
  757. color: #2b2b2b;
  758. }
  759. @media screen and (max-width: 1200px) {
  760. .navbar {
  761. min-height: 50px !important;
  762. }
  763. .navbar-brand,
  764. .navbar-nav li a {
  765. height: inherit;
  766. line-height: 40px;
  767. padding-top: 5px;
  768. padding-bottom: 5px;
  769. }
  770. .navbar-header {
  771. float: none;
  772. min-height: inherit;
  773. }
  774. .navbar-left,
  775. .navbar-right {
  776. float: none !important;
  777. }
  778. .navbar-toggle {
  779. display: block;
  780. }
  781. .navbar-fixed-top {
  782. top: 0;
  783. border-width: 0 0 1px;
  784. }
  785. .navbar-collapse.collapse {
  786. display: none !important;
  787. }
  788. .navbar-nav {
  789. float: none !important;
  790. margin-top: 7.5px;
  791. }
  792. .navbar-nav > li {
  793. float: none;
  794. }
  795. .navbar-nav > li > a {
  796. padding-top: 10px;
  797. padding-bottom: 10px;
  798. line-height: normal;
  799. }
  800. .dropdown-menu > li > a {
  801. display: block;
  802. padding: 3px 20px;
  803. clear: both;
  804. font-weight: 400;
  805. line-height: 1.42857143;
  806. color: #34495e;
  807. white-space: nowrap;
  808. }
  809. .navbar-default .navbar-nav .open .dropdown-menu {
  810. position: static;
  811. float: none;
  812. width: auto;
  813. margin-top: 0;
  814. background-color: transparent;
  815. border: 0;
  816. box-shadow: none;
  817. }
  818. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  819. padding: 5px 15px 5px 25px;
  820. line-height: 20px;
  821. color: #34495e;
  822. }
  823. .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  824. .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
  825. color: inherit;
  826. background-color: transparent;
  827. }
  828. .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  829. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  830. .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
  831. color: #0095eb;
  832. background-color: transparent;
  833. }
  834. .collapse.in {
  835. display: block !important;
  836. }
  837. }
  838. /*************************************************
  839. * Tables
  840. **************************************************/
  841. table {
  842. width: 100%;
  843. max-width: 100%;
  844. margin-bottom: 1rem;
  845. font-size: 0.93rem;
  846. }
  847. table > thead > tr > th,
  848. table > tbody > tr > th,
  849. table > tfoot > tr > th,
  850. table > thead > tr > td,
  851. table > tbody > tr > td,
  852. table > tfoot > tr > td {
  853. padding: 8px;
  854. line-height: 1.43;
  855. vertical-align: top;
  856. border-top: 1px solid #ddd;
  857. }
  858. table > thead > tr > th {
  859. vertical-align: bottom;
  860. border-bottom: 2px solid #ddd;
  861. }
  862. table > caption + thead > tr:first-child > th,
  863. table > colgroup + thead > tr:first-child > th,
  864. table > thead:first-child > tr:first-child > th,
  865. table > caption + thead > tr:first-child > td,
  866. table > colgroup + thead > tr:first-child > td,
  867. table > thead:first-child > tr:first-child > td {
  868. border-top: 0;
  869. }
  870. table > tbody + tbody {
  871. border-top: 2px solid #ddd;
  872. }
  873. table table {
  874. background-color: #fff;
  875. }
  876. /* Table Striped */
  877. table > tbody > tr:nth-child(odd) > td,
  878. table > tbody > tr:nth-child(odd) > th {
  879. background-color: #f9f9f9;
  880. }
  881. /* Table Hover */
  882. table > tbody > tr:hover > td,
  883. table > tbody > tr:hover > th {
  884. background-color: #e5e5e5;
  885. }
  886. /*************************************************
  887. * Alerts
  888. **************************************************/
  889. div.alert {
  890. border-radius: 10px;
  891. margin-bottom: 1rem;
  892. }
  893. div.alert p {
  894. position: relative;
  895. display: block;
  896. font-size: 1rem;
  897. margin-left: 2rem;
  898. margin-top: 0;
  899. margin-bottom: 0;
  900. }
  901. div.alert p:first-child::before {
  902. position: absolute;
  903. top: -0.5rem;
  904. left: -2rem;
  905. font-family: 'FontAwesome';
  906. font-size: 1.5rem;
  907. color: #fff;
  908. content: '\f05a';
  909. width: 1.5rem;
  910. text-align: center;
  911. }
  912. div.alert-warning p:first-child::before {
  913. content: '\f071';
  914. }
  915. div.alert a {
  916. color: rgba(255,255,255,0.9);
  917. text-decoration: none;
  918. border-bottom: solid 1px #e4e4e4;
  919. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  920. }
  921. div.alert a:hover {
  922. border-bottom-color: transparent;
  923. color: rgba(255,255,255,0.5) !important;
  924. }
  925. .alert-note {
  926. color: #fff;
  927. background-color: #03A9F4; /* Material LightBlue500 */
  928. border-color: #bce8f1;
  929. }
  930. .alert-warning {
  931. color: #fff;
  932. background-color: #f44336; /* Material Red500 */
  933. border-color: #ebccd1;
  934. }