com web/php: Fixed some firefox display issues.: styles/doc.css styles/home.css styles/theme.css
| From: | Levi Morrison | Date: | Thu, 05 Jul 2012 22:13:44 +0000 |
| Subject: | com web/php: Fixed some firefox display issues.: styles/doc.css styles/home.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13885@lists.php.net to get a copy of this message | ||
Commit: 94b0e0b0c31a4bd4c4a2a094c6ff002db1bbd885
Author: Levi Morrison <levim@php.net> Thu, 5 Jul 2012 16:13:44 -0600
Parents: ee4021b2499353944833fe26499869349b1de24f
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=94b0e0b0c31a4bd4c4a2a094c6ff002db1bbd885
Log:
Fixed some firefox display issues.
Changed paths:
M styles/doc.css
M styles/home.css
M styles/theme.css
Diff:
diff --git a/styles/doc.css b/styles/doc.css
index f0d6545..0bf3766 100755
--- a/styles/doc.css
+++ b/styles/doc.css
@@ -380,7 +380,7 @@ dl.qandaentry {
}
.docs .layout-menu ul.parent-menu-list li {
- padding: 0 .5em;
+ padding: 0 0 0 .5em;
margin: 1.5em 0;
}
@@ -390,7 +390,7 @@ dl.qandaentry {
.docs .layout-menu ul.parent-menu-list a {
color: #444;
margin: 0;
- padding:0 .5em;
+ padding:0 0 0 .5em;
border: 0;
border-left: .25em solid #7F7FB2;
}
@@ -409,7 +409,7 @@ dl.qandaentry {
.docs .layout-menu ul.child-menu-list li {
list-style-type: none;
- margin: 0 .5em -1px;
+ margin: 0 0 -1px .5em;
padding:0;
border: 0;
border-bottom: 1px dotted #aaa;
@@ -431,15 +431,10 @@ dl.qandaentry {
border-left: 0;
}
-
-.docs #layout {
- padding: 25px 175px 25px 25px; /* FIXME: Overriden from theme.css */
- max-width: none; /* FIXME: Overriden from theme.css */
-}
-
/* #layout needed, see http://news.php.net/php.webmaster/11884 */
-.docs #layout .layout-content, .docs #layout #usernotes {
- margin-left: 250px;
+.docs #layout .layout-content,
+.docs #layout #usernotes {
+ margin-left: 264px;
}
#changelang-langs {
width:120px;
diff --git a/styles/home.css b/styles/home.css
index 53905f3..7433cb5 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -189,8 +189,7 @@ div.home-content {
/* Announcement Area */
.home .announcements {
- display: table;
- width: 100%;
+ display: block;
background-color: #cce;
padding: 1.5em;
text-align: left;
diff --git a/styles/theme.css b/styles/theme.css
index ee55dcd..01a40c4 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -117,11 +117,11 @@ hr {
}
#headnav {
- padding: 0 25px;
height: 70px;
line-height: 1;
background: url('/images/sprites.png') repeat-x 0px -100px;
margin-top:.75em;
+ min-width:960px;
}
#headnav .myphp {
@@ -188,7 +188,8 @@ hr {
#headsearch-keywords {
border: 0;
padding: 2px;
- width: 220px;
+ width: 210px;
+ height:26px;
float: left;
}
@@ -336,8 +337,9 @@ hr {
* User notes
*/
#usernotes {
- margin: 0 0 1.5em 175px;
+ margin: 0 0 1.5em 216px;
position: relative;
+ max-width: 75em;
}
#usernotes .note:before {
@@ -554,15 +556,13 @@ aside.tips div.inner {
#layout {
- padding: 25px 150px 25px 10px;
- max-width: 1400px;
- min-width: 600px;
+ min-width: 960px;
margin: 0 auto;
+ padding:1.5em 0;
}
.layout-menu {
float: left;
- width: 160px;
}
.layout-menu li a {
@@ -587,9 +587,9 @@ aside.tips div.inner {
}
.layout-content {
- margin-left: 175px;
- padding-bottom: 1.5em;
display: block;
+ max-width: 75em;
+ margin: 0 auto;
}
#search-results {
@@ -625,9 +625,10 @@ footer {
clear: both;
overflow: auto;
background-color: #333;
- border-top: 12px solid #9999CC;
- border-bottom: 12px solid #9999CC;
+ border-top: .5em solid #9999CC;
+ border-bottom: .5em solid #9999CC;
padding: 1..5em 0;
+ min-width:960px;
}
footer .footer-content {
@@ -651,7 +652,7 @@ footer .footmenu li {
footer a {
color: #ccc;
- margin: 0 8px;
+ margin: 0 .5em;
}
footer a:link,
@@ -672,7 +673,8 @@ footer a:focus {
div.elephpants {
margin: auto;
overflow: hidden;
- border-bottom: 12px solid #9999CC;
+ border-bottom: .5em solid #9999CC;
+ min-width:960px;
}
div.elephpants div.images {