r99660 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99659‎ | r99660 | r99661 >
Date:23:50, 12 October 2011
Author:reedy
Status:reverted
Tags:
Comment:
Part of Bug 31050 - Cleanup duplicate CSS for mobile devices

Moved table.gallery .thumb[style], table.navbox td.navbox-group and table.toc h2
Modified paths:
  • /trunk/extensions/MobileFrontend/stylesheets/android.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/blackberry.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/default.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/firefox.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/iphone.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/iphone2.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/kindle.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/nokia.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/operamini.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/palm_pre.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/psp.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/simple.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/webkit.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/webkit_old.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/wii.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/wii.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -45,4 +45,23 @@
4646 border: 1px solid #cccccc;
4747 padding: 3px;
4848 margin-bottom: 15px;
 49+}
 50+
 51+table.gallery .thumb[style] {
 52+ border: 0;
 53+ padding: 0 !important;
 54+ width: auto !important;
 55+ margin: 0 auto;
 56+}
 57+
 58+table.navbox td.navbox-group {
 59+ background: #ddddff;
 60+ width: 25%;
 61+ padding: 3px;
 62+}
 63+
 64+table.toc h2 {
 65+ border: 0;
 66+ padding: 0;
 67+ margin-top: 5px;
4968 }
\ No newline at end of file
Index: trunk/extensions/MobileFrontend/stylesheets/simple.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/palm_pre.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/nokia.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/firefox.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/psp.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/iphone2.css
@@ -7,10 +7,7 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
 11+
1512 table.navbox {
1613 font-size: 0.9em;
1714 width: 100% !important; }
@@ -19,10 +16,6 @@
2017 padding: 5px; }
2118 table.navbox td.navbox-abovebelow {
2219 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2720 table.navbox td.navbox-group + td {
2821 padding: 3px; }
2922 table.navbox div[style*="padding"] {
@@ -58,11 +51,6 @@
5952 table.gallery .gallerybox[style] {
6053 width: auto !important;
6154 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6755 table.gallery .gallerytext {
6856 margin-top: -12px;
6957 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/kindle.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/android.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/blackberry.css
@@ -10,10 +10,6 @@
1111 border: 0; }
1212 table.toc {
1313 background: #f9f9f9; }
14 - table.toc h2 {
15 - border: 0;
16 - padding: 0;
17 - margin-top: 5px; }
1814 table.navbox {
1915 font-size: 0.9em;
2016 width: 100% !important; }
@@ -22,10 +18,6 @@
2319 padding: 5px; }
2420 table.navbox td.navbox-abovebelow {
2521 padding: 3px; }
26 - table.navbox td.navbox-group {
27 - background: #ddddff;
28 - width: 25%;
29 - padding: 3px; }
3022 table.navbox td.navbox-group + td {
3123 padding: 3px; }
3224 table.navbox div[style*="padding"] {
@@ -61,11 +53,6 @@
6254 table.gallery .gallerybox[style] {
6355 width: auto !important;
6456 margin-bottom: -16px; }
65 - table.gallery .thumb[style] {
66 - border: 0;
67 - padding: 0 !important;
68 - width: auto !important;
69 - margin: 0 auto; }
7057 table.gallery .gallerytext {
7158 margin-top: -12px;
7259 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/iphone.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/operamini.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/webkit_old.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/default.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }
Index: trunk/extensions/MobileFrontend/stylesheets/webkit.css
@@ -7,10 +7,6 @@
88 border: 0; }
99 table.toc {
1010 background: #f9f9f9; }
11 - table.toc h2 {
12 - border: 0;
13 - padding: 0;
14 - margin-top: 5px; }
1511 table.navbox {
1612 font-size: 0.9em;
1713 width: 100% !important; }
@@ -19,10 +15,6 @@
2016 padding: 5px; }
2117 table.navbox td.navbox-abovebelow {
2218 padding: 3px; }
23 - table.navbox td.navbox-group {
24 - background: #ddddff;
25 - width: 25%;
26 - padding: 3px; }
2719 table.navbox td.navbox-group + td {
2820 padding: 3px; }
2921 table.navbox div[style*="padding"] {
@@ -58,11 +50,6 @@
5951 table.gallery .gallerybox[style] {
6052 width: auto !important;
6153 margin-bottom: -16px; }
62 - table.gallery .thumb[style] {
63 - border: 0;
64 - padding: 0 !important;
65 - width: auto !important;
66 - margin: 0 auto; }
6754 table.gallery .gallerytext {
6855 margin-top: -12px;
6956 text-align: center; }

Follow-up revisions

RevisionCommit summaryAuthorDate
r99661Part of Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy23:59, 12 October 2011
r99719Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy19:18, 13 October 2011
r99721Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy19:33, 13 October 2011
r99723Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy19:51, 13 October 2011
r99758Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy08:00, 14 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99656Add common.css...reedy23:27, 12 October 2011
r99657Part of Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy23:32, 12 October 2011
r99658Part of Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy23:36, 12 October 2011
r99659Part of Bug 31050 - Cleanup duplicate CSS for mobile devices...reedy23:43, 12 October 2011

Status & tagging log