Sha256: 726abf15f3ebc5a8c6ff55e43583f232de805a400c8092e861727485775d7425
Contents?: true
Size: 1.16 KB
Versions: 8
Compression:
Stored size: 1.16 KB
Contents
@import "govuk_publishing_components/individual_component_support"; .gem-c-heading, .gem-c-heading__text { margin: 0; } .gem-c-heading--font-size-27 { @include govuk-text-colour; @include govuk-font(27, $weight: bold); } .gem-c-heading--padding { padding: govuk-spacing(3) 0; } // border color will default to black // can be changed using the branding functionality .gem-c-heading--border-top-1 { border-top-style: solid; border-top-width: 1px; } .gem-c-heading--border-top-2 { border-top-style: solid; border-top-width: 2px; } .gem-c-heading--border-top-5 { border-top-style: solid; border-top-width: 5px; } .gem-c-heading--inverse { .gem-c-heading__context, .gem-c-heading__text { color: govuk-colour("white"); } } // stylelint-disable declaration-no-important @include govuk-media-query($media-type: print) { // Override margins and colors .gem-c-heading { margin: 0 !important; color: $govuk-print-text-colour !important; border-color: $govuk-print-text-colour !important; padding: 0; } .gem-c-heading--padding[class*="--border-top"] { padding-top: govuk-spacing(3); } } // stylelint-enable declaration-no-important
Version data entries
8 entries across 8 versions & 1 rubygems