Enable external link icon (along with other links icons too) again on RTL wikis after...
[lhc/web/wiklou.git] / skins / monobook / main.css
index 1022f9c..c615f27 100644 (file)
@@ -9,32 +9,21 @@
 ** All you guys rock :)
 */
 
-/**
- * Stylesheet for screen/projection.  All rules not marked media-specific are
- * shared with handheld.css and should be updated in tandem.  The rules can't
- * be in the same file because old browsers like IE5 won't obey @media rules.
- *
- * Rules that are screen/projection-specific are marked with commented-out
- * @media rules and indentation.
- */
-
-/* @media screen, projection { */
-       #column-content {
-               width: 100%;
-               float: right;
-               margin: 0 0 .6em -12.2em;
-               padding: 0;
-       }
-       #content {
-               margin: 2.8em 0 0 12.2em;
-               padding: 0 1em 1.5em 1em;
-               position: relative;
-               z-index: 2;
-       }
-       #column-one {
-               padding-top: 160px;
-       }
-/* } */
+#column-content {
+       width: 100%;
+       float: right;
+       margin: 0 0 .6em -12.2em;
+       padding: 0;
+}
+#content {
+       margin: 2.8em 0 0 12.2em;
+       padding: 0 1em 1em 1em;
+       position: relative;
+       z-index: 2;
+}
+#column-one {
+       padding-top: 160px;
+}
 #content {
        background: white;
        color: black;
@@ -78,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;
@@ -106,12 +99,10 @@ img {
        border: none;
        vertical-align: middle;
 }
-/* @media screen, projection { */
-       p {
-               margin: .4em 0 .5em 0;
-               line-height: 1.5em;
-       }
-/* } */
+p {
+       margin: .4em 0 .5em 0;
+       line-height: 1.5em;
+}
 p img {
        margin: 0;
 }
@@ -150,11 +141,6 @@ h5 .editsection { font-weight: normal; }
 h6 { font-size: 80%;  }
 h6 .editsection { font-size: 125%; font-weight: normal; }
 
-.editsection {
-       float: right;
-       margin-left: 5px;
-}
-
 ul {
        line-height: 1.5em;
        list-style-type: square;
@@ -191,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%;
@@ -245,14 +235,12 @@ pre {
 ** the main content area
 */
 
-/* @media screen, projection { */
-       #siteSub {
-               display: none;
-       }
-       #jump-to-nav {
-               display: none;
-       }
-/* } */
+#siteSub {
+       display: none;
+}
+#jump-to-nav {
+       display: none;
+}
 
 #contentSub, #contentSub2 {
        font-size: 84%;
@@ -274,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 */
@@ -295,6 +287,10 @@ span.subpages {
        margin: 0;
        padding: 0;
 }
+.success {
+       color: green;
+       font-size: larger;
+}
 .error {
        color: red;
        font-size: larger;
@@ -323,7 +319,7 @@ span.subpages {
        border: none;
 }
 
-#catlinks {
+.catlinks {
        border: 1px solid #aaa;
        background-color: #f9f9f9;
        padding: 5px;
@@ -490,22 +486,7 @@ img.thumbborder {
 }
 .hiddenStructure {
        display: none;
-       speak: none;
 }
-img.tex {
-       vertical-align: middle;
-}
-span.texhtml {
-       font-family: serif;
-}
-
-/* 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
@@ -563,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
@@ -590,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"],
@@ -624,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"],
@@ -632,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 */
@@ -730,65 +702,35 @@ special external link styling */
 ** Logo properties
 */
 
-/* @media screen, projection { */
-       #p-logo {
-               top: 0;
-               left: 0;
-               position: absolute; /*needed to use z-index */
-               z-index: 3;
-               height: 155px;
-               width: 12em;
-               overflow: visible;
-       }
-       #p-logo h5 {
-               display: none;
-       }
-       #p-logo a,
-       #p-logo a:hover {
-               display: block;
-               height: 155px;
-               width: 12.2em;
-               background-repeat: no-repeat;
-               background-position: 35% 50% !important;
-               text-decoration: none;
-       }
-/* } */
-/*
-** the navigation portlet
-*/
-
-/* @media screen, projection { */
-       #p-navigation {
-               position: relative;
-               z-index: 3;
-       }
-       #p-navigation a {
-               display: block;
-       }
-       #p-navigation li.active a, #p-navigation li.active a:hover {
-               display: inline;
-       }
-/* } */
-
-#p-navigation .pBody {
-       padding-right: 0;
+#p-logo {
+       top: 0;
+       left: 0;
+       position: absolute; /*needed to use z-index */
+       z-index: 3;
+       height: 155px;
+       width: 12em;
+       overflow: visible;
 }
