Add content ol types

This commit is contained in:
Jeremy Thomas
2018-10-07 19:04:09 +02:00
parent c12a649c93
commit ee8e0a497e
5 changed files with 699 additions and 155 deletions

View File

@@ -70,18 +70,19 @@ $content-table-foot-cell-color: $text-strong !default
border-left: $content-blockquote-border-left
padding: $content-blockquote-padding
ol
list-style: decimal outside
list-style-position: outside
margin-left: 2em
margin-top: 1em
// list style modifiers emulating ol[type] attribute values different then decimal
&.is-lower-roman
list-style-type: lower-roman
&.is-upper-roman
list-style-type: upper-roman
&.is-lower-alpha
list-style-type: lower-alpha
&.is-upper-alpha
list-style-type: upper-alpha
&:not([type])
list-style-type: decimal
&.is-lower-alpha
list-style-type: lower-alpha
&.is-lower-roman
list-style-type: lower-roman
&.is-upper-alpha
list-style-type: upper-alpha
&.is-upper-roman
list-style-type: upper-roman
ul
list-style: disc outside
margin-left: 2em