hugo-academic.css 17 KB

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