https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112480

Revision: 112480
Author:   jdlrobson
Date:     2012-02-27 12:22:26 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
fix rendering on wii

this moves some css from webkit.css that should
be common and ensures that the mobile page renders
the same on a nintendo wii

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/stylesheets/beta_common.css
    trunk/extensions/MobileFrontend/stylesheets/common.css
    trunk/extensions/MobileFrontend/stylesheets/webkit.css
    trunk/extensions/MobileFrontend/stylesheets/wii.css

Modified: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/beta_common.css 2012-02-27 
11:59:24 UTC (rev 112479)
+++ trunk/extensions/MobileFrontend/stylesheets/beta_common.css 2012-02-27 
12:22:26 UTC (rev 112480)
@@ -576,6 +576,11 @@
        position: absolute;
        right: 2px;
        top: 2px;
+       border: 0;
+       background: url(images/s.gif) no-repeat top left;
+       background-size: 27px 25px;
+       height: 25px;
+       width: 27px;
 }
 
 #searchbox a,

Modified: trunk/extensions/MobileFrontend/stylesheets/common.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/common.css      2012-02-27 
11:59:24 UTC (rev 112479)
+++ trunk/extensions/MobileFrontend/stylesheets/common.css      2012-02-27 
12:22:26 UTC (rev 112480)
@@ -576,6 +576,11 @@
        position: absolute;
        right: 2px;
        top: 2px;
+       border: 0;
+       background: url(images/s.gif) no-repeat top left;
+       background-size: 27px 25px;
+       height: 25px;
+       width: 27px;
 }
 
 #searchbox a,

Modified: trunk/extensions/MobileFrontend/stylesheets/webkit.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/webkit.css      2012-02-27 
11:59:24 UTC (rev 112479)
+++ trunk/extensions/MobileFrontend/stylesheets/webkit.css      2012-02-27 
12:22:26 UTC (rev 112480)
@@ -1,10 +1,3 @@
-#searchbox #goButton {
-       border: 0;
-       background: url(images/s.gif) no-repeat top left;
-       background-size: 27px 25px;
-       height: 25px;
-       width: 27px;
-}
 @media screen and (-webkit-device-pixel-ratio: 1.5) {
        #searchbox #goButton {
                background-image: url(images/s-hdpi.png) !important;

Modified: trunk/extensions/MobileFrontend/stylesheets/wii.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/wii.css 2012-02-27 11:59:24 UTC 
(rev 112479)
+++ trunk/extensions/MobileFrontend/stylesheets/wii.css 2012-02-27 12:22:26 UTC 
(rev 112480)
@@ -1,3 +1,7 @@
+#searchbox form {
+       margin: 0;
+}
+
 .thumb {
        margin: 0.5em 0;
 }
@@ -27,10 +31,6 @@
        margin: 0;
 }
 
-#header {
-       padding: 8px;
-}
-
 #content_wrapper {
        background: white;
        clear: both;
@@ -42,32 +42,6 @@
        padding: 0 8px;
 }
 
-body {
-       width: 798px;
-       background: #6ee4ff;
-       font-size: 200%;
-}
-
-button, input {
-       font-size: 150%;
-}
-
-#header {
-       height: 100px;
-}
-
-#header #logo {
-       margin-right: 8px;
-}
-
-#header #homeButton {
-       float: left;
-}
-
-#header #search_bar {
-       padding-top: 20px;
-}
-
 .mwm-message.mwm-notice {
        font-size: 1.1em;
 }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to