Enable external link icon (along with other links icons too) again on RTL wikis after...
[lhc/web/wiklou.git] / skins / monobook / main.css
index ca6b465..c615f27 100644 (file)
@@ -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;
@@ -472,14 +488,6 @@ img.thumbborder {
        display: none;
 }
 
-/* Have a checkered background on images on the description pages and in galleries
-   to make transparency visible
-
-#file img, .gallerybox .thumb img {
-       background: url(Checker-16x16.png) repeat;
-}
-*/
-
 /*
 ** classes for special content elements like town boxes
 ** intended to be referenced directly from the wiki src
@@ -536,26 +544,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
@@ -563,31 +551,32 @@ div.townBox dl dd {
 #bodyContent a.external,
 #bodyContent a[href ^="gopher://"] {
        background: url(external.png) center right no-repeat;
-       padding-right: 13px;
+       padding: 0 13px;
 }
 #bodyContent a[href ^="https://"],
 .link-https {
        background: url(lock_icon.gif) center right no-repeat;
-       padding-right: 16px;
+       padding: 0 16px;
 }
 #bodyContent a[href ^="mailto:"],
 .link-mailto {
        background: url(mail_icon.gif) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
 #bodyContent a[href ^="news://"] {
        background: url(news_icon.png) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
 #bodyContent a[href ^="ftp://"],
 .link-ftp {
        background: url(file_icon.gif) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
 #bodyContent a[href ^="irc://"],
+#bodyContent a.extiw[href ^="irc://"],
 .link-irc {
        background: url(discussionitem_icon.gif) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
@@ -597,7 +586,7 @@ div.townBox dl dd {
 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
 .link-audio {
        background: url("audio.png") center right no-repeat;
-       padding-right: 13px;
+       padding: 0 13px;
 }
 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
@@ -605,14 +594,24 @@ div.townBox dl dd {
 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
 .link-video {
        background: url("video.png") center right no-repeat;
-       padding-right: 13px;
+       padding: 0 13px;
 }
 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
 .link-document {
        background: url("document.png") center right no-repeat;
-       padding-right: 12px;
+       padding: 0 12px;
+}
+
+/* for rtl wikis */
+.rtl #bodyContent a.external {
+       background-position: left;
+       padding-right: 0;
+}
+/* correction for ltr wikis */
+.ltr #bodyContent a.external {
+       padding-left: 0;
 }
 
 /* disable interwiki styling */
@@ -1175,10 +1174,11 @@ div#userloginForm .captcha {
        background-color: #ffa;
 }
 div.patrollink {
+       clear: both;
        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 {
@@ -1186,9 +1186,6 @@ span.unpatrolled {
        color: red;
 }
 
-span.searchmatch {
-       color: red;
-}
 .sharedUploadNotice {
        font-style: italic;
 }
@@ -1443,7 +1440,7 @@ div#searchTarget ul li:before {
 div#searchTargetHide {
        float:right;
        border:solid 1px black;
-       background:gainsboro;
+       background:#DCDCDC;
        padding:2px;
 }
 
@@ -1471,17 +1468,17 @@ table.multipageimage td {
 
 /** Special:Version */
 
-table#sv-ext, table#sv-hooks {
+table#sv-ext, table#sv-hooks, table#sv-software {
        margin: 1em;
        padding:0em;
 }
 
-#sv-ext td, #sv-hooks td,
-#sv-ext th, #sv-hooks th {
+#sv-ext td, #sv-hooks td, #sv-software td,
+#sv-ext th, #sv-hooks th, #sv-software th {
        border: 1px solid #A0A0A0;
        padding: 0 0.15em 0 0.15em;
 }
-#sv-ext th, #sv-hooks th {
+#sv-ext th, #sv-hooks th, #sv-software th {
        background-color: #F0F0F0;
        color: black;
        padding: 0 0.15em 0 0.15em;
@@ -1521,12 +1518,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 {
@@ -1564,3 +1555,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%;
+}