diff xsls/style.xsls @ 1222:5188cb06bb13

Design: better looking directive block.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 05 Jun 2014 19:53:20 +0400
parents 80125318f42e
children f0383f5cfbb8
line wrap: on
line diff
--- a/xsls/style.xsls
+++ b/xsls/style.xsls
@@ -25,11 +25,17 @@ X:template style (lang) {
                             background:     #F2F2F2;
                             margin:         1em 0 1em -1em;
                             padding:        .7em .7em .7em 1em; }
+        div.directive     { border-top:     2px solid #DDD; }
+        div.directive th  { padding-left:   0;
+                            padding-right:  .5em;
+                            vertical-align: baseline;
+                            text-align:     left;
+                            font-weight:    normal; }
         div.directive td  { vertical-align: baseline; }
         div.directive pre { padding:        0;
                             margin:         0; }
-        div.directive p   { margin:         5pt 0 0 0;
-                            font-size:      80%; }
+        div.directive p   { margin:         .5em 0 0 .1em;
+                            font-size:      .8em; }
         #banner           { margin:         0 0 0 -1em; }
         a.notrans         { color:          gray;
                             text-decoration:none; }