summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-11-11 14:03:38 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-11-30 11:18:30 +0000
commit60e2aa6532c81dbc6bc23d855ee7050f2744d0c0 (patch)
treee571768c55a211b33620a20f927686e34ab24589 /doc
parenteff8fb07040ec68a7d2195a06144e7d61250dc80 (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/global/template/style/offline.css13
-rw-r--r--doc/global/template/style/online.css16
2 files changed, 27 insertions, 2 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css
index 123d753290..5aabd82dcb 100644
--- a/doc/global/template/style/offline.css
+++ b/doc/global/template/style/offline.css
@@ -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;
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css
index a98382e083..86e30e89b3 100644
--- a/doc/global/template/style/online.css
+++ b/doc/global/template/style/online.css
@@ -975,9 +975,23 @@ ol,ul {
margin-top:0.75em;
margin-left:20px
}
+
+.context ol > li {
+ margin-left: 20px
+}
+
.mainContent ol>li {
- list-style-type:decimal
+ 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
}