Skip to content

Commit

Permalink
fixed numbering for ordered lists, closes #200
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Aug 14, 2017
1 parent add3b4d commit 34ecd9e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion resources/less/tei.less
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,17 @@ li.listSubTitle {
}

.tei_orderedList {
list-style: decimal;
list-style: none;
margin-left:1em;
counter-reset: ol-items;
li::before {
counter-increment: ol-items 1;
content: counter(ol-items) ". ";
}
li.listTitle::before {
content: " ";
counter-increment: ol-items 0;
}
}

/*
Expand Down

0 comments on commit 34ecd9e

Please sign in to comment.