+/*
+ * main-rtl.css is automatically generated using CSSJanus, a python script for
+ * creating RTL versions of otherwise LTR stylesheets.
+ *
+ * You may download the tool to rebuild this stylesheet
+ * http://code.google.com/p/cssjanus/
+ *
+ * An online version of this tool can be used at:
+ * http://cssjanus.commoner.com/
+ *
+ * The following command is used to generate the RTL version of this file
+ * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css
+ *
+ * Any rules which should not be flipped should be prepended with @noflip in
+ * a comment block.
+ */
/* Framework */
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
- font-size: small;
+ font-size: 13px;
}
body {
+ background-color: #f3f3f3;
background-image: url(images/page-base.png);
}
/* Content */
-div#content {
+#content {
margin-right: 12em;
padding: 1em;
- background-image: url(images/content-base.png);
+ background-image: url(images/border.png);
background-position: top right;
background-repeat: repeat-y;
background-color: white;
}
/* Head */
-div#page-base {
+#page-base {
height: 6em;
background-color: white;
background-image: url(images/page-fade.png);
background-position: bottom right;
background-repeat: repeat-x;
}
-div#head-base {
+#head-base {
margin-top: -6em;
margin-right: 12em;
height: 6em;
- background-image: url(images/head-base.png);
+ background-image: url(images/border.png);
background-position: bottom right;
background-repeat: repeat-x;
}
-div#head {
+#head {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
-div#head ul,
-div#head li {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-div#head h5 {
+#head h5 {
margin: 0;
padding: 0;
}
/* Personal */
- div#personal {
+ #p-personal {
position: absolute;
top: 0;
left: 0.75em;
}
- div#personal h5 {
+ #p-personal h5 {
display: none;
}
- div#personal li {
- float: right;
+ #p-personal ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+ /* @noflip */
+ #p-personal li {
+ line-height: 1.125em;
+ float: left;
+ }
+ #p-personal li {
margin-right: 0.75em;
margin-top: 0.5em;
font-size: 0.9em;
}
- div#left-navigation {
+ /* Navigation Containers */
+ #left-navigation {
position: absolute;
right: 12em;
top: 3em;
}
- div#right-navigation {
+ #right-navigation {
float: left;
margin-top: 3em;
}
/* Navigation Labels */
- div#namespaces h5,
- div#variants h5,
- div#views h5,
- div#actions h5 span,
- div#search h5 {
+ div.vectorTabs h5,
+ div.vectorMenu h5 span {
display: none;
}
/* Namespaces and Views */
- div#namespaces,
- div#views {
- float: right;
+ /* @noflip */
+ div.vectorTabs {
+ float: left;
+ }
+ div.vectorTabs {
background-image: url(images/tab-break.png);
background-position: bottom right;
background-repeat: no-repeat;
padding-right: 1px;
}
- div#namespaces ul,
- div#views ul {
- float: right;
+ /* @noflip */
+ div.vectorTabs ul {
+ float: left;
+ }
+ div.vectorTabs ul {
height: 100%;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+ /* @noflip */
+ div.vectorTabs ul li {
+ float: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div#namespaces ul li,
- div#views ul li {
+ div.vectorTabs ul li {
+ line-height: 1.125em;
display: inline-block;
- float: right;
height: 100%;
+ margin: 0;
+ padding: 0;
+ background-color: #f3f3f3;
background-image: url(images/tab-normal-fade.png);
background-position: bottom right;
background-repeat: repeat-x;
}
/* IGNORED BY IE6 */
- div#namespaces ul > li,
- div#views ul > li {
+ div.vectorTabs ul > li {
display: block;
}
- div#namespaces li.selected,
- div#views li.selected {
+ div.vectorTabs li.selected {
background-image: url(images/tab-current-fade.png);
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div#namespaces li a,
- div#views li a {
+ div.vectorTabs li a {
display: inline-block;
height: 3em;
padding-right: 0.5em;
background-position: bottom left;
background-repeat: no-repeat;
}
+ div.vectorTabs li a,
+ div.vectorTabs li a span {
+ color: #0645ad;
+ cursor: pointer;
+ }
/* IGNORED BY IE6 */
- div#namespaces li > a,
- div#views li > a {
+ div.vectorTabs li > a {
display: block;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div#namespaces a span,
- div#views a span {
- color: #0645ad;
+ div.vectorTabs a span {
display: inline-block;
padding-top: 1.25em;
- cursor: pointer;
}
/* IGNORED BY IE6 */
- div#namespaces a > span,
- div#views a > span {
- float: right;
+ /* @noflip */
+ div.vectorTabs a > span {
+ float: left;
display: block;
}
- div#namespaces li.selected a span,
- div#views li.selected a:visited span {
+ div.vectorTabs li.selected a,
+ div.vectorTabs li.selected a span,
+ div.vectorTabs li.selected a:visited
+ div.vectorTabs li.selected a:visited span {
color: #333333;
- cursor: default;
text-decoration: none;
}
- div#namespaces li.new a span,
- div#namespaces li.new a:visited span{
+ div.vectorTabs li.new a,
+ div.vectorTabs li.new a span,
+ div.vectorTabs li.new a:visited,
+ div.vectorTabs li.new a:visited span {
color: #a55858;
}
/* Variants and Actions */
- div#variants,
- div#actions {
- float: right;
+ /* @noflip */
+ div.vectorMenu {
+ direction: ltr;
+ float: left;
background-image: url(images/arrow-down-icon.png);
background-position: center center;
background-repeat: no-repeat;
}
- div#variants h5,
- div#actions h5 {
- float: right;
+ body.rtl div.vectorMenu {
+ direction: rtl;
+ }
+ /* @noflip */
+ div.vectorMenu h5 {
+ float: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div#variants h5 a,
- div#actions h5 a {
+ div.vectorMenu h5 a {
display: inline-block;
width: 24px;
height: 3em;
background-repeat: no-repeat;
}
/* IGNORED BY IE6 */
- div#variants h5 > a,
- div#actions h5 > a {
+ div.vectorMenu h5 > a {
display: block;
}
- div#variants div.menu,
- div#actions div.menu {
+ div.vectorMenu div.menu {
+ position: relative;
display: none;
clear: both;
+ text-align: right;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ body.rtl div.vectorMenu div.menu {
+ margin-left: 24px;
}
- div#variants:hover div.menu,
- div#actions:hover div.menu {
+ /* IGNORED BY IE6 */
+ body.rtl div.vectorMenu > div.menu {
+ margin-left: auto;
+ }
+ /* Fixes old versions of FireFox */
+ body.rtl div.vectorMenu > div.menu,
+ x:-moz-any-link {
+ margin-left: 24px;
+ }
+ div.vectorMenu:hover div.menu {
display: block;
}
- div#variants ul,
- div#actions ul {
+ div.vectorMenu ul {
position: absolute;
background-color: white;
border: solid 1px silver;
border-top-width: 0;
+ list-style: none;
+ list-style-image: none;
+ list-style-type: none;
padding: 0;
margin: 0;
margin-right: -1px;
+ text-align: right;
+ }
+ /* Fixes old versions of FireFox */
+ div.vectorMenu ul,
+ x:-moz-any-link {
+ min-width: 6em;
+ }
+ /* Returns things back to normal in modern versions of FireFox */
+ div.vectorMenu ul,
+ x:-moz-any-link,
+ x:default {
+ min-width: 0;
+ }
+ div.vectorMenu li {
+ padding: 0;
+ margin: 0;
+ text-align: right;
+ line-height: 1em;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
- div#variants:hover li a,
- div#actions li a {
+ div.vectorMenu li a {
display: inline-block;
padding: 0.5em;
+ white-space: nowrap;
}
/* IGNORED BY IE6 */
- div#variants:hover li > a,
- div#actions li > a {
+ div.vectorMenu li > a {
display: block;
}
/* Search */
- div#search {
- float: right;
- margin-left: 0.75em;
+ #p-search h5 {
+ display: none;
}
- div#search form,
- div#search input {
- float: right;
+ /* @noflip */
+ #p-search {
+ float: left;
+ }
+ #p-search {
+ margin-left: 0.5em;
+ margin-right: 0.5em;
+ }
+ #p-search form,
+ #p-search input {
+ margin: 0;
margin-top: 0.4em;
- margin-right: 0.25em;
+ }
+ #simpleSearch {
+ margin-top: 0.75em;
+ position: relative;
+ border: solid 1px #AAAAAA;
+ background-color: white;
+ background-image: url(images/search-fade.png);
+ background-position: top right;
+ background-repeat: repeat-x;
+ }
+ #simpleSearch input#searchInput {
+ margin: 0;
+ border-width: 0;
+ padding: 0.25em;
+ line-height: 1em;
+ font-size: 0.9em;
+ width: 9em;
+ background-color: transparent;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ #simpleSearch button#searchButton {
+ margin: 0;
+ padding: 0;
+ width: 1.75em;
+ height: 1.5em;
+ border: none;
+ cursor: pointer;
+ background-color: transparent;
+ background-image: url(images/search-rtl.png);
+ background-position: center center;
+ background-repeat: no-repeat;
+ }
+ /* IGNORED BY IE6 */
+ #simpleSearch > button#searchButton {
+ height: 100%;
}
/* Panel */
-div#panel {
+#panel {
position: absolute;
top: 12em;
width: 12em;
right: 0;
}
- div#panel div.portal {
+ #panel div.portal {
padding-top: 1.5em;
}
- div#panel div.portal h5 {
+ #panel div.portal h5 {
font-weight: normal;
- color: #666666;
+ color: #444444;
padding: 0.5em;
padding-top: 0;
padding-right: 1.25em;
cursor: default;
+ border: none;
+ font-size: 0.9em;
}
- div#panel div.portal div.body {
- margin-top: 0.25em;
+ #panel div.portal div.body {
+ margin: 0;
padding-top: 0.5em;
margin-right: 1.25em;
background-image: url(images/portal-break-rtl.png);
background-repeat: no-repeat;
background-position: top right;
}
- div#panel div.portal div.body ul {
+ #panel div.portal div.body ul {
list-style: none;
+ list-style-image: none;
+ list-style-type: none;
padding: 0;
margin: 0;
}
- div#panel div.portal div.body ul li {
+ #panel div.portal div.body ul li {
+ line-height: 1.125em;
padding: 0;
padding-bottom: 0.5em;
margin: 0;
overflow: hidden;
+ font-size: 0.9em;
}
- div#panel div.portal div.body ul li a {
+ #panel div.portal div.body ul li a {
color: #0645ad;
}
- div#panel div.portal div.body ul li a:visited {
+ #panel div.portal div.body ul li a:visited {
color: #0b0080;
}
-/* Foot */
-div#foot {
+/* Footer */
+#footer {
margin-right: 12em;
margin-top: 0;
padding: 0.75em;
- background-image: url(images/foot-base.png);
+ background-image: url(images/border.png);
background-position: top right;
background-repeat: repeat-x;
}
-div#foot ul {
+#footer ul {
list-style: none;
+ list-style-image: none;
+ list-style-type: none;
margin: 0;
padding: 0;
}
-div#foot ul li {
+#footer ul li {
margin: 0;
padding: 0;
padding-top: 0.5em;
color: #333333;
font-size: 0.9em;
}
-div#foot ul#foot-icons {
+#footer #footer-icons {
float: left;
}
-div#foot ul#foot-places {
+#footer #footer-places {
float: right;
}
-div#foot ul#foot-icons li {
+#footer #footer-info li {
+ line-height: 1.4em;
+}
+#footer #footer-icons li {
float: right;
margin-right: 0.5em;
line-height: 2em;
}
-div#foot ul#foot-places li {
+#footer #footer-places li {
float: right;
- margin-left: 0.5em;
+ margin-left: 1em;
line-height: 2em;
}
/* Logo */
-div#logo {
+#p-logo {
position: absolute;
- top: 0;
+ top: -12em;
right: 0;
height: 12em;
width: 12em;
}
-div#logo a {
+#p-logo a {
display: block;
width: 12em;
height: 12em;
/* Preferences */
#preftoc {
/* Tabs */
+ width: 100%;
float: right;
clear: both;
margin: 0 !important;
padding: 0 !important;
- height: 2.25em;
background-image: url(images/preferences-break.png);
background-position: bottom right;
background-repeat: no-repeat;
padding: 0.5em;
text-decoration: none;
background-image: none;
+ font-size: 0.9em;
}
#preftoc a:hover {
text-decoration: underline;
}
#preftoc li.selected a {
- cursor: default;
background-image: url(images/preferences-fade.png);
background-position: bottom;
background-repeat: repeat-x;
color: #333333;
- cursor: default;
text-decoration: none;
}
#preferences {
float: right;
- zoom: 1;
width: 100%;
margin: 0;
+ margin-top: -2px;
clear: both;
border: solid 1px #cccccc;
background-color: #f9f9f9;
* The following code is slightly modified from monobook
*
*/
-
+#content {
+ line-height: 1.5em;
+}
/* Links */
a {
text-decoration: none;
background-color: #f9f9f9;
line-height: 1.1em;
}
-div#content ul {
+ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 1.5em 0 0;
padding: 0;
list-style-image: url(images/bullet-icon.png);
}
-div#content ol {
+ol {
line-height: 1.5em;
margin: .3em 3.2em 0 0;
padding: 0;
list-style-image: none;
}
-div#content li {
+li {
margin-bottom: .1em;
}
-div#content dt {
+dt {
font-weight: bold;
margin-bottom: .1em;
}
-div#content dl {
+dl {
margin-top: .2em;
margin-bottom: .5em;
}
-div#content dd {
+dd {
line-height: 1.5em;
margin-right: 2em;
margin-bottom: .1em;
}
/* Tables */
-div#content table {
+table {
font-size: 100%;
color: black;
/* we don't want the bottom borders of <h2>s to be visible through
* floated tables */
background-color: white;
}
-div#content fieldset table {
+fieldset table {
/* but keep table layouts in forms clean... */
background: none;
}
/* Forms */
-div#content fieldset {
+fieldset {
border: 1px solid #2f6fab;
margin: 1em 0 1em 0;
padding: 0 1em 1em;
margin: 0 0 0.5em 0;
padding: 0 0.5em 0.5em;
}
-div#content legend {
+legend {
padding: .5em;
font-size: 95%;
}
-div#content form {
+form {
border: none;
margin: 0;
}
-div#content textarea {
+textarea {
width: 100%;
padding: .1em;
}
-div#content select {
+select {
vertical-align: top;
}
/* Table of Contents */
border-style: solid;
border-color: white;
width: auto;
+ background-color: transparent;
}
div.thumbinner {
border: 1px solid #ccc;
#siteNotice {
text-align: center;
font-size: 95%;
- padding-top: 0.9em;
+ margin: 0;
}
+ #siteNotice div,
#siteNotice p {
margin: 0;
padding: 0;
+ margin-bottom: 0.9em;
}
/* Categories */
.catlinks {
font-size: 100%;
}
/* Edge Cases for Content */
-#content h1, #content h2 {
+h1, h2 {
margin-bottom: .6em;
}
-#content h3, #content h4, #content h5 {
+h3, h4, h5 {
margin-bottom: .3em;
}
-h1#firstHeading {
+#firstHeading {
padding-top: 0;
margin-top: 0;
padding-top: 0;
#content a.external {
color: #36b;
}
-#content .plainlinks a {
- /* this can be used in the content area to switch off special external link
- * styling */
- background: none !important;
- padding: 0 !important;
-}
#content .printfooter {
display: none;
}
+/* Icon for Usernames */
+#pt-userpage,
+#pt-anonuserpage,
+#pt-login {
+ background: url(images/user-icon.png) right top no-repeat;
+ padding-right: 15px !important;
+ text-transform: none;
+}
+
+.toccolours {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}
+#bodyContent {
+ position: relative;
+ width: 100%;
+}
\ No newline at end of file