diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-01-21 13:14:35 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-01-21 13:14:35 +0100 |
commit | 0c6b58a847e74cc5f51616e9a6f71935806dece0 (patch) | |
tree | 7da6bc2f997b11787b9b6f81f1b753aeadbf4361 /lib/tpl | |
parent | 247c1c5d1105cce361fd81b965640bc8e25aa09e (diff) | |
download | rpg-0c6b58a847e74cc5f51616e9a6f71935806dece0.tar.gz rpg-0c6b58a847e74cc5f51616e9a6f71935806dece0.tar.bz2 |
removed graphical list bullet
Unordered lists used a graphic for the list bullet. Using the same technique
as in the ordered lists we don't need an image just to have the color. This
has two advantages:
1. The list bullets still have the correct color when colors are adjusted
in style.ini
2. List bullets grow and shrink correctly with the fontsize
It has a disadvantage as well: All list items need to be marked up like this:
<li><div class
darcs-hash:20060121121435-7ad00-c6455f9b58c6e78b630c1121499e2052525fb556.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r-- | lib/tpl/default/design.css | 12 | ||||
-rw-r--r-- | lib/tpl/default/layout.css | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index d9f0a2307..f7055ddf9 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -369,7 +369,8 @@ ul { list-style-type: square; margin: 0 0 0.5em 1.5em; padding: 0; - list-style-image: url(images/bullet.gif); + color: __darker__; + list-style-image: none; } /* ordered lists */ @@ -379,10 +380,10 @@ ol { padding: 0; color: __darker__; font-weight: bold; - list-style-image: none; + list-style-image: none; } -/* the list items overriding the ol definition */ +/* the list items overriding the ul/ol definition */ .li { color: __black__; font-weight: normal; @@ -395,10 +396,12 @@ ol ol ol ol {list-style-type: lower-greek} li.open { list-style-image: url(images/open.gif); + /*list-style-type: circle;*/ } li.closed { list-style-image: url(images/closed.gif); + /*list-style-type: disc;*/ } blockquote { @@ -493,9 +496,6 @@ div.tocheader { margin-bottom: 2px; } -div.toctoggle { -} - div.tocheader img { width:0.8em; height:0.8em; diff --git a/lib/tpl/default/layout.css b/lib/tpl/default/layout.css index 2f1386256..d541fa2f9 100644 --- a/lib/tpl/default/layout.css +++ b/lib/tpl/default/layout.css @@ -5,7 +5,6 @@ * @author moraes <moraes@tipos.com.br> */ - /* -------------- top row --------------- */ .header { height:35px; |