com web/shared: Fixed QA.php.net styles; changed defaults to not use \!important: styles/defaults.css styles/qa.css
| From: | Levi Morrison | Date: | Fri, 09 May 2014 18:00:40 +0000 |
| Subject: | com web/shared: Fixed QA.php.net styles; changed defaults to not use \!important: styles/defaults.css styles/qa.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18870@lists.php.net to get a copy of this message | ||
Commit: 076cdb86a5481b002cc8ac127e065eb966534625
Author: levijm <levim@php.net> Fri, 9 May 2014 12:00:40 -0600
Parents: 13c82017bf886bea2bc379a6b935e4f8cfd92eb7
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=076cdb86a5481b002cc8ac127e065eb966534625
Log:
Fixed QA.php.net styles; changed defaults to not use \!important
Changed paths:
M styles/defaults.css
M styles/qa.css
Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index ae6f871..80cd29a 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -39,9 +39,10 @@ header {
box-shadow: 0 .25em .25em rgba(0,0,0,.1);
z-index: 1;
}
-footer {
+
+body > footer {
border-top: .25em solid #8892BF;
- background-color: #333 !important;
+ background-color: #333;
width: 100%;
}
nav {
@@ -63,18 +64,17 @@ nav ul {
nav li {
display: inline-block;
}
-header nav a {
+body > header nav a {
display: inline-block;
- font: normal 1rem/2.5 "Source Sans Pro", Helvetica, Arial, sans-serif !important;
- color: #E2E4EF !important;
+ color: #E2E4EF;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- text-decoration: none !important;
+ text-decoration: none;
}
header nav ul a {
padding: 0 0.75em;
}
nav a:hover {
- color: #fff !important;
+ color: #fff;
}
nav form {
display: inline-block;
diff --git a/styles/qa.css b/styles/qa.css
index 7b7ebaa..093ae76 100644
--- a/styles/qa.css
+++ b/styles/qa.css
@@ -1,22 +1,23 @@
-header {
+body > header {
border-bottom: 0.25em solid #ff9900;
background-color: #ffcc66;
}
-footer {
- border-top: .25em solid #ff9900;
+body > header nav a:link,
+body > header nav a:visited {
+ color: #8C5D00;
}
-
-nav a {
- color: #555555 !important;
+body > header nav a:focus,
+body > header nav a:hover {
+ color:#D18B00;
}
-
-nav a:hover {
- color: #000000 !important;
+body > footer {
+ border-top: .25em solid #ff9900;
}
h1, h2, h3, h4, h5, h6 {
+ border-color: #ffcc66;
border-top-color: #ff9900;
- border-bottom-color: #ffcc66;
+ background-color:#FFE4AE;
}
.mainscreen {
border-color: #ffcc66;