hugo-academic.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  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. * 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. .navbar-default .navbar-brand {
  686. text-transform: uppercase;
  687. font-weight: bold;
  688. font-size: 1.2em;
  689. color: #2b2b2b;
  690. }
  691. @media screen and (max-width: 1200px) {
  692. .navbar {
  693. min-height: 50px !important;
  694. }
  695. /* Prevent navbar hiding initial content when jumping to in-page anchor. */
  696. *[id]:not([id^="fn"]):before {
  697. margin-top: -50px;
  698. height: 50px;
  699. }
  700. .navbar-brand,
  701. .navbar-nav li a {
  702. height: inherit;
  703. line-height: 40px;
  704. padding-top: 5px;
  705. padding-bottom: 5px;
  706. }
  707. .navbar-header {
  708. float: none;
  709. min-height: inherit;
  710. }
  711. .navbar-left,
  712. .navbar-right {
  713. float: none !important;
  714. }
  715. .navbar-toggle {
  716. display: block;
  717. }
  718. .navbar-collapse {
  719. background-color: rgba(0,0,0,0.1);
  720. border-radius: 5px;
  721. margin-bottom: 5px;
  722. }
  723. .navbar-fixed-top {
  724. top: 0;
  725. border-width: 0 0 1px;
  726. }
  727. .navbar-collapse.collapse {
  728. display: none !important;
  729. }
  730. .navbar-nav {
  731. float: none !important;
  732. margin-top: 7.5px;
  733. }
  734. .navbar-nav > li {
  735. float: none;
  736. }
  737. .navbar-nav > li > a {
  738. padding-top: 10px;
  739. padding-bottom: 10px;
  740. line-height: normal;
  741. }
  742. .collapse.in {
  743. display: block !important;
  744. }
  745. }
  746. /*************************************************
  747. * Tables
  748. **************************************************/
  749. table {
  750. width: 100%;
  751. max-width: 100%;
  752. margin-bottom: 1rem;
  753. font-size: 0.93rem;
  754. }
  755. table > thead > tr > th,
  756. table > tbody > tr > th,
  757. table > tfoot > tr > th,
  758. table > thead > tr > td,
  759. table > tbody > tr > td,
  760. table > tfoot > tr > td {
  761. padding: 8px;
  762. line-height: 1.43;
  763. vertical-align: top;
  764. border-top: 1px solid #ddd;
  765. }
  766. table > thead > tr > th {
  767. vertical-align: bottom;
  768. border-bottom: 2px solid #ddd;
  769. }
  770. table > caption + thead > tr:first-child > th,
  771. table > colgroup + thead > tr:first-child > th,
  772. table > thead:first-child > tr:first-child > th,
  773. table > caption + thead > tr:first-child > td,
  774. table > colgroup + thead > tr:first-child > td,
  775. table > thead:first-child > tr:first-child > td {
  776. border-top: 0;
  777. }
  778. table > tbody + tbody {
  779. border-top: 2px solid #ddd;
  780. }
  781. table table {
  782. background-color: #fff;
  783. }
  784. /* Table Striped */
  785. table > tbody > tr:nth-child(odd) > td,
  786. table > tbody > tr:nth-child(odd) > th {
  787. background-color: #f9f9f9;
  788. }
  789. /* Table Hover */
  790. table > tbody > tr:hover > td,
  791. table > tbody > tr:hover > th {
  792. background-color: #e5e5e5;
  793. }
  794. /*************************************************
  795. * Alerts
  796. **************************************************/
  797. div.alert {
  798. border-radius: 10px;
  799. margin-bottom: 1rem;
  800. }
  801. div.alert p {
  802. position: relative;
  803. display: block;
  804. font-size: 1rem;
  805. margin-left: 2rem;
  806. margin-top: 0;
  807. margin-bottom: 0;
  808. }
  809. div.alert p:first-child::before {
  810. position: absolute;
  811. top: -0.5rem;
  812. left: -2rem;
  813. font-family: 'FontAwesome';
  814. font-size: 1.5rem;
  815. color: #fff;
  816. content: '\f05a';
  817. width: 1.5rem;
  818. text-align: center;
  819. }
  820. div.alert-warning p:first-child::before {
  821. content: '\f071';
  822. }
  823. div.alert a {
  824. color: rgba(255,255,255,0.9);
  825. text-decoration: none;
  826. border-bottom: solid 1px #e4e4e4;
  827. transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  828. }
  829. div.alert a:hover {
  830. border-bottom-color: transparent;
  831. color: rgba(255,255,255,0.5) !important;
  832. }
  833. .alert-note {
  834. color: #fff;
  835. background-color: #03A9F4; /* Material LightBlue500 */
  836. border-color: #bce8f1;
  837. }
  838. .alert-warning {
  839. color: #fff;
  840. background-color: #f44336; /* Material Red500 */
  841. border-color: #ebccd1;
  842. }