From b5aa67f51d308188a186da5d90384a1d449f9fcb Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Sun, 25 Jul 2010 14:22:07 +0200 Subject: Topbar and sidebar extended with class (not only id) to support Ikiwiki 3.x. --- local.css | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/local.css b/local.css index 694b1eee..0d4db86b 100644 --- a/local.css +++ b/local.css @@ -65,7 +65,8 @@ DIV#branding { right: 3%; } -DIV#topbar { +DIV#topbar, +DIV.topbar { float: right; background-color: #9cf; margin: 0; @@ -74,13 +75,15 @@ DIV#topbar { width: 100%; } -DIV#topbar a { +DIV#topbar a, +DIV.topbar a { text-decoration: none; color: #06c; font-weight: bold; } -DIV#topbar ul { +DIV#topbar ul. +DIV.topbar ul { list-style-type: none; padding: 0; margin-top: 0; @@ -90,18 +93,21 @@ DIV#topbar ul { line-height: 2.5em; } -DIV#topbar ul li { +DIV#topbar ul li, +DIV.topbar ul li { display: inline; color: #06c; font-weight: bold; margin: 0 3em; } -DIV#topbar a:hover { +DIV#topbar a:hover, +DIV.topbar a:hover { color: white; } -DIV#topbar span.selflink { +DIV#topbar span.selflink, +DIV.topbar span.selflink { color: white; } @@ -123,7 +129,8 @@ DIV#content { padding: 0; } -DIV#sidebar { +DIV#sidebar, +DIV.sidebar { float: left; margin-top: 6em; margin-left: 0; @@ -131,31 +138,39 @@ DIV#sidebar { padding: 0 0 0 1%; } -DIV#sidebar UL { +DIV#sidebar UL, +DIV.sidebar UL { margin: 0px; padding: 0px; text-transform: none; font-weight: bold; } -DIV#sidebar UL LI { +DIV#sidebar UL LI, +DIV.sidebar UL LI { line-height: 2; list-style-type: none; } -DIV#sidebar UL LI SPAN.selflink { +DIV#sidebar UL LI SPAN.selflink, +DIV.sidebar UL LI SPAN.selflink { color: #06c; } -DIV#sidebar UL UL LI { + +DIV#sidebar UL UL LI, +DIV.sidebar UL UL LI { margin-left: 10%; } -DIV#sidebar A { + +DIV#sidebar A, +DIV.sidebar A { text-decoration: none; color: black; font-weight: bold; } -DIV#sidebar A:hover { +DIV#sidebar A:hover +DIV.sidebar A:hover { text-decoration: underline; color: #06c; } -- cgit v1.2.3 From 4169fb2f8fac0a917cb87ff7a3da17cc91797395 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Sun, 25 Jul 2010 14:24:29 +0200 Subject: Style: Add #pagebody (in addition to #wrapper) to work with Ikiwiki 3.x. --- local.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local.css b/local.css index 0d4db86b..c05ce91b 100644 --- a/local.css +++ b/local.css @@ -119,7 +119,8 @@ FORM#searchform { top: 5px; } -DIV#wrapper { +DIV#wrapper, +DIV#pagebody { float: right; width: 80%; } -- cgit v1.2.3