Fix bug 1061 CSS-added icons next to links display through the text and makes it...
[lhc/web/wiklou.git] / skins / monobook / main.css
index ad44933..56a50cd 100644 (file)
@@ -260,7 +260,7 @@ span.subpages {
 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
        margin-bottom: .3em;
 }
-.firstHeading {
+#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. */
@@ -510,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
@@ -551,32 +527,35 @@ 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;
+}
+.rtl #bodyContent a[href ^="http://"] {
+       background-image: url(external-rtl.png);
 }
 #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"],
@@ -586,7 +565,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"],
@@ -594,14 +573,30 @@ 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;
+}
+.rtl a.feedlink {
+  background-position: right;
+  padding-right: 16px;
+  padding-left: 0;
+}
+
+/* correction for ltr wikis */
+.ltr #bodyContent a.external {
+       padding-left: 0;
 }
 
 /* disable interwiki styling */
@@ -739,7 +734,10 @@ input.searchButton {
        padding: .5em .4em .4em .4em;
        text-align: center;
 }
-
+#p-search #searchform div div {
+       margin-top: .4em;
+       font-size: 95%;
+}
 /*
 ** the personal toolbar
 */
@@ -916,10 +914,6 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        text-transform: lowercase;
 }
 
-/*
-** the remaining portlets
-*/
-#p-tbx,
 #p-lang {
        position: relative;
        z-index: 3;
@@ -1437,6 +1431,10 @@ div#searchTargetHide {
        padding:2px;
 }
 
+#powersearch p {
+       margin-top:0px;
+}
+
 div.multipageimagenavbox {
    border: solid 1px silver;
    padding: 4px;
@@ -1489,6 +1487,7 @@ tr.sv-space td { display: none; }
   - remove line wrapping for all td and th, set background color
   - restore line wrapping for the last two table cells (description and size)
 */
+.TablePager { min-width: 80%; }
 .TablePager_nav a { text-decoration: none; }
 .TablePager { border-collapse: collapse; }
 .TablePager, .TablePager td, .TablePager th { 
@@ -1527,17 +1526,6 @@ div.mw-lag-warn-high {
        background-color: #FFCCCC;
 }
 
-/* Recreating-deleted-page/reupload file warning and log entries */
-div#mw-upload-deleted-warn,
-div#mw-recreate-deleted-warn {
-       padding: 3px;
-       margin-bottom: 3px;
-       border: 2px solid #2F6FAB;
-}
-div#mw-upload-deleted-warn ul li,
-div#mw-recreate-deleted-warn ul li {
-       font-size: 90%;
-}
 .MediaTransformError {
        background-color: #ccc;
        padding: 0.1em;
@@ -1565,11 +1553,6 @@ div#mw-search-interwiki-caption {
        background: #cae8ff;
 }
 
-span.searchmatch {
-       font-weight: bold;
-       color: red;
-}
-
 /* God-damned hack for the crappy layout */
 .os-suggest {
        font-size: 127%;