diff options
Diffstat (limited to 'css')
| -rw-r--r-- | css/base.css | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/css/base.css b/css/base.css index b0017d3..d1a9c60 100644 --- a/css/base.css +++ b/css/base.css @@ -80,7 +80,7 @@ html[dir='rtl'] .clearright {clear:left} .link {cursor:pointer; color: #428bca; text-decoration: none; } /* bootstrap default */ -ul {padding-left:15px;} +ul {padding-left:20px;} .module ol, .module ul {margin:0 0 0 0; padding:0} .module ol li {margin:0 0 0 3em; padding:0;} @@ -139,6 +139,25 @@ ul.data {list-style:none; margin:0; padding:0;clear:both;} ul.data li.item { border-bottom:1px solid #eee; padding-bottom:10px; margin-bottom:10px; } ul.data li.item:last-child { border-bottom:none; } +ol.structure-toc { + counter-reset: item; +} +ol.structure-toc li { + display: block; + position: relative; +} +ol.structure-toc li:before { + content: counters(item, ".")"."; + counter-increment: item; + position: absolute; + margin-right: 100%; + right: 10px; /* space between number and text */ +} +ul.structure-toc, +ul.structure-toc ul { + list-style-type:none; +} + .error {color:#C30;} .warning {color:#f80;} .success {color:#090;} |
