From 60e2aa6532c81dbc6bc23d855ee7050f2744d0c0 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Wed, 11 Nov 2015 14:03:38 +0100 Subject: 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 --- doc/global/template/style/offline.css | 13 ++++++++++++- doc/global/template/style/online.css | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) (limited to 'doc') 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 } -- cgit v1.2.3