Commit:    048f47b9f6b28ead2ca18ac6c14b12ff2f63bb6f
Author:    Hannes Magnusson <[email protected]>         Fri, 13 Dec 2013 
14:36:42 -0800
Parents:   e81b33969fc772e163926b90d836bf1b50edb29c
Branches:  master

Link:       
http://git.php.net/?p=web/shared.git;a=commitdiff;h=048f47b9f6b28ead2ca18ac6c14b12ff2f63bb6f

Log:
This is not a negotiation

This fixes external stylesheets from messing with our header and footer
(such as the wiki overriding fonts, sizes and styles)

Changed paths:
  M  styles/defaults.css


Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index 1096f74..42dd69b 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -21,8 +21,8 @@
  */
 
 body {
-  color: #444;
-  font-family: Tahoma, Arial, sans-serif, serif, monospace;
+  color: #444 !important;
+  font: normal 1em Tahoma, Arial, sans-serif, serif, monospace;
   background-color: #fff;
   height: 100%;
 }
@@ -40,7 +40,7 @@ header {
 footer {
   width: 100%;
   border-top: .25em solid #99C;
-  background-color: #262626;
+  background-color: #262626 !important;
 }
 nav {
   line-height: 2.5;
@@ -59,15 +59,14 @@ nav li {
 }
 nav a {
   display: inline-block;
-  font-weight: normal;
+  font: normal 16px/2.5 "Source Sans Pro", Helvetica, Arial, sans-serif 
!important;
   padding: 0 0.75em;
-  color: #eef;
+  color: #eef !important;
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
-  text-decoration: none;
-  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
+  text-decoration: none !important;
 }
 nav a:hover {
-  color: #fff;
+  color: #fff !important;
 }
 nav form {
   display: inline-block;
@@ -75,14 +74,12 @@ nav form {
 }
 nav input {
   width: 100%;
-  color: #333;
-  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
-  font-size: 1em;
+  color: #333 !important;
+  font: normal 16px/1.5 "Source Sans Pro", Helvetica, Arial, sans-serif 
!important;
   text-shadow: 0 1px 0 #ffffff;
   border: 0;
   border-radius: 2px;
   box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
-  line-height: 1.5;
 }
 /* Pad the #fragment below the header */
 section *[id]:not(input){


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to