summaryrefslogtreecommitdiff
path: root/skins/modern/main.css
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
commitca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch)
treeec04cc15b867bc21eedca904cea9af0254531a11 /skins/modern/main.css
parenta22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff)
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing
Diffstat (limited to 'skins/modern/main.css')
-rw-r--r--skins/modern/main.css74
1 files changed, 45 insertions, 29 deletions
diff --git a/skins/modern/main.css b/skins/modern/main.css
index 9dc17170..910a53bc 100644
--- a/skins/modern/main.css
+++ b/skins/modern/main.css
@@ -8,6 +8,9 @@ body {
font-family: sans-serif;
color: black;
background-color: #f0f0f0;
+
+ direction: ltr;
+ unicode-bidi: embed;
}
#mw_main,
@@ -182,6 +185,7 @@ textarea {
}
ul {
+ /* @embed */
list-style-image: url(bullet.gif);
}
@@ -245,6 +249,7 @@ ul {
#footer {
background-color: #f0f0f0;
+ /* @embed */
background: url(footer-grad.png) repeat-x 0 0;
padding: 10px 1em 1em 1em;
clear:both;
@@ -406,32 +411,38 @@ h1, h2, h3, h4, h5, h6 {
}
#mw_content a.external,
-#mw_content a[href ^="gopher://"] {
+#mw_content a.external[href ^="gopher://"] {
+ /* @embed */
background: url(external.png) center right no-repeat;
padding-right: 13px;
}
-#mw_content a[href ^="https://"],
+#mw_content a.external[href ^="https://"],
.link-https {
+ /* @embed */
background: url(lock_icon.gif) center right no-repeat;
padding-right: 16px;
}
-#mw_content a[href ^="mailto:"],
+#mw_content a.external[href ^="mailto:"],
.link-mailto {
+ /* @embed */
background: url(mail_icon.gif) center right no-repeat;
padding-right: 18px;
}
-#mw_content a[href ^="news://"] {
+#mw_content a.external[href ^="news://"] {
+ /* @embed */
background: url(news_icon.png) center right no-repeat;
padding-right: 18px;
}
-#mw_content a[href ^="ftp://"],
+#mw_content a.external[href ^="ftp://"],
.link-ftp {
+ /* @embed */
background: url(file_icon.gif) center right no-repeat;
padding-right: 18px;
}
-#mw_content a[href ^="irc://"],
-#mw_content a.extiw[href ^="irc://"],
+#mw_content a.external[href ^="irc://"],
+#mw_content a.external[href ^="ircs://"],
.link-irc {
+ /* @embed */
background: url(discussionitem_icon.gif) center right no-repeat;
padding-right: 18px;
}
@@ -443,6 +454,7 @@ h1, h2, h3, h4, h5, h6 {
#mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
#mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
.link-audio {
+ /* @embed */
background: url("audio.png") center right no-repeat;
padding-right: 13px;
}
@@ -451,6 +463,7 @@ h1, h2, h3, h4, h5, h6 {
#mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
#mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
.link-video {
+ /* @embed */
background: url("video.png") center right no-repeat;
padding-right: 13px;
}
@@ -458,15 +471,13 @@ h1, h2, h3, h4, h5, h6 {
#mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
#mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
.link-document {
+ /* @embed */
background: url("document.png") center right no-repeat;
padding-right: 12px;
}
/* images */
-div.floatright, table.floatright {
- clear: right;
- float: right;
- position: relative;
+/* @noflip */div.floatright, table.floatright {
margin: 0 0 .5em .5em;
border: 0;
/*
@@ -475,10 +486,7 @@ div.floatright, table.floatright {
*/
}
div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
- float: left;
- clear: left;
- position: relative;
+/* @noflip */div.floatleft, table.floatleft {
margin: 0 .5em .5em 0;
border: 0;
/*
@@ -521,22 +529,15 @@ div.magnify a, div.magnify img {
border: none !important;
background: none !important;
}
-div.tright {
- clear: right;
- float: right;
+/* @noflip */div.tright {
margin: .5em 0 .8em 1.4em;
}
-div.tleft {
- float: left;
- clear: left;
+/* @noflip */div.tleft {
margin: .5em 1.4em .8em 0;
}
img.thumbborder {
border: 1px solid #dddddd;
}
-.hiddenStructure {
- display: none;
-}
.mw-warning {
border: 1px solid #aaa;
background-color: #f9f9f9;
@@ -584,7 +585,7 @@ img.thumbborder {
list-style-type: none;
list-style-image: none;
margin: 0 1em 0 1em;
- padding-left: 0;
+ padding: 0;
text-align: left;
}
@@ -621,15 +622,12 @@ img.thumbborder {
#mw_content a.extiw,
#mw_content a.extiw:active {
color: #36b;
- background: none;
- padding: 0;
}
#mw_content a.external {
color: #36b;
}
-
.redirectText {
font-size: 150%;
margin: 5px;
@@ -793,6 +791,7 @@ ul {
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
+ /* @embed */
list-style-image: url(bullet.gif);
}
ol {
@@ -836,6 +835,7 @@ pre {
border-collapse: collapse;
margin: 0 -1em 1em -1em;
padding: 0 0 8px 0;
+ /* @embed */
background: url(footer-grad.png) repeat-x bottom left;
}
@@ -880,4 +880,20 @@ pre {
/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
.tipsy {
font-size: 130%;
-} \ No newline at end of file
+}
+
+/**
+ * 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#mw_contentholder ul {
+ display: table;
+}
+
+/* @noflip */
+html > body.rtl div#mw_contentholder ul#filetoc {
+ display: block;
+}