1
1
mirror of https://github.com/primer/css.git synced 2024-11-29 14:14:26 +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:
Vinicius Depizzol 2022-11-16 12:42:47 -08:00 committed by GitHub
parent 0370244f49
commit 12355f87ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Add upper-roman and upper-alpha list types

View File

@ -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]) {