diff options
author | GNU Hurd wiki engine <web-hurd@gnu.org> | 2007-09-18 11:44:33 +0000 |
---|---|---|
committer | GNU Hurd wiki engine <web-hurd@gnu.org> | 2007-09-18 11:44:33 +0000 |
commit | 003bfbcef26a8142aba2da71af930645e609bcd7 (patch) | |
tree | 88f38e872069a01a1c6abae8680b2e2bae2b5d5e /local.css | |
parent | 5849bf49d509a654b461a0bc7c28f8ccdb600de9 (diff) | |
download | web-003bfbcef26a8142aba2da71af930645e609bcd7.tar.gz web-003bfbcef26a8142aba2da71af930645e609bcd7.tar.bz2 web-003bfbcef26a8142aba2da71af930645e609bcd7.zip |
More CSS magic thanks to Colin Leitner.
Diffstat (limited to 'local.css')
-rw-r--r-- | local.css | 41 |
1 files changed, 34 insertions, 7 deletions
@@ -21,16 +21,23 @@ hr pre { - margin-left: 1cm; - /* - * I want these blocks to be as wide as they need to be for the included - * text, but not any wider -- with respect to the `background-color'. - * Currently it may happen that the background colors of `pre' and `#sidebar' - * overlap. How to do this properly? --tschwinge - */ + margin-left: 3em; background-color: #e5e5e5; } +/* Only have these colored blocks be as wide as they need be. */ +pre +{ + float: left; + padding: 0.5em; + margin-bottom: 1.5em; + margin-top: 0; +} +pre + * +{ + clear: left; +} + .header { background-color: #f0f0f0; @@ -52,6 +59,26 @@ pre font-size: small; } + +/* Variable width. */ +#sidebar +{ + width: auto; + /* ikiwiki's default for `width'. */ + min-width: 20ex; +} + +/* Less indentation for list items. */ +#sidebar ul +{ + padding-left: 2ex; +} +#sidebar ul ul +{ + padding-left: 2.5ex; +} + + .table_style_1 { text-align: left; |