r52411 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52410‎ | r52411 | r52412 >
Date:20:42, 25 June 2009
Author:tparscal
Status:ok
Tags:
Comment:
Alignment and spacing fixes
Modified paths:
  • /trunk/phase3/skins/vector/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/vector/main.css
@@ -24,7 +24,7 @@
2525 background-color: white;
2626 }
2727 body.rtl div#content {
28 - margin-left: 0;
 28+ margin-left: auto;
2929 margin-right: 12em;
3030 background-position: top right;
3131 }
@@ -48,7 +48,7 @@
4949 background-repeat: repeat-x;
5050 }
5151 body.rtl div#head-base {
52 - margin-left: 0;
 52+ margin-left: auto;
5353 margin-right: 12em;
5454 background-position: bottom right;
5555 }
@@ -62,7 +62,7 @@
6363 body.rtl div#head {
6464 right: auto;
6565 left: 0;
66 - margin-right: 0;
 66+ margin-right: auto;
6767 margin-left: 0.75em;
6868 }
6969 div#head ul,
@@ -95,8 +95,7 @@
9696 font-size: 0.9em;
9797 }
9898 body.rtl div#personal li {
99 - float: right;
100 - margin-left: 0;
 99+ margin-left: auto;
101100 margin-right: 0.75em;
102101 }
103102 /* Navigation */
@@ -104,16 +103,20 @@
105104 margin-top: 3em;
106105 margin-left: 12.75em;
107106 }
 107+ /*
108108 body.rtl div#left-navigation {
109 - margin-left: 0;
 109+ margin-left: auto;
110110 margin-right: 12.75em;
111111 }
 112+ */
112113 div#right-navigation {
113114 float: right;
114115 }
 116+ /*
115117 body.rtl div#right-navigation {
116118 float: left;
117119 }
 120+ */
118121 /* Navigation Labels */
119122 div#namespaces h5,
120123 div#variants h5,
@@ -131,6 +134,7 @@
132135 background-repeat: no-repeat;
133136 padding-left: 1px;
134137 }
 138+ /*
135139 body.rtl div#namespaces,
136140 body.rtl div#views {
137141 float: right;
@@ -138,14 +142,17 @@
139143 padding-left: 0;
140144 padding-right: 1px;
141145 }
 146+ */
142147 div#namespaces ul,
143148 div#views ul {
144149 float: left;
145150 }
 151+ /*
146152 body.rtl div#namespaces ul,
147153 body.rtl div#views ul {
148154 float: right;
149155 }
 156+ */
150157 div#namespaces li,
151158 div#views li {
152159 float: left;
@@ -154,11 +161,13 @@
155162 background-position: bottom left;
156163 background-repeat: repeat-x;
157164 }
 165+ /*
158166 body.rtl div#namespaces li,
159167 body.rtl div#views li {
160168 float: right;
161169 background-position: bottom right;
162170 }
 171+ */
163172 div#namespaces li.selected,
164173 div#views li.selected {
165174 background-image: url(images/tab-current-fade.png);
@@ -173,10 +182,12 @@
174183 background-position: bottom right;
175184 background-repeat: no-repeat;
176185 }
 186+ /*
177187 body.rtl div#namespaces a,
178188 body.rtl div#views a {
179189 background-position: bottom left;
180190 }
 191+ */
181192 div#namespaces a span,
182193 div#views a span {
183194 color: #0645ad;
@@ -202,18 +213,22 @@
203214 background-position: center center;
204215 background-repeat: no-repeat;
205216 }
 217+ /*
206218 body.rtl div#variants,
207219 body.rtl div#actions {
208220 float: right;
209221 }
 222+ */
210223 div#variants h5,
211224 div#actions h5 {
212225 float: left;
213226 }
 227+ /*
214228 body.rtl div#variants h5,
215229 body.rtl div#actions h5 {
216230 float: right;
217231 }
 232+ */
218233 div#variants h5 a,
219234 div#actions h5 a {
220235 display: inline-block;
@@ -224,11 +239,13 @@
225240 background-position: bottom right;
226241 background-repeat: no-repeat;
227242 }
 243+ /*
228244 body.rtl div#variants h5 a,
229245 body.rtl div#actions h5 a {
230246 display: inline-block;
231247 background-position: bottom left;
232248 }
 249+ */
233250 div#variants div.menu,
234251 div#actions div.menu {
235252 display: none;
@@ -248,11 +265,13 @@
249266 margin: 0;
250267 margin-left: -1px;
251268 }
 269+ /*
252270 body.rtl div#variants ul,
253271 body.rtl div#actions ul {
254272 margin-left: 0;
255273 margin-right: -1px;
256274 }
 275+ */
257276 div#variants:hover li a,
258277 div#actions li a {
259278 display: inline-block;
@@ -262,21 +281,25 @@
263282 div#search {
264283 float: left;
265284 }
 285+ /*
266286 body.rtl div#search {
267287 float: right;
268288 }
 289+ */
269290 div#search form,
270291 div#search input {
271292 float: left;
272293 margin-top: 0.4em;
273294 margin-left: 0.25em;
274295 }
 296+ /*
275297 body.rtl div#search form,
276298 body.rtl div#search input {
277299 float: right;
278300 margin-left: 0;
279301 margin-right: 0.25em;
280302 }
 303+ */
281304 /* Panel */
282305 div#panel {
283306 position: absolute;
@@ -296,7 +319,6 @@
297320 color: #666666;
298321 padding: 0.5em;
299322 padding-top: 0;
300 - padding-bottom: 0.33em;
301323 padding-left: 1.25em;
302324 cursor: default;
303325 }
@@ -307,7 +329,8 @@
308330 padding-right: 1.25em;
309331 }
310332 div#panel div.portal div.body {
311 - padding-top: 0.33em;
 333+ margin-top: 0.25em;
 334+ padding-top: 0.5em;
312335 margin-left: 1.25em;
313336 background-image: url(images/portal-break.png);
314337 background-repeat: no-repeat;
@@ -925,9 +948,14 @@
926949 #content h3, #content h4, #content h5 {
927950 margin-bottom: .3em;
928951 }
929 -#firstHeading {
 952+div.firstHeading {
 953+ padding-top: 0;
930954 margin-top: 0;
 955+}
 956+div.firstHeading h1 {
931957 padding-top: 0;
 958+ margin-top: 0;
 959+ padding-top: 0;
932960 margin-bottom: 0.1em;
933961 line-height: 1.2em;
934962 padding-bottom: 0;

Status & tagging log