-
-#p-navigation li.active a, #p-navigation li.active a:hover {
+#p-logo h5 {
+       display: none;
+}
+#p-logo a,
+#p-logo a:hover {
+       display: block;
+       height: 155px;
+       width: 12.2em;
+       background-repeat: no-repeat;
+       background-position: 35% 50% !important;
        text-decoration: none;
-       font-weight: bold;
 }
 
-
 /*
 ** Search portlet
 */
-/* @media screen, projection { */
-       #p-search {
-               position: relative;
-               z-index: 3;
-       }
-/* } */
+#p-search {
+       position: relative;
+       z-index: 3;
+}
 input.searchButton {
        margin-top: 1px;
        font-size: 95%;
@@ -811,82 +753,80 @@ input.searchButton {
 /*
 ** the personal toolbar
 */
-/* @media screen, projection { */
-       #p-personal {
-               position: absolute;
-               left: 0;
-               top: 0;
-               z-index: 0;
-       }
-       #p-personal {
-               width: 100%;
-               white-space: nowrap;
-               padding: 0;
-               margin: 0;
-               border: none;
-               background: none;
-               overflow: visible;
-               line-height: 1.2em;
-       }
-       #p-personal h5 {
-               display: none;
-       }
-       #p-personal .portlet,
-       #p-personal .pBody {
-               z-index: 0;
-               padding: 0;
-               margin: 0;
-               border: none;
-               overflow: visible;
-               background: none;
-       }
+#p-personal {
+       position: absolute;
+       left: 0;
+       top: 0;
+       z-index: 0;
+}
+#p-personal {
+       width: 100%;
+       white-space: nowrap;
+       padding: 0;
+       margin: 0;
+       border: none;
+       background: none;
+       overflow: visible;
+       line-height: 1.2em;
+}
+#p-personal h5 {
+       display: none;
+}
+#p-personal .portlet,
+#p-personal .pBody {
+       z-index: 0;
+       padding: 0;
+       margin: 0;
+       border: none;
+       overflow: visible;
+       background: none;
+}
 /* this is the ul contained in the portlet */
-       #p-personal ul {
-               border: none;
-               line-height: 1.4em;
-               color: #2f6fab;
-               padding: 0 2em 0 3em;
-               margin: 0;
-               text-align: right;
-               list-style: none;
-               z-index: 0;
-               background: none;
-               cursor: default;
-       }
-       #p-personal li {
-               z-index: 0;
-               border: none;
-               padding: 0;
-               display: inline;
-               color: #2f6fab;
-               margin-left: 1em;
-               line-height: 1.2em;
-               background: none;
-       }
-       #p-personal li a {
-               text-decoration: none;
-               color: #005896;
-               padding-bottom: .2em;
-               background: none;
-       }
-       #p-personal li a:hover {
-               background-color: white;
-               padding-bottom: .2em;
-               text-decoration: none;
-       }
-       #p-personal li.active a:hover {
-               background-color: transparent;
-       }
-       /* the icon in front of the user name, single quotes
-       in bg url to hide it from iemac */
-       li#pt-userpage,
-       li#pt-anonuserpage,
-       li#pt-login {
-               background: url(user.gif) top left no-repeat;
-               padding-left: 20px;
-               text-transform: none;
-       }
-/* } */
+#p-personal ul {
+       border: none;
+       line-height: 1.4em;
+       color: #2f6fab;
+       padding: 0 2em 0 3em;
+       margin: 0;
+       text-align: right;
+       list-style: none;
+       z-index: 0;
+       background: none;
+       cursor: default;
+}
+#p-personal li {
+       z-index: 0;
+       border: none;
+       padding: 0;
+       display: inline;
+       color: #2f6fab;
+       margin-left: 1em;
+       line-height: 1.2em;
+       background: none;
+}
+#p-personal li a {
+       text-decoration: none;
+       color: #005896;
+       padding-bottom: .2em;
+       background: none;
+}
+#p-personal li a:hover {
+       background-color: white;
+       padding-bottom: .2em;
+       text-decoration: none;
+}
+#p-personal li.active a:hover {
+       background-color: transparent;
+}
+/* the icon in front of the user name, single quotes
+in bg url to hide it from iemac */
+li#pt-userpage,
+li#pt-anonuserpage,
+li#pt-login {
+       background: url(user.gif) top left no-repeat;
+       padding-left: 20px;
+       text-transform: none;
+}
 #p-personal ul {
        text-transform: lowercase;
 }
