Sha256: a37d8485904e5e8e2cdde9e7a5e68a8a1e929c6b7bc2b3d7707edd6eee13f46b
Contents?: true
Size: 1.27 KB
Versions: 83
Compression:
Stored size: 1.27 KB
Contents
.gem-c-heading { @include govuk-text-colour; @include bold-27; margin: 0; } .gem-c-heading--font-size-24 { @include bold-24; } .gem-c-heading--font-size-19 { @include bold-19; } // special case for publications and consultations pages // separated to allow normalisation of the component for wider use .gem-c-heading--mobile-top-margin { margin-top: $gutter; margin-bottom: $gutter-half; @include media(tablet) { margin-top: 0; margin-bottom: $gutter; } } .gem-c-heading--padding { padding: $gutter-half 0; } // margins would ideally be handled by a general model for all components // but we don't have one yet, so this is in anticipation of that // suggested scale is as follows, not fully implemented // $gutter = 4 // $gutter-two-thirds = 3 // $gutter-half = 2 // $gutter-one-third = 1 .gem-c-heading--margin-bottom-4 { margin-bottom: $gutter; } .gem-c-heading--margin-bottom-2 { margin-bottom: $gutter-half; } // 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; }
Version data entries
83 entries across 83 versions & 1 rubygems