Sha256: 7027d453c43a6fa0b240092325f226b274f0f132cc712044442bc87406ca8e5c
Contents?: true
Size: 1.1 KB
Versions: 49
Compression:
Stored size: 1.1 KB
Contents
.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 { .steps { padding-left: 0; margin-left: 0; > li { list-style-type: none; margin-left: 0; padding: .75em 0 .75em 2.5em; position: relative; // IE doesn't render this correctly with this element as display:block // (it leaves a space for the :before pseudo element) by setting to // display inline block and a width of 100% it works correctly. display: inline-block; width: 100%; box-sizing: border-box; &:before { background-color: govuk-colour("black"); border-radius: 50%; color: govuk-colour("white"); float: left; font-size: 80%; height: 1.75em; left: .3em; line-height: 1.75em; position: absolute; text-align: center; top: .9em; width: 1.75em; } @for $i from 1 through 30 { &:nth-child(#{$i}):before { content: "#{$i}"; } } } } }
Version data entries
49 entries across 49 versions & 1 rubygems