Source on Github

Compass Table Scaffolding

Basic styling of tables to get you started.

This file can be imported using: @import "compass/utilities/tables/scaffolding"

Examples

Compass Table Scaffolding Example
How to use the table scaffolding mixins.

Mixins

view source

=table-scaffolding
  th
    text-align: center
    font-weight: bold
  td,
  th
    padding: 2px
    &.numeric
      text-align: right
@mixin table-scaffolding {
  th {
    text-align: center;
    font-weight: bold;
  }
  td,
  th {
    padding: 2px;
    &.numeric {
      text-align: right;
    }
  }
}