diff options
Diffstat (limited to 'local.css')
-rw-r--r-- | local.css | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -1,6 +1,6 @@ /* ikiwiki local style sheet - Copyright © 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright © 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later @@ -138,7 +138,7 @@ a:hover padding: 0.5em; } -#sidebar +.sidebar { background-color: #f0f0f0; } @@ -159,25 +159,24 @@ a:hover } -/* Variable width. */ -#sidebar +/* Placement. */ +.sidebar { width: auto; - /* ikiwiki's default for `width'. */ - min-width: 20ex; + margin-left: 20px; } /* Less indentation for list items. */ -#sidebar ul +.sidebar ul { padding-left: 2ex; } -#sidebar ul ul +.sidebar ul ul { padding-left: 2.5ex; } /* Make the logo appear centered */ -#sidebar img { +.sidebar img { display: block; margin-left: auto; margin-right: auto; |