Sha256: ec046e6f48c4c899d34666a4aed5749c50abcde047b8a55cd1d3c9bffec331b8
Contents?: true
Size: 1.2 KB
Versions: 29
Compression:
Stored size: 1.2 KB
Contents
// Govspeak tables // https://components.publishing.service.gov.uk/component-guide/govspeak/tables // // Support: // - alphagov/whitehall: ✔︎ // - alphagov/govspeak: ✔︎ .govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items. .gem-c-govspeak { table { border-collapse: collapse; border-spacing: 0; display: block; margin: govuk-spacing(6) 0; overflow-x: auto; width: 100%; @include govuk-font($size: 19); caption { text-align: left; margin-bottom: .5em; } th, td { vertical-align: top; padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0; border-bottom: 1px solid govuk-colour("mid-grey", $legacy: "grey-2"); &:last-child { padding: govuk-spacing(2) 0 govuk-spacing(2) 0; } } th { @include govuk-font($size: 19, $weight: bold); text-align: left; color: $govuk-text-colour; } td small { font-size: 1em; } .cell-text-left { text-align: left; } .cell-text-center { text-align: center; } .cell-text-right { text-align: right; } } }
Version data entries
29 entries across 29 versions & 1 rubygems