[PATCH] CSS fixes for footer and sidebar size changes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpZudcsKOK4Y.pgp
Description: PGP signature

-- 
websites mailing list
websites@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/websites

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux