]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - skins/monobook/main.css
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / skins / monobook / main.css
index 3c089ded74608670e02ff8477ab81141d2113555..d6a67c1e8888f208b253480abbfc886a846426cd 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%;
@@ -252,8 +260,12 @@ 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. */
+       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
@@ -502,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
@@ -536,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
@@ -563,31 +527,36 @@ 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.external,
+.rtl #bodyContent a[href ^="gopher://"] {
+       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"],
@@ -597,7 +566,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 +574,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 */
@@ -724,30 +709,6 @@ special external link styling */
        background-position: 35% 50% !important;
        text-decoration: none;
 }
-/*
-** the navigation portlet
-*/
-
-#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-navigation li.active a, #p-navigation li.active a:hover {
-       text-decoration: none;
-       font-weight: bold;
-}
-
 
 /*
 ** Search portlet
@@ -774,7 +735,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
 */
@@ -951,10 +915,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;
@@ -1105,6 +1065,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 {
@@ -1123,6 +1087,9 @@ div#userloginForm .captcha {
        background-color: white;
 }
 
+#loginend, #signupend {
+       clear: both;
+}
 
 #userloginprompt, #languagelinks {
        font-size: 85%;
@@ -1199,10 +1166,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 {
@@ -1210,9 +1178,6 @@ span.unpatrolled {
        color: red;
 }
 
-span.searchmatch {
-       color: red;
-}
 .sharedUploadNotice {
        font-style: italic;
 }
@@ -1298,12 +1263,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;
@@ -1381,10 +1340,6 @@ input#wpSave, input#wpDiff {
        margin-right: 0.33em;
 }
 
-#editform .editOptions {
-       display: inline;
-}
-
 #wpSave {
        font-weight: bold;
 }
@@ -1470,11 +1425,21 @@ div#searchTarget ul li:before {
        content: "\00BB \0020";
 }
 
+div#searchTargetHide {
+       float:right;
+       border:solid 1px black;
+       background:#DCDCDC;
+       padding:2px;
+}
+
+#powersearch p {
+       margin-top:0px;
+}
+
 div.multipageimagenavbox {
    border: solid 1px silver;
    padding: 4px;
    margin: 1em;
-   -moz-border-radius: 6px;
    background: #f0f0f0;
 }
 
@@ -1494,17 +1459,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;
@@ -1523,6 +1488,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 { 
@@ -1544,12 +1510,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 {
@@ -1567,15 +1527,6 @@ div.mw-lag-warn-high {
        background-color: #FFCCCC;
 }
 
-/* Recreating-deleted-page warning and log entries */
-div#mw-recreate-deleted-warn {
-       padding: 3px;
-       margin-bottom: 3px;
-       border: 2px solid #2F6FAB;
-}
-div#mw-recreate-deleted-warn ul li {
-       font-size: 90%;
-}
 .MediaTransformError {
        background-color: #ccc;
        padding: 0.1em;
@@ -1584,4 +1535,26 @@ div#mw-recreate-deleted-warn ul li {
        text-align: center;
        vertical-align: middle;
        font-size: 90%;
-}
\ No newline at end of file
+}
+
+/** 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;
+}
+
+/* God-damned hack for the crappy layout */
+.os-suggest {
+       font-size: 127%;
+}