Skip to content

Commit

Permalink
Added styling to ordered list (<ol/>), same as DokuWiki default templ…
Browse files Browse the repository at this point in the history
…ate (thanks to @Valiantiam on #139 for the idea)
  • Loading branch information
giterlizzi committed Feb 2, 2016
1 parent 2512339 commit ddc6574
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/template.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ nav {
}
}

/* Ordered list style */
ol { list-style: decimal outside; } /* Decimal: 1. 2. 3. ... */
ol ol { list-style-type: lower-alpha; } /* Alpha (lowercase): a. b. c. ... */
ol ol { list-style-type: upper-roman; } /* Roman (uppercase): I. II. III. ... */
ol ol ol { list-style-type: upper-alpha; } /* Alpha (uppercase): A. B. C. ... */
ol ol ol ol { list-style-type: lower-roman; } /* Roman (lowercase): i. ii. iii. ... */

/* Message area (alerts, warnings, errors, etc.) */
#dw__msgarea {
Expand Down

0 comments on commit ddc6574

Please sign in to comment.