Sha256: ab4147bbcba50bbc29d0bd7e7a744f57f8dda24f490333e5cdb4e0a0fb821ba2

Contents?: true

Size: 674 Bytes

Versions: 1

Compression:

Stored size: 674 Bytes

Contents

// Tables
// ==========================================================================
// GOV.UK front end toolkit dependencies
@import "typography";
@import "colours";


table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table th,
table td {
  @include core-16;
  padding: em(12, 16) em(20, 16) em(9, 16) 0;

  text-align: left;
  color: #0b0c0c;
  border-bottom: 1px solid $border-colour;
}

table th {
  font-weight: 700;
}

// Right align headings for numeric content
table th.numeric {
  text-align: right;
}

// Use tabular numbers for numeric table cells
table td.numeric {
  @include core-16($tabular-numbers: true);
  text-align: right;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
govuk_elements_rails-0.2.2 vendor/assets/stylesheets/elements/_tables.scss