diff options
Diffstat (limited to 'local.css')
-rw-r--r-- | local.css | 31 |
1 files changed, 8 insertions, 23 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 @@ -51,7 +51,6 @@ pre margin-left: 3em; font-weight: bold; padding: 0.5em; - overflow: auto; } a @@ -138,7 +137,7 @@ a:hover padding: 0.5em; } -#sidebar +.sidebar { background-color: #f0f0f0; } @@ -159,25 +158,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; @@ -287,16 +285,3 @@ a:hover padding-top: 0.3em; padding-bottom: 0.3em; } - -div.recentchanges -{ - clear: none; - width: auto; -} - -/* Stop inlined pages (in news, tag/*, and so on) from running into the - sidebar. */ -.inlinepage -{ - overflow: auto; -} |