diff options
| author | spider@app1 <spiderr@bitweaver.org> | 2016-06-21 11:49:10 -0400 |
|---|---|---|
| committer | spider@app1 <spiderr@bitweaver.org> | 2016-06-21 11:49:10 -0400 |
| commit | 852193e6d044413c832d77cd71c9112f9440505e (patch) | |
| tree | e9d1c3ebcd44a3c0b07823ded5fc6af47dd7ee7f /css | |
| parent | 8ae2693853e03cd4124314d3d39ff0a297e6fcca (diff) | |
| download | themes-852193e6d044413c832d77cd71c9112f9440505e.tar.gz themes-852193e6d044413c832d77cd71c9112f9440505e.tar.bz2 themes-852193e6d044413c832d77cd71c9112f9440505e.zip | |
update structure-toc CSS for proper indenting
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;} |
