_tables.scss 609 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .table {
  2. caption-side: top;
  3. td {
  4. touch-action: manipulation;
  5. vertical-align: middle;
  6. }
  7. th {
  8. background-color: $th-background;
  9. font-family: $font-family-bold;
  10. font-weight: normal;
  11. border-bottom: 1px solid $border-color;
  12. a {
  13. color: $th-color;
  14. }
  15. }
  16. th,
  17. td {
  18. > span:empty::before {
  19. content: "\200b";
  20. }
  21. }
  22. caption {
  23. font-family: $font-family-bold;
  24. background-color: $th-background;
  25. font-weight: normal;
  26. text-align: center;
  27. }
  28. }
  29. @media only screen and (min-width: 768px) {
  30. .table th.position-sticky {
  31. top: 87px;
  32. }
  33. }