diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /skins/modern | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (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')
-rw-r--r-- | skins/modern/main.css | 74 | ||||
-rw-r--r-- | skins/modern/rtl.css | 162 |
2 files changed, 45 insertions, 191 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; +} diff --git a/skins/modern/rtl.css b/skins/modern/rtl.css deleted file mode 100644 index 66d9017a..00000000 --- a/skins/modern/rtl.css +++ /dev/null @@ -1,162 +0,0 @@ -body { - direction: rtl; - unicode-bidi: embed; -} - -.editsection { - float: left; - margin-right: 5px; - margin-left: 0; /* bug 9122: undo default LTR */ -} - -/* Fix alignment */ -.documentByLine, -.portletDetails, -.portletMore { - text-align: left; -} - -div div.thumbcaption { - text-align: right; -} - -div.magnify { - left: auto; - right: 0; -} - -/* Fix margins for non-css2 browsers */ -/* top right bottom left */ - -dd { - margin-left: 0; - margin-right: 1.6em; -} -.tocindent { - margin-left: 0; - margin-right: 2em; -} -div.tright, div.floatright, table.floatright { - clear: none; -} -div.tleft, div.floatleft, table.floatleft { - clear: left; -} - -/* Fix link icons */ -.external, a.feedlink { - padding: 0 !important; - background: none !important; -} - -/* js pref toc */ - -#preftoc { - margin-right: 1em; -} - -.errorbox, .successbox, #preftoc li, .prefsection fieldset { - float: right; -} - -.prefsection { - padding-right: 2em; -} - -/* workaround for moz bug, displayed bullets on left side */ - -#toc ul { - text-align: right; -} - -#toc ul ul { - margin: 0 2em 0 0; -} - -input#wpSave, input#wpDiff { - margin-right: 0; - margin-left: .33em; -} - -#userlogin { - margin: 0 0 1em 3em; -} -/* 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 { - float: left; -} - -.toggle { - margin-left: 0em; - margin-right: 2em; -} -table.filehistory th { - text-align: right; -} - -#mw_contentwrapper { - margin: 0 -15em 0 0; - float: left; -} - -#mw_content { - margin: 0 14em 0 0; - border-left: none; - border-right: solid 1px #bbbbbb; -} - -.portlet ul { - margin: 0 1.5em 0 0; - padding: 0 0 0 0; -} - -.portlet h5 { - padding: 0.1em 1em 0.3em 0; -} - -#p-cactions li { - float: right; -} - -#p-personal li { - float: right; -} - -#p-cactions { - margin: 0 14em 0 0; -} - -#mw_portlets { - border-right: none; - border-left: solid 1px #bbbbbb; -} - -/** - * 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#mw_contentholder ul { - display: table; -} -html > body div#mw_contentholder ul li { - margin-right:10px; -} -html > body div.pBody ul li { - margin-right:4px; -} -html > body div#mw_contentholder ul#filetoc { - display: block; -} - -/* Special:Allpages styling */ -td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline { - text-align: left; -} - -/* Special:PrefixIndex styling */ -td#mw-prefixindex-nav-form { - text-align: left; -} |