porkchopclub/porkchop

View on GitHub
app/assets/stylesheets/_tables.scss

Summary

Maintainability
Test Coverage
table {
  width: 100%;
  border-collapse: collapse;

  thead {
    border-bottom: 2px solid $light-grey;
  }

  td {
    border: 0;
  }

  &.alternating-rows tbody tr:nth-child(even) {
    background: $lightest-grey;
  }
}