hugo-academic.css 18 KB

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