Skip to content

Commit

Permalink
add ordered list numeration styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jul 14, 2019
1 parent b7d6a91 commit 6510bac
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,40 @@
padding: 0;
}

.doc ul,
.doc ol {
.doc ol,
.doc ul {
margin: 0;
padding: 0 0 0 2rem;
}

.doc ol.arabic {
list-style-type: decimal;
}

.doc ol.decimal {
list-style-type: decimal-leading-zero;
}

.doc ol.loweralpha {
list-style-type: lower-alpha;
}

.doc ol.upperalpha {
list-style-type: upper-alpha;
}

.doc ol.lowerroman {
list-style-type: lower-roman;
}

.doc ol.upperroman {
list-style-type: upper-roman;
}

.doc ol.lowergreek {
list-style-type: lower-greek;
}

.doc ul.checklist {
padding-left: 0.5rem;
list-style: none;
Expand Down

0 comments on commit 6510bac

Please sign in to comment.