From 5521bad534edbcfca285393e36a6a94a3f1be9bf Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:42:45 +0200 Subject: Anpassung an neue API; CSS-Aktualisierung --- skins/archlinux/archlinux.css | 2 +- skins/archlinux/main.css | 117 ++++++++++++++++++++---------------------- skins/archlinux/rtl.css | 24 ++++----- 3 files changed, 65 insertions(+), 78 deletions(-) (limited to 'skins') diff --git a/skins/archlinux/archlinux.css b/skins/archlinux/archlinux.css index a1a11909..c769c4ec 100644 --- a/skins/archlinux/archlinux.css +++ b/skins/archlinux/archlinux.css @@ -96,7 +96,7 @@ a:hover { /* MediaWiki: */ #globalWrapper { - padding-top: 13px; + padding-top: 12px; } #content { diff --git a/skins/archlinux/main.css b/skins/archlinux/main.css index 7192b5f3..8db47d2b 100644 --- a/skins/archlinux/main.css +++ b/skins/archlinux/main.css @@ -17,7 +17,7 @@ } #content { margin: 2.8em 0 0 12.2em; - padding: 0 1em 1.5em 1em; + padding: 0 1em 1em 1em; position: relative; z-index: 2; } @@ -67,6 +67,10 @@ table { floated tables */ background-color: white; } +fieldset table { + /* but keep table layouts in forms clean... */ + background: none; +} a { text-decoration: none; color: #002bb8; @@ -173,6 +177,10 @@ fieldset { padding: 0 1em 1em; line-height: 1.5em; } +fieldset.nested { + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; +} legend { padding: .5em; font-size: 95%; @@ -254,6 +262,10 @@ span.subpages { } .firstHeading { margin-bottom: .1em; + /* These two rules hack around bug 2013 (fix for more limited bug 11325). + When bug 2013 is fixed properly, they should be removed. */ + line-height: 1.2em; + padding-bottom: 0; } /* user notification thing */ @@ -275,6 +287,10 @@ span.subpages { margin: 0; padding: 0; } +.success { + color: green; + font-size: larger; +} .error { color: red; font-size: larger; @@ -303,7 +319,7 @@ span.subpages { border: none; } -#catlinks { +.catlinks { border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; @@ -494,30 +510,6 @@ table.rimage { padding: 5px; font-size: 95%; } -div.townBox { - position: relative; - float: right; - background: white; - margin-left: 1em; - border: 1px solid gray; - padding: .3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 .3em; - font-size: 96%; -} -div.townBox dl dt { - background: none; - margin: .4em 0 0; -} -div.townBox dl dd { - margin: .1em 0 0 1.1em; - background-color: #f3f3f3; -} /* ** edit views etc @@ -528,26 +520,6 @@ div.townBox dl dd { padding: 0; } -/* Page history styling */ -/* the auto-generated edit comments */ -.autocomment { - color: gray; -} -#pagehistory span.user { - margin-left: 1.4em; - margin-right: .4em; -} -#pagehistory span.minor { - font-weight: bold; -} -#pagehistory li { - border: 1px solid white; -} -#pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; -} - /* ** keep the whitespace in front of the ^=, hides rule from konqueror ** this is css3, the validator doesn't like it when validating as css2 @@ -577,6 +549,7 @@ div.townBox dl dd { padding-right: 18px; } #bodyContent a[href ^="irc://"], +#bodyContent a.extiw[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; @@ -1073,6 +1046,10 @@ div#userlogin form#userlogin2 { background-color: #f9f9f9; float: left; } +.rtl div#userloginForm form, +.rtl div#userlogin form#userlogin2 { + float: right; +} div#userloginForm table, div#userlogin form#userlogin2 table { @@ -1091,6 +1068,9 @@ div#userloginForm .captcha { background-color: white; } +#loginend, #signupend { + clear: both; +} #userloginprompt, #languagelinks { font-size: 85%; @@ -1171,7 +1151,7 @@ div.patrollink { font-size: 75%; text-align: right; } -span.newpage, span.minor, span.searchmatch, span.bot { +span.newpage, span.minor, span.bot { font-weight: bold; } span.unpatrolled { @@ -1179,9 +1159,6 @@ span.unpatrolled { color: red; } -span.searchmatch { - color: red; -} .sharedUploadNotice { font-style: italic; } @@ -1344,10 +1321,6 @@ input#wpSave, input#wpDiff { margin-right: 0.33em; } -#editform .editOptions { - display: inline; -} - #wpSave { font-weight: bold; } @@ -1436,7 +1409,7 @@ div#searchTarget ul li:before { div#searchTargetHide { float:right; border:solid 1px black; - background:gainsboro; + background:#DCDCDC; padding:2px; } @@ -1444,7 +1417,6 @@ div.multipageimagenavbox { border: solid 1px silver; padding: 4px; margin: 1em; - -moz-border-radius: 6px; background: #f0f0f0; } @@ -1514,12 +1486,6 @@ tr.sv-space td { display: none; } margin: 0.1em 0; } -/* Convenience links on Special:Ipblocklist */ -p.mw-ipb-conveniencelinks { - font-size: 90%; - float: right; -} - /* Friendlier slave lag warnings */ div.mw-lag-warn-normal, div.mw-lag-warn-high { @@ -1557,3 +1523,30 @@ div#mw-recreate-deleted-warn ul li { vertical-align: middle; font-size: 90%; } + +/** Special:Search stuff */ +div#mw-search-interwiki-caption { + text-align: center; + font-weight: bold; + font-size: 95%; +} + +.mw-search-interwiki-project { + font-size: 97%; + text-align: left; + padding-left: 0.2em; + padding-right: 0.15em; + padding-bottom: 0.2em; + padding-top: 0.15em; + background: #cae8ff; +} + +span.searchmatch { + font-weight: bold; + color: red; +} + +/* God-damned hack for the crappy layout */ +.os-suggest { + font-size: 127%; +} diff --git a/skins/archlinux/rtl.css b/skins/archlinux/rtl.css index 2bd5261e..f00cf09f 100644 --- a/skins/archlinux/rtl.css +++ b/skins/archlinux/rtl.css @@ -24,7 +24,6 @@ To test: */ body { direction: rtl; -/* unicode-bidi: bidi-override;*/ unicode-bidi: embed; } #column-content { @@ -37,7 +36,7 @@ body { border-right: 1px solid #aaaaaa; border-left: none; } -html>body .portlet { +html > body .portlet { float: right; clear: right; } @@ -69,7 +68,6 @@ div div.thumbcaption { } div.magnify, -#div.townBox, #p-logo { left: auto; right: 0; @@ -135,14 +133,6 @@ div.tright, div.floatright, table.floatright { div.tleft, div.floatleft, table.floatleft { clear: left; } -div.townBox { - margin-left: 0; - margin-right: 1em; -} -div.townBox dl dd { - margin-left: 0; - margin-right: 1.1em; -} #p-personal li { margin-left: 0; margin-right: 1em; @@ -215,8 +205,8 @@ input#wpSave, input#wpDiff { float: right; margin: 0 0 1em 3em; } -/* Unblock and Ipblocklist links of Special:Blockip */ -p.mw-ipb-conveniencelinks { +/* Convenience links to edit block and delete reasons */ +p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons { float: left; } @@ -234,5 +224,9 @@ table.filehistory th { * They fix a problem ith Gecko browsers rendering lists to the right of * left-floated objects in an RTL layout. */ -html>body.rtl #bodyContent ul { display:table; } -html>body.rtl #bodyContent ol { display:table; } \ No newline at end of file +html > body div#bodyContent ul { + display: table; +} +html > body div#bodyContent ul#filetoc { + display: block; +} -- cgit v1.2.2