drizzle-css 0.1.0

Classless-first CSS framework — exposes compiled CSS as &'static str constants.
Documentation
/* Tables. */

table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--gutter-md) 0;
  font-size: var(--font-size-base);
  background: var(--color-bg);
  border: var(--border-width-thin) var(--border-style) var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: var(--font-weight-bold);
  padding: var(--gutter-sm) 0;
  color: var(--color-muted);
}

th,
td {
  text-align: left;
  padding: var(--gutter-sm) var(--gutter-md);
  border-bottom: var(--border-width-thin) var(--border-style) var(--color-border);
  vertical-align: top;
}

thead th {
  background: var(--color-surface);
  font-weight: var(--font-weight-bold);
  border-bottom: var(--border-width) var(--border-style) var(--color-border);
}

tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--color-surface) 60%, transparent);
}

tbody tr:hover {
  background: var(--color-surface);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tfoot th,
tfoot td {
  background: var(--color-surface);
  border-top: var(--border-width) var(--border-style) var(--color-border);
  border-bottom: 0;
  font-weight: var(--font-weight-medium);
}

@media (max-width: 47.9375rem) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}