MediaWiki:Rtl.css

From Team Fortress Wiki
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 
 * Imported from "MediaWiki:Rtl.css" on Wikimedia Commons
 * http://commons.wikimedia.org/wiki/MediaWiki:Rtl.css
 *
 */

/*<pre><nowiki>
"Light version" of [http://commons.wikimedia.org/skins-1.5/monobook/rtl.css rtl.css]
- Right-to-left fixes for MonoBook. This version shouldn't change
the content direction, only the side bar, tabs and other things around...
*/
body {
    direction: rtl;
/*  unicode-bidi: bidi-override;*/
    unicode-bidi: embed;
}
 
#content, #wpTextbox1, #wikiPreview {
    direction: ltr;
}
 
#mw-upload-form,
/* Special page is 100% translated, so set the direction in ns--1 to rtl */
.ns--1 #content, .ns-6 #content {
    direction: rtl;
}
 
/* The label inside the new search box introduced with the Vector skin */
#simpleSearch label {
    /* it is position absolute, so direction and align can't work here */
    right: 0;
}
 
/* Special:Contributions and watchlist */
span.comment {
    unicode-bidi:  embed;
    /* Hack for faking a space between the page name and the summary */
    padding-right: 5px;
    direction:     ltr; /* The summary is usually Latin */
}