From 9011d4d5fb6eb9439120be75321107435ebc7f92 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 24 Jan 2011 21:50:17 +0000 Subject: [PATCH] Integrate what was functionally left of common_rtl.css into oldshared.css Commit the Resourceloader conversion of oldshared.css that I had forgotten to commit Follow up to r80785 --- skins/common/common_rtl.css | 59 ------------------------------------- skins/common/oldshared.css | 27 +++++++++++++++++ 2 files changed, 27 insertions(+), 59 deletions(-) delete mode 100644 skins/common/common_rtl.css diff --git a/skins/common/common_rtl.css b/skins/common/common_rtl.css deleted file mode 100644 index f4cb868a6b..0000000000 --- a/skins/common/common_rtl.css +++ /dev/null @@ -1,59 +0,0 @@ -/* - * This file contains CSS settings common to RTL wikis use the old - * pre-Monobook skins Wikistandard, Nostalgia and CologneBlue - * NOTE: This file is not used in Monobook and Vector! - */ - -/* js pref toc */ -#preftoc { float: right; } -/* workaround for moz bug, displayed bullets on left side */ -#preftoc li { list-style: none; } -#prefcontrol { float: right; } -fieldset.prefsection, -fieldset.operaprefsection { - margin-left: 0; - margin-right: 18em; -} -/* page history */ -#pagehistory .history-user { - margin-right: 1.4em; - margin-left: 0.4em; -} -.editsection { - float: left; - margin-right: 5px; -} -div.tright, div.floatright { - clear: none; -} -div.tleft, div.floatleft { - clear: left; -} -/* Convenience links to edit block, delete and protect reasons */ -p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, -p.mw-filedelete-editreasons, p.mw-delete-editreasons, -p.mw-revdel-editreasons { - float: left; -} -table.filehistory th { - text-align: right; -} - -/** - * Lists: - * The following lines don't have a visible effect on non-Gecko browsers - * They fix a problem ith Gecko browsers rendering lists to the right of - * left-floated objects in an RTL layout. - */ -html > body div#article ul { - display: table; -} -html > body div#bodyContent ul#filetoc { - display: block; -} - -/* feed links */ -a.feedlink { - background: none !important; - padding-left: 0 !important; -} diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 33047ec93a..4a14c997db 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -30,22 +30,26 @@ h6 .editsection { font-size: 133%; } #footer { clear: both } /* images */ +/* @noflip */ div.floatright { float: right; clear: right; margin: 0 0 1em 1em; } +/* @noflip */ div.floatright p { font-style: italic; } +/* @noflip */ div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; } +/* @noflip */ div.floatleft p { font-style: italic; } @@ -100,11 +104,13 @@ div.magnify a, div.magnify img { border: none !important; background: none !important; } +/* @noflip */ div.tright { clear: right; float: right; border-width: .5em 0 .8em 1.4em; } +/* @noflip */ div.tleft { float: left; clear: left; @@ -428,8 +434,29 @@ form#specialpages { } body { + direction: ltr; + unicode-bidi: embed; background-color: #ffffec; } body.ns-0 { background-color: white; } + +/** RTL specific CSS starts here **/ + +/** + * Lists: + * The following lines don't have a visible effect on non-Gecko browsers + * They fix a problem ith Gecko browsers rendering lists to the right of + * left-floated objects in an RTL layout. + */ +/* @noflip */ +html > body.rtl div#article ul { + display: table; +} +/* @noflip */ +html > body.rtl div#bodyContent ul#filetoc { + display: block; +} + +/* RTL specific CSS ends here **/ \ No newline at end of file -- 2.20.1