hugo-academic.css 18 KB

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