changeset 1220:cf956e070d9b

Design: improved multilevel text alignment.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 05 Jun 2014 19:53:20 +0400
parents 69445572ea13
children 80125318f42e
files xsls/style.xsls
diffstat 1 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/xsls/style.xsls
+++ b/xsls/style.xsls
@@ -36,15 +36,23 @@ X:template style (lang) {
         span.initial      { font-size:      200%;
                             float:          left;
                             padding-right:  10pt;}
+        ul, ol            { margin:         .5em 0 1em 1em;
+                            padding:        0 .5em; }
+        ol                { list-style-position: inside; }
         li                { text-align:     justify;
-                            padding-top:    0.5em; }
+                            padding:        .5em 0 0 1px; }
         .compact li       { padding-top:    0; }
-        dt                { padding-top:    0.5em; }
-        .compact dt       { padding-top:    0; }
-        dd                { text-align:     justify; }
+        dl                { margin:         .5em 0 1em 0; }
+        dt                { margin:         .5em 0; }
+        .compact dt       { margin-bottom:  .2em; }
+        dd                { margin-left:    1.5em;
+                            padding-left:   1px;
+                            text-align:     justify; }
         td.list           { background:     #EEEEEE; }
-        blockquote        { margin:         1em;
+        blockquote        { margin:         1em 0 1em 1em;
                             padding:        .5em; }
+        li blockquote, dd blockquote
+                          { margin:         .7em 0; }
         blockquote.note   { border:         1px dotted #999;
                             text-align:     justify; }
         blockquote.example {