hugo-academic.css 17 KB

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