@@ -896,91 +836,89 @@ input.searchButton {
 /*
 ** the page-related actions- page/talk, edit etc
 */
-/* @media screen, projection { */
-       #p-cactions {
-               position: absolute;
-               top: 1.3em;
-               left: 11.5em;
-               margin: 0;
-               white-space: nowrap;
-               width: 76%;
-               line-height: 1.1em;
-               overflow: visible;
-               background: none;
-               border-collapse: collapse;
-               padding-left: 1em;
-               list-style: none;
-               font-size: 95%;
-       }
-       #p-cactions ul {
-               list-style: none;
-       }
-       #p-cactions li {
-               display: inline;
-               border: 1px solid #aaa;
-               border-bottom: none;
-               padding: 0 0 .1em 0;
-               margin: 0 .3em 0 0;
-               overflow: visible;
-               background: white;
-       }
-       #p-cactions li.selected {
-               border-color: #fabd23;
-               padding: 0 0 .2em 0;
-               font-weight: bold;
-       }
-       #p-cactions li a {
-               background-color: #fbfbfb;
-               color: #002bb8;
-               border: none;
-               padding: 0 .8em .3em;
-               position: relative;
-               z-index: 0;
-               margin: 0;
-               text-decoration: none;
-       }
-       #p-cactions li.selected a {
-               z-index: 3;
-               padding: 0 1em .2em!important;
-               background-color: white;
-       }
-       #p-cactions .new a {
-               color: #ba0000;
-       }
-       #p-cactions li a:hover {
-               z-index: 3;
-               text-decoration: none;
-               background-color: white;
-       }
-       #p-cactions h5 {
-               display: none;
-       }
-       #p-cactions li.istalk {
-               margin-right: 0;
-       }
-       #p-cactions li.istalk a {
-               padding-right: .5em;
-       }
-       #p-cactions #ca-addsection a {
-               padding-left: .4em;
-               padding-right: .4em;
-       }
-       /* offsets to distinguish the tab groups */
-       li#ca-talk {
-               margin-right: 1.6em;
-       }
-       li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
-               margin-left: 1.6em;
-       }
-       #p-cactions .pBody {
-               font-size: 1em;
-               background-color: transparent;
-               color: inherit;
-               border-collapse: inherit;
-               border: 0;
-               padding: 0;
-       }
-/* } */
+#p-cactions {
+       position: absolute;
+       top: 1.3em;
+       left: 11.5em;
+       margin: 0;
+       white-space: nowrap;
+       width: 76%;
+       line-height: 1.1em;
+       overflow: visible;
+       background: none;
+       border-collapse: collapse;
+       padding-left: 1em;
+       list-style: none;
+       font-size: 95%;
+}
+#p-cactions ul {
+       list-style: none;
+}
+#p-cactions li {
+       display: inline;
+       border: 1px solid #aaa;
+       border-bottom: none;
+       padding: 0 0 .1em 0;
+       margin: 0 .3em 0 0;
+       overflow: visible;
+       background: white;
+}
+#p-cactions li.selected {
+       border-color: #fabd23;
+       padding: 0 0 .2em 0;
+       font-weight: bold;
+}
+#p-cactions li a {
+       background-color: #fbfbfb;
+       color: #002bb8;
+       border: none;
+       padding: 0 .8em .3em;
+       position: relative;
+       z-index: 0;
+       margin: 0;
+       text-decoration: none;
+}
+#p-cactions li.selected a {
+       z-index: 3;
+       padding: 0 1em .2em!important;
+       background-color: white;
+}
+#p-cactions .new a {
+       color: #ba0000;
+}
+#p-cactions li a:hover {
+       z-index: 3;
+       text-decoration: none;
+       background-color: white;
+}
+#p-cactions h5 {
+       display: none;
+}
+#p-cactions li.istalk {
+       margin-right: 0;
+}
+#p-cactions li.istalk a {
+       padding-right: .5em;
+}
+#p-cactions #ca-addsection a {
+       padding-left: .4em;
+       padding-right: .4em;
+}
+/* offsets to distinguish the tab groups */
+li#ca-talk {
+       margin-right: 1.6em;
+}
+li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
+       margin-left: 1.6em;
+}
+#p-cactions .pBody {
+       font-size: 1em;
+       background-color: transparent;
+       color: inherit;
+       border-collapse: inherit;
+       border: 0;
+       padding: 0;
+}
 #p-cactions .hiddenStructure {
        display: none;
 }
@@ -991,13 +929,11 @@ input.searchButton {
 /*
 ** the remaining portlets
 */
-/* @media screen, projection { */
-       #p-tbx,
-       #p-lang {
-               position: relative;
-               z-index: 3;
-       }
-/* } */
+#p-tbx,
+#p-lang {
+       position: relative;
+       z-index: 3;
+}
 
 /* TODO: #t-iscite is only used by the Cite extension, come up with some
  * system which allows extensions to add to this file on the fly
@@ -1046,21 +982,19 @@ input.searchButton {
        background-color: #f0f0f0;
        color: #000;
 }
-/* @media screen, projection { */
-       #preftoc li {
-               margin: 1px -2px 1px 2px;
-               float: left;
-               padding: 2px 0 3px 0;
-               border: 1px solid #fff;
-               border-right-color: #716f64;
-               border-bottom: 0;
-               position: relative;
-               white-space: nowrap;
-               list-style-type: none;
-               list-style-image: none;
-               z-index: 3;
-       }
-/* } */
+#preftoc li {
+       margin: 1px -2px 1px 2px;
+       float: left;
+       padding: 2px 0 3px 0;
+       border: 1px solid #fff;
+       border-right-color: #716f64;
+       border-bottom: 0;
+       position: relative;
+       white-space: nowrap;
+       list-style-type: none;
+       list-style-image: none;
+       z-index: 3;
+}
 #preftoc li.selected {
        font-weight: bold;
        background-color: #f9f9f9;
