hugo-academic.css 19 KB

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