Doc: Add ordered list-specific styles

These additional styles enable the use of lower and uppercase
alphabets to number the list items. They are useful especially
in nested ordered lists where numbering all the list items
using decimal numbers could be confusing.

Change-Id: If1bdf98ff37c2c191d66dfb66a3e8f20d8fa83e5
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
This commit is contained in:
Venugopal Shivashankar 2015-11-11 14:03:38 +01:00
parent eff8fb0704
commit 60e2aa6532
2 changed files with 28 additions and 3 deletions

View File

@ -515,15 +515,26 @@ li {
margin-bottom: 10px;
padding-left: 8px;
list-style: outside;
list-style-type: square;
text-align: left;
}
ul > li {
list-style-type: square;
}
ol {
margin: 10px;
padding: 0;
}
ol.A > li {
list-style-type: upper-alpha;
}
ol.a > li{
list-style-type: lower-alpha;
}
ol > li {
margin-left: 30px;
padding-left: 8px;

View File

@ -975,9 +975,23 @@ ol,ul {
margin-top:0.75em;
margin-left:20px
}
.mainContent ol>li {
list-style-type:decimal
.context ol > li {
margin-left: 20px
}
.mainContent ol>li {
list-style-type: decimal;
}
.mainContent ol.a >li {
list-style-type: lower-alpha;
}
.mainContent ol.A >li {
list-style-type: upper-alpha;
}
blockquote,q {
quotes:none
}