_support_tables.scss 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ._support_tables {
  2. h2 { @extend %block-heading; }
  3. code { @extend %label; }
  4. > .stats {
  5. tr.show-all ~ tr { display: none; }
  6. &.show-all {
  7. tr.show-all { display: none; }
  8. tr.show-all ~ tr { display: table-row; }
  9. }
  10. td, th {
  11. position: relative;
  12. text-align: center;
  13. min-width: 5rem;
  14. }
  15. sup {
  16. position: absolute;
  17. top: 0;
  18. right: 2px;
  19. font-size: .625rem;
  20. }
  21. tr.current {
  22. font-weight: var(--boldFontWeight);
  23. font-size: 1rem;
  24. }
  25. td {
  26. padding: .125rem .25rem;
  27. cursor: default;
  28. }
  29. td.y {
  30. color: white;
  31. background: #39b54a;
  32. }
  33. td.n, td.p {
  34. color: white;
  35. background: #c44230;
  36. }
  37. td.a {
  38. color: white;
  39. background: #a8bd04;
  40. }
  41. td.u {
  42. color: white;
  43. background: #838383;
  44. }
  45. th.show-all {
  46. background: none;
  47. border-bottom: 0;
  48. }
  49. a.show-all { display: block; }
  50. }
  51. }