@@ -1113,11 +1047,9 @@ input.searchButton {
 .prefsection table, .prefsection legend {
        background-color: #F9F9F9;
 }
-/* @media screen, projection { */
-       .mainLegend {
-               display: none;
-       }
-/* } */
+.mainLegend {
+       display: none;
+}
 div.prefsectiontip {
        font-size: x-small;
        padding: .2em 2em;
@@ -1185,29 +1117,27 @@ div#userloginForm .captcha {
        font-weight: bold;
 }
 
-/* @media screen, projection { */
-       /*
-       ** IE/Mac fixes, hope to find a validating way to move this
-       ** to a separate stylesheet. This would work but doesn't validate:
-       ** @import("IEMacFixes.css");
-       */
-       /* tabs: border on the a, not the div */
-       * > html #p-cactions li { border: none; }
-       * > html #p-cactions li a {
-               border: 1px solid #aaa;
-               border-bottom: none;
-       }
-       * > html #p-cactions li.selected a { border-color: #fabd23; }
-       /* footer icons need a fixed width */
-       * > html #f-poweredbyico,
-       * > html #f-copyrightico { width: 88px; }
-       * > html #bodyContent,
-       * > html #bodyContent pre {
-               overflow-x: auto;
-               width: 100%;
-               padding-bottom: 25px;
-       }
-/* } */
+/*
+** IE/Mac fixes, hope to find a validating way to move this
+** to a separate stylesheet. This would work but doesn't validate:
+** @import("IEMacFixes.css");
+*/
+/* tabs: border on the a, not the div */
+* > html #p-cactions li { border: none; }
+* > html #p-cactions li a {
+       border: 1px solid #aaa;
+       border-bottom: none;
+}
+* > html #p-cactions li.selected a { border-color: #fabd23; }
+/* footer icons need a fixed width */
+* > html #f-poweredbyico,
+* > html #f-copyrightico { width: 88px; }
+* > html #bodyContent,
+* > html #bodyContent pre {
+       overflow-x: auto;
+       width: 100%;
+       padding-bottom: 25px;
+}
 
 /* more IE fixes */
 /* float/negative margin brokenness */
@@ -1244,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 {
@@ -1255,9 +1186,6 @@ span.unpatrolled {
        color: red;
 }
 
-span.searchmatch {
-       color: red;
-}
 .sharedUploadNotice {
        font-style: italic;
 }
@@ -1343,12 +1271,6 @@ span.changedby {
        color: gray;
 }
 
-li span.deleted, span.history-deleted {
-       text-decoration: line-through;
-       color: #888;
-       font-style: italic;
-}
-
 .toggle {
        margin-left: 2em;
        text-indent: -2em;
@@ -1515,6 +1437,13 @@ div#searchTarget ul li:before {
        content: "\00BB \0020";
 }
 
+div#searchTargetHide {
+       float:right;
+       border:solid 1px black;
+       background:#DCDCDC;
+       padding:2px;
+}
+
 div.multipageimagenavbox {
    border: solid 1px silver;
    padding: 4px;
@@ -1539,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;
@@ -1589,16 +1518,9 @@ 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 {
-       width: 75%;
        padding: 3px;
        text-align: center;
        margin: 3px auto;
@@ -1609,29 +1531,21 @@ div.mw-lag-warn-normal {
 }
 div.mw-lag-warn-high {
        font-weight: bold;
-       border: 2px solid #CC3333;
-       background-color: #CC9999;
+       border: 2px solid #FF0033;
+       background-color: #FFCCCC;
 }
 
-/* Recreating-deleted-page warning and log entries */
+/* 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%;
 }
-
-/**
- * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
- * When the day comes, it can be moved to a *real* common.css.
- */
-.mw-plusminus-null { color: #aaa; }
-.texvc { direction: ltr; unicode-bidi: embed; }
-/* Stop floats from intruding into edit area in previews */
-#toolbar, #wpTextbox1 { clear: both; }
-
 .MediaTransformError {
        background-color: #ccc;
        padding: 0.1em;
@@ -1641,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%;
+}