r112480 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112479‎ | r112480 | r112481 >
Date:12:22, 27 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
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 (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/webkit.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/wii.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/wii.css
@@ -1,3 +1,7 @@
 2+#searchbox form {
 3+ margin: 0;
 4+}
 5+
26 .thumb {
37 margin: 0.5em 0;
48 }
@@ -27,10 +31,6 @@
2832 margin: 0;
2933 }
3034
31 -#header {
32 - padding: 8px;
33 -}
34 -
3535 #content_wrapper {
3636 background: white;
3737 clear: both;
@@ -42,32 +42,6 @@
4343 padding: 0 8px;
4444 }
4545
46 -body {
47 - width: 798px;
48 - background: #6ee4ff;
49 - font-size: 200%;
50 -}
51 -
52 -button, input {
53 - font-size: 150%;
54 -}
55 -
56 -#header {
57 - height: 100px;
58 -}
59 -
60 -#header #logo {
61 - margin-right: 8px;
62 -}
63 -
64 -#header #homeButton {
65 - float: left;
66 -}
67 -
68 -#header #search_bar {
69 - padding-top: 20px;
70 -}
71 -
7246 .mwm-message.mwm-notice {
7347 font-size: 1.1em;
7448 }
Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -576,6 +576,11 @@
577577 position: absolute;
578578 right: 2px;
579579 top: 2px;
 580+ border: 0;
 581+ background: url(images/s.gif) no-repeat top left;
 582+ background-size: 27px 25px;
 583+ height: 25px;
 584+ width: 27px;
580585 }
581586
582587 #searchbox a,
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -576,6 +576,11 @@
577577 position: absolute;
578578 right: 2px;
579579 top: 2px;
 580+ border: 0;
 581+ background: url(images/s.gif) no-repeat top left;
 582+ background-size: 27px 25px;
 583+ height: 25px;
 584+ width: 27px;
580585 }
581586
582587 #searchbox a,
Index: trunk/extensions/MobileFrontend/stylesheets/webkit.css
@@ -1,10 +1,3 @@
2 -#searchbox #goButton {
3 - border: 0;
4 - background: url(images/s.gif) no-repeat top left;
5 - background-size: 27px 25px;
6 - height: 25px;
7 - width: 27px;
8 -}
92 @media screen and (-webkit-device-pixel-ratio: 1.5) {
103 #searchbox #goButton {
114 background-image: url(images/s-hdpi.png) !important;

Status & tagging log