summaryrefslogtreecommitdiff
path: root/local.css
diff options
context:
space:
mode:
authorGNU Hurd wiki engine <web-hurd@gnu.org>2007-09-18 11:44:33 +0000
committerGNU Hurd wiki engine <web-hurd@gnu.org>2007-09-18 11:44:33 +0000
commit003bfbcef26a8142aba2da71af930645e609bcd7 (patch)
tree88f38e872069a01a1c6abae8680b2e2bae2b5d5e /local.css
parent5849bf49d509a654b461a0bc7c28f8ccdb600de9 (diff)
More CSS magic thanks to Colin Leitner.
Diffstat (limited to 'local.css')
-rw-r--r--local.css41
1 files changed, 34 insertions, 7 deletions
diff --git a/local.css b/local.css
index 91c725de..9a323b4b 100644
--- a/local.css
+++ b/local.css
@@ -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;