mirror of
https://github.com/primer/css.git
synced 2024-12-01 20:53:06 +03:00
Add upper-roman and upper-alpha list types (#2305)
* Add upper-roman and upper-alpha list types * Create beige-files-move.md
This commit is contained in:
parent
0370244f49
commit
12355f87ac
5
.changeset/beige-files-move.md
Normal file
5
.changeset/beige-files-move.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Add upper-roman and upper-alpha list types
|
@ -14,18 +14,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
ol[type='1'] {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
ol[type='a'] {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
|
||||
ol[type='A'] {
|
||||
list-style-type: upper-alpha;
|
||||
}
|
||||
|
||||
ol[type='i'] {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
|
||||
ol[type='I'] {
|
||||
list-style-type: upper-roman;
|
||||
}
|
||||
|
||||
ol[type='1'] {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
// Reset <ol> style to decimal (HTML default) specifically for AsciiDoc
|
||||
// <div><ol> construction (doesn't affect MarkDown)
|
||||
div > ol:not([type]) {
|
||||
|
Loading…
Reference in New Issue
Block a user