r91672 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91671‎ | r91672 | r91673 >
Date:19:47, 7 July 2011
Author:diebuche
Status:ok
Tags:
Comment:
r74966: Deleting unused rtl.css
Modified paths:
  • /trunk/phase3/skins/monobook/rtl.css (deleted) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/rtl.css
@@ -1,251 +0,0 @@
2 -/*
3 -Right-to-left fixes for MonoBook.
4 -Places sidebar on right, tweaks various alignment issues.
5 -
6 -Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
7 -
8 -Safari bugs (1.2.1):
9 -* Tabs are still appearing in left-to-right order. (Try after localizing)
10 -
11 -Opera bugs (7.23 linux):
12 -* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
13 -
14 -IE/mac bugs:
15 -* The thing barfs on Hebrew and Arabic anyway, so no point testing.
16 -
17 -Missing features due to lack of support:
18 -* external link icons
19 -
20 -To test:
21 -* Opera6
22 -* IE 5.0
23 -* etc
24 -
25 -*/
26 -body {
27 - direction: rtl;
28 - unicode-bidi: embed;
29 -}
30 -div#column-content {
31 - margin: 0 -12.2em 0 0;
32 - float: left;
33 -}
34 -div#column-content div#content{
35 - margin-left: 0;
36 - margin-right: 12.2em;
37 - border-right: 1px solid #aaaaaa;
38 - border-left: none;
39 -}
40 -html > body .portlet {
41 - float: right;
42 - clear: right;
43 -}
44 -.editsection {
45 - float: left;
46 - margin-right: 5px;
47 - margin-left: 0; /* bug 9122: undo default LTR */
48 -}
49 -/* recover IEMac (might be fine with the float, but usually it's close to IE */
50 -*>body .portlet {
51 - float: none;
52 - clear: none;
53 -}
54 -.pBody {
55 - padding-right: 0.8em;
56 - padding-left: 0.5em;
57 -}
58 -
59 -/* Fix alignment */
60 -.documentByLine,
61 -.portletDetails,
62 -.portletMore,
63 -#p-personal {
64 - text-align: left;
65 -}
66 -
67 -div div.thumbcaption {
68 - text-align: right;
69 -}
70 -
71 -div.magnify,
72 -#p-logo {
73 - left: auto;
74 - right: 0;
75 -}
76 -#p-personal {
77 - left: auto;
78 - right: 0;
79 -}
80 -
81 -#p-cactions {
82 - left: auto;
83 - right: 11.5em;
84 - padding-left: 0;
85 - padding-right: 1em;
86 -}
87 -#p-cactions li {
88 - margin-left: 0.3em;
89 - margin-right: 0;
90 - float: right;
91 -}
92 -* html #p-cactions li a {
93 - display: block;
94 - padding-bottom: 0;
95 -}
96 -* html #p-cactions li a:hover {
97 - padding-bottom: 0.2em;
98 -}
99 -/* offsets to distinguish the tab groups */
100 -li#ca-talk {
101 - margin-right: auto;
102 - margin-left: 1.6em;
103 -}
104 -li#ca-watch,li#ca-unwatch {
105 - margin-right: 1.6em !important;
106 -}
107 -
108 -/* Fix margins for non-css2 browsers */
109 -/* top right bottom left */
110 -
111 -ul {
112 - margin-left: 0;
113 - margin-right: 1.5em;
114 -}
115 -ol {
116 - margin-left: 0;
117 - margin-right: 2.4em;
118 -}
119 -dd {
120 - margin-left: 0;
121 - margin-right: 1.6em;
122 -}
123 -#contentSub {
124 - margin-right: 1em;
125 - margin-left: 0;
126 -}
127 -.tocindent {
128 - margin-left: 0;
129 - margin-right: 2em;
130 -}
131 -div.tright, div.floatright, table.floatright {
132 - clear: none;
133 -}
134 -div.tleft, div.floatleft, table.floatleft {
135 - clear: left;
136 -}
137 -#p-personal li {
138 - margin-left: 0;
139 - margin-right: 1em;
140 -}
141 -
142 -li#ca-talk,
143 -li#ca-watch {
144 - margin-right: auto;
145 - margin-left: 1.6em;
146 -}
147 -
148 -#p-personal li {
149 - float: left;
150 -}
151 -/* Fix link icons
152 -.external, a.feedlink {
153 - padding: 0 !important;
154 - background: none !important;
155 -}
156 -*/
157 -div#footer {
158 - clear: both;
159 -}
160 -#f-poweredbyico {
161 - float: left;
162 - height: 1%;
163 -}
164 -#f-copyrightico {
165 - float: right;
166 - height: 1%;
167 -}
168 -* html div#footer {
169 - margin-left: 0;
170 - margin-right: 13.6em;
171 - border-left: 0;
172 - border-right: 1px solid #fabd23;
173 -}
174 -* html div#column-content {
175 - float: none;
176 - margin-left: 0;
177 - margin-right: 0;
178 -}
179 -* html div#column-content div#content {
180 - margin-left: 0;
181 - margin-top: 3em;
182 -}
183 -* html div#column-one { right: 0; }
184 -
185 -/* js pref toc */
186 -
187 -#preftoc {
188 - margin-right: 1em;
189 -}
190 -
191 -.errorbox, .successbox, #preftoc li, .prefsection fieldset {
192 - float: right;
193 -}
194 -
195 -.prefsection {
196 - padding-right: 2em;
197 -}
198 -
199 -/* workaround for moz bug, displayed bullets on left side */
200 -
201 -#toc ul {
202 - text-align: right;
203 -}
204 -
205 -#toc ul ul {
206 - margin: 0 2em 0 0;
207 -}
208 -
209 -input#wpSave, input#wpDiff {
210 - margin-right: 0;
211 - margin-left: .33em;
212 -}
213 -
214 -#userlogin {
215 - margin: 0 0 1em 3em;
216 -}
217 -/* Convenience links to edit block, delete and protect reasons */
218 -p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
219 -p.mw-filedelete-editreasons, p.mw-delete-editreasons {
220 - text-align: left;
221 -}
222 -
223 -.toggle {
224 - margin-left: 0em;
225 - margin-right: 2em;
226 -}
227 -table.filehistory th {
228 - text-align: right;
229 -}
230 -
231 -/* Special:AllPages styling */
232 -.mw-allpages-nav, td.mw-allpages-alphaindexline {
233 - text-align: left;
234 -}
235 -
236 -/* Special:PrefixIndex styling */
237 -td#mw-prefixindex-nav-form {
238 - text-align: left;
239 -}
240 -
241 -/**
242 - * Lists:
243 - * The following lines don't have a visible effect on non-Gecko browsers
244 - * They fix a problem ith Gecko browsers rendering lists to the right of
245 - * left-floated objects in an RTL layout.
246 - */
247 -html > body div#article ul {
248 - display: table;
249 -}
250 -html > body div#bodyContent ul#filetoc {
251 - display: block;
252 -}

Follow-up revisions

RevisionCommit summaryAuthorDate
r92226Followup r91672: remove commented-out reference to removed file (rtl.css)catrope02:21, 15 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74966First shot at porting Monobook to Vector. The only non-straightforward part i...catrope20:35, 18 October 2010

Status & tagging log