[PATCH] CSS fixes for footer and sidebar size changes.
Ian Weller
ian at ianweller.org
Tue Jun 1 06:19:29 UTC 2010
On Thu, May 27, 2010 at 02:41:08PM -0400, Ricky Zhou wrote:
> Some of the CSS techniques used here are pretty confusing and crazy :-/
> These are some of the rules that needed updating when the sidebar and
> footer were resized.
> ---
> fedoraproject.org/mediawiki/fedora/main.css | 2 +-
> fedoraproject.org/static/css/fedora.css | 21 +++++----------------
> 2 files changed, 6 insertions(+), 17 deletions(-)
>
> diff --git a/fedoraproject.org/mediawiki/fedora/main.css b/fedoraproject.org/mediawiki/fedora/main.css
> index 9d2b2cc..2279331 100644
> --- a/fedoraproject.org/mediawiki/fedora/main.css
> +++ b/fedoraproject.org/mediawiki/fedora/main.css
> @@ -1275,7 +1275,7 @@ abackground: red;
> #p-cactions {
> position: absolute;
> bottom: 0;
> - left: 255px;
> + left: 205px;
> margin: 0;
> white-space: nowrap;
> width: 76%;
> diff --git a/fedoraproject.org/static/css/fedora.css b/fedoraproject.org/static/css/fedora.css
> index 0777852..56d0c1d 100644
> --- a/fedoraproject.org/static/css/fedora.css
> +++ b/fedoraproject.org/static/css/fedora.css
> @@ -63,7 +63,7 @@ abbr, acronym {
> #sidebar
> {
> float: left;
> - width: 230px;
> + width: 180px;
> margin: 2ex 0;
> background: #FFFFFF;
> padding-bottom: 120px;
> @@ -127,11 +127,12 @@ abbr, acronym {
>
> #content
> {
> - margin-left: 250px;
> - padding: 1.5ex 2ex 120px;
> + display: inline-block;
> + margin-left: 230px;
> + padding: 1.5ex 2ex 140px 0;
> + margin-bottom: 3ex;
> color: #666666;
> background: #FFFFFF;
> - display: inline-block;
> }
>
> #content p, #content ul, #content ol
> @@ -262,8 +263,6 @@ abbr, acronym {
> {
> margin-left: 18px;
> padding-right: 18px;
> - margin-top: 15px;
> - padding-top: 20px;
> }
>
> #footer ul
> @@ -844,7 +843,6 @@ a.cvs {
>
> #export-regulations {
> padding-top: 1em;
> - padding-bottom: 3em;
> margin-left: 2em;
> }
>
> @@ -1236,11 +1234,6 @@ img.download-media
> width: 100%;
> }
>
> -#content {
> - margin-left: 230px;
> - padding: 1.5ex 2ex 120px 0px;
> -}
> -
> .panes {
> min-width: 50%;
> }
> @@ -1249,10 +1242,6 @@ img.download-media
> width: 80%;
> }
>
> -#sidebar {
> - width: 180px;
> -}
> -
> #download-resources {
> min-width: 200px;
> width: 20%;
> --
> 1.6.6.1
+1
--
Ian Weller <ian at ianweller.org>
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/websites/attachments/20100601/c4db4cf6/attachment.sig>
More information about the websites
mailing list