summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2010-07-25 14:22:07 +0200
committerSiri Reiter <siri@jones.dk>2010-07-25 14:22:07 +0200
commitb5aa67f51d308188a186da5d90384a1d449f9fcb (patch)
tree65fa9fe517b3dfac3eeda20af2f99d387e42d832
parent3f0cb38bdd874837ca4590946b61154f3ed496e0 (diff)
Topbar and sidebar extended with class (not only id) to support Ikiwiki 3.x.
-rw-r--r--local.css41
1 files 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;
}