From: Frank Lichtenheld Date: Wed, 6 Feb 2008 17:12:10 +0000 (+0100) Subject: [UBUNTU] ubuntu.css: Remove obsolete stuff X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=5e644dcaf7e467967a2e4e653b2a1d771eb7d595;p=deb%2Fpackages.git [UBUNTU] ubuntu.css: Remove obsolete stuff Remove many definitions that I don't actually use, and fix some bugs I uncovered while doing so. --- diff --git a/static/ubuntu/ubuntu.css b/static/ubuntu/ubuntu.css index c936bdd..c8e9fd9 100644 --- a/static/ubuntu/ubuntu.css +++ b/static/ubuntu/ubuntu.css @@ -37,32 +37,6 @@ body horribly under narrow viewports */ } -#outerColumnContainer -{ - background-color: #fff; - border-style: solid; - border-width: 0 18em 0 0; /* side border widths must equal the - widths of the left and right columns. - */ - border-right-color: #fff; /* right hand column background color */ - color: #000; - z-index: 1; -} -* html #outercolumncontainer -{ - /* IE5.0/Win fix for 1px whitespace between masthead and body. - * The case-incorrect selector is on purpose. IE5.0 and IE5.5 are - * case insensitive and I'm targeting IE 5.0. 5.5 doesn't get hurt - * by this extra margin work. - */ - margin-top: -1px; - border-top: solid 1px #fff; -} -#innerColumnContainer -{ - width: 100%; - z-index: 2; -} html[xmlns] .mozclear { /* this selector should be valid CSS, but Opera 7.5 (and above) will pick @@ -75,28 +49,7 @@ html[xmlns] .mozclear border-color: transparent; margin-bottom: -1px; } -#rightColumn, #contentColumn -{ - float: left; - overflow: visible; /* fix for IE italics bug */ - position: relative; - z-index: 10; -} -#rightColumn -{ - float: right; /* doesn't have to be floated right, but if using some - original skidoo tweaks, you need it this way */ - margin: 0 -18em 0 1px; - width: 18em; -} -#rightColumn .inside -{ - font-size: 100%; /* because the parent element ( #rightColumn ) - defines its width in EMs, we can't change the font - size in that selector, otherwise the column won't use - the entire width reserved for the column */ -} -#contentColumn +#content { margin: 0 -1px 0 0; /* required to get the negative margin-based layout to work. if #contentColumn does not @@ -166,62 +119,19 @@ p, h1, h2, h3, h4, h5, h6 margin-top: 1em; padding: .3em; /* ditto from above */ } -#pageWrapper, #innerColumnContainer, #masthead, #footer +#pageWrapper, #masthead, #footer { border-color: #000; /* one-stop control of border color used within the layout */ } -#outerColumnContainer -{ - border-top-color: #000; /* should match the above border color */ -} - -/* navigation elements */ -#rightColumn ul -{ - list-style: none; - margin: 0; - padding: 0; - color: #696969; -} -#rightColumn li { - margin-bottom: 0px; /* Overwrite plone,css settings */ -} -#rightColumn #navigation_links li -{ - padding: 0 0 .3em 20px; - font-size: 120%; -} -#rightColumn #navigation_news li -{ - padding: 0 .3em .3em 20px; -} -#rightColumn a -{ - text-decoration: none; - color: black; - font-weight: bold; -} -#rightColumn li.active -{ - background-image: url(little-u.gif); - background-repeat: no-repeat; - background-position: top left; -} - -#rightColumn a:hover -{ - text-decoration: underline; - color: black; -} /* body styles */ -#contentColumn a +#content a { color: black; } -#contentColumn p +#content p { font-size: 100%; font-family: Verdana, arial, helvetica, sans-serif;