From a49a839300fcb13089538546590bafe1d5a1a45a Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Thu, 1 Mar 2012 16:14:34 +0100 Subject: Simplify: Strip obsolete tags; lowercase tags. --- edu.scss | 17 ++++---- local.scss | 128 ++++++++++++++++++++++++++----------------------------------- 2 files changed, 61 insertions(+), 84 deletions(-) diff --git a/edu.scss b/edu.scss index f702d20..d9e7d5e 100644 --- a/edu.scss +++ b/edu.scss @@ -1,31 +1,28 @@ -H1 { +h1 { color: DarkGreen; } -DIV.header { +.header { background-color: LightGreen; color: LightGreen; } -Div.pageheader DIV.actions { +.pageheader .actions { background-color: LightGreen; } -DIV#topbar, -DIV.topbar { +.topbar { background-color: LightGreen; } -DIV#sidebar, -DIV.sidebar { +.sidebar { background-color: LightGreen; } -DIV#farbar, -DIV.farbar { +.farbar { background-color: LightGreen; } -DIV#pageinfo { +#pageinfo { background-color: LightGreen; } diff --git a/local.scss b/local.scss index faeded8..4b5227b 100644 --- a/local.scss +++ b/local.scss @@ -1,24 +1,24 @@ -H1 { +h1 { color: DarkRed; } -H1, -H2, -H3 { +h1, +h2, +h3 { margin-bottom: 0.1em; } -H4, -H5, -H6 { +h4, +h5, +h6 { text-decoration: blink; } -H2 { +h2 { font-size: 1.4em; } -H3 { +h3 { font-size: 1.1em; font-weight: bold; line-height: 1.6em; @@ -34,49 +34,48 @@ p { margin-bottom: 1.2em; } -BODY { +body { margin: 0; background-color: white; font-family: sans-serif; } -DIV.header { +.header { padding: 0; background-color: LightBlue; color: LightBlue; } -DIV.header, -SPAN.author, -DIV.recentchanges, -SPAN.committype, -DIV#footer { +.header, +.author, +.recentchanges, +.committype, +#footer { font-size: 80%; } -DIV.pageheader SPAN.title { +.pageheader .title { display: none; } -SPAN.parentlinks { +.parentlinks { display: none; } -FORM#searchform { +#searchform { margin: 20px; } -Div.pageheader DIV.actions { +.pageheader .actions { background-color: LightBlue; } -div.actions ul { +.actions ul { border-bottom: 0; padding:0 0 0 15px; } -DIV#topbar, -DIV.topbar { +.topbar { height: 60px; margin: 0; padding: 20px 0; @@ -86,55 +85,45 @@ DIV.topbar { letter-spacing: 1px; } -DIV#topbar p, -DIV.topbar p { +.topbar p { float: left; } -DIV#topbar a, -DIV.topbar a { +.topbar a { font-weight: bold; } -DIV#topbar ul, -DIV.topbar ul { +.topbar ul { list-style-type:none; margin: 0; padding: 0; } -DIV#topbar ul li, -DIV.topbar ul li { +.topbar ul li { display:inline; margin: 0 20px; } -DIV#topbar li, -DIV#topbar ul, -DIV#topbar ul li, -DIV#topbar ol, -DIV#topbar ol li, -DIV.topbar li, -DIV.topbar ul, -DIV.topbar ul li, -DIV.topbar ol, -DIV.topbar ol li { +.topbar li, +.topbar ul, +.topbar ul li, +.topbar ol, +.topbar ol li { font-size: 1.1em; line-height: 2em; } -DIV#topbar img, -DIV.topbar img { +.topbar img { margin: 0 20px; } -DIV#wrapper, -DIV#pagebody { +#wrapper, +#pagebody { float: left; width: 100%; } -DIV#content { +#content { min-height: 480px; max-width: 48em; margin: 2% 40% 2% 20%; @@ -143,7 +132,7 @@ DIV#content { background-color: none; } -DIV#content IMG { +#content img { display: block; clear: both; float: right; @@ -175,25 +164,24 @@ DIV#content IMG { max-width: 108px; } -DIV.inlinepage { +.inlinepage { border: 0; padding: 1em; margin: 0 -1em; background-color: LightYellow; } -DIV.inlinepage SPAN.header a { +.inlinepage .header a { font-size: 0.9em; font-weight: normal; color: DarkRed; } -DIV.inlinefooter { +.inlinefooter { display: none; } -DIV#sidebar, -DIV.sidebar { +.sidebar { float: left; min-height: 480px; width: 14%; @@ -206,40 +194,33 @@ DIV.sidebar { text-align: left; } -DIV#sidebar ul, -DIV.sidebar ul { +.sidebar ul { padding-left: 0.5em; margin-bottom:0; margin-top:0; } -DIV#sidebar ul li, -DIV.sidebar ul li { +.sidebar ul li { list-style-type: none; padding: 0; } -DIV#sidebar ul li, -DIV.sidebar ul li, -DIV#sidebar ul li p, -DIV.sidebar ul li p { +.sidebar ul li, +.sidebar ul li p { margin-bottom: 0; line-height: 1em; } -DIV#sidebar ul li a, -DIV.sidebar ul li a { +.sidebar ul li a { font-weight: normal; } -DIV#sidebar ul li SPAN.selflink, -DIV.sidebar ul li SPAN.selflink { +.sidebar ul li .selflink { color: DarkBlue; font-weight: bold; } -DIV#farbar, -DIV.farbar { +.farbar { float: left; min-height: 480px; width: 14%; @@ -251,34 +232,33 @@ DIV.farbar { text-align: left; } -DIV.tags { +.tags { display: none; } -DIV#backlinks { +#backlinks { display: none; } -DIV#footer { +#footer { clear: left; width: 100%; margin: 2% 0 0; } -DIV#pageinfo { +#pageinfo { margin: 0; border-top: 0; padding:1em 1em 1em 20px; background-color: LightBlue; } -DIV.pagedate { +.pagedate { margin-top: 0; } -DIV.pagecopyright, -DIV.pagecopyright P { +.pagecopyright, +.pagecopyright P { margin-top: 0; margin-bottom: 0; } - -- cgit v1.2.3