From db8cb4843228735e4d14a55f7066d0308f4f7e94 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 30 Sep 2010 11:24:45 -0400 Subject: [PATCH] Make the sidebar prettier. --- local.css | 33 ++++++++++++++++++++++++++++++++- sidebar.mdwn | 1 - 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/local.css b/local.css index 3d19fca..7661fd2 100644 --- a/local.css +++ b/local.css @@ -1,6 +1,10 @@ /* Embedded Moose local.css for use with ikiwiki * Written by Josh Triplett - * Some ideas from the Debian lighttpd index.html page. */ + * Some ideas from the Debian lighttpd index.html page. + * + * Editted by W. Trevor King to support: + * - Sidebars + */ body { background: #e7e7e7; } @@ -11,3 +15,30 @@ body { background: #e7e7e7; } .actions ul { border: none; padding-bottom: 0px; font-family: sans-serif;} #footer { border: none; font-family: sans-serif;} + +#sidebar { + border: solid; + border-width: 1px; + padding: 0; + margin-top: 15px; + border: 1px solid; + border-color: #aaa; + background: #eee; + width: 16ex; +} + +.sidebar ul { + margin-left: 0; + padding: 0; + list-style-type: none; +} + +.sidebar ul ul { + padding-left: 1em; +} + +.sidebar .pagecloud { + float: none; + width: auto; + margin-bottom: 1em; +} diff --git a/sidebar.mdwn b/sidebar.mdwn index 33f60a4..80e008a 100644 --- a/sidebar.mdwn +++ b/sidebar.mdwn @@ -2,5 +2,4 @@ * [[Archive|posts]] * [Contact](http://www.physics.drexel.edu/~wking/contact.shtml) -Categories: [[!pagestats pages="./tags/*"]] -- 2.26.2