Sha256: 878b9ed9d8e0fc3bd525b6665f65d7b017b6780f52c17a57cb373ae76d41a326
Contents?: true
Size: 1.97 KB
Versions: 78
Compression:
Stored size: 1.97 KB
Contents
@import "../helpers/markdown-typography"; // Govspeak typography // https://components.publishing.service.gov.uk/component-guide/govspeak/heading_levels // https://components.publishing.service.gov.uk/component-guide/govspeak/lists // https://components.publishing.service.gov.uk/component-guide/govspeak/nested_lists // https://components.publishing.service.gov.uk/component-guide/govspeak/blockquote // // Support: // - alphagov/whitehall: ✔︎ // - alphagov/govspeak: ✔︎ // stylelint-disable max-nesting-depth .gem-c-govspeak { @include markdown-typography; &.direction-rtl ol, &.direction-rtl ul { margin-left: 0; margin-right: govuk-spacing(4); a { overflow-wrap: break-word; } ul, ol { margin-top: 0; margin-bottom: 0; } } // Block quotes blockquote { padding: 0 0 0 govuk-spacing(4); margin: 0; border: 0; @include govuk-media-query($from: desktop) { margin: 0 0 0 (- govuk-spacing(6)); } p { padding-left: govuk-spacing(3); @include govuk-media-query($from: tablet) { padding-left: govuk-spacing(6); } &:before { content: "\201C"; float: left; clear: both; margin-left: (- govuk-spacing(3)); } &:last-child:after { content: "\201D"; } } } &.direction-rtl blockquote { padding: 0 govuk-spacing(4) 0 0; @include govuk-media-query($from: desktop) { margin: 0 (- govuk-spacing(6)) 0 0; } p { padding-right: govuk-spacing(3); padding-left: 0; @include govuk-media-query($from: tablet) { padding-right: govuk-spacing(6); padding-left: 0; } &:before { content: "\201D"; float: right; margin-right: (- govuk-spacing(3)); margin-left: 0; } &:last-child:after { content: "\201C"; } } } // Text styles em, i { font-style: normal; font-weight: inherit; } }
Version data entries
78 entries across 78 versions & 1 rubygems