]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - skins/monobook/main.css
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.git] / skins / monobook / main.css
index 7e5809b55a64bdd07206ce007150bce602d2b4ba..727355bb7744da12dda85a44e05b0f48dac39b6d 100644 (file)
@@ -54,9 +54,6 @@ body {
        margin: 0;
        padding: 0;
 }
-.visualClear {
-       clear: both;
-}
 
 /* general styles */
 
@@ -281,43 +278,12 @@ span.subpages {
 #siteNotice {
        text-align: center;
        font-size: 95%;
-       padding: 0 .9em;
+       padding: 0 0.9em;
 }
 #siteNotice p {
        margin: 0;
        padding: 0;
 }
-.success {
-       color: green;
-       font-size: larger;
-}
-.error {
-       color: red;
-       font-size: larger;
-}
-.errorbox, .successbox {
-       font-size: larger;
-       border: 2px solid;
-       padding: .5em 1em;
-       float: left;
-       margin-bottom: 2em;
-       color: #000;
-}
-.errorbox {
-       border-color: red;
-       background-color: #fff2f2;
-}
-.successbox {
-       border-color: green;
-       background-color: #dfd;
-}
-.errorbox h2, .successbox h2 {
-       font-size: 1em;
-       font-weight: bold;
-       display: inline;
-       margin: 0 .5em 0 0;
-       border: none;
-}
 
 .catlinks {
        border: 1px solid #aaa;
@@ -525,34 +491,37 @@ table.rimage {
 ** this is css3, the validator doesn't like it when validating as css2
 */
 #bodyContent a.external,
-#bodyContent a[href ^="gopher://"] {
+#bodyContent a.external[href ^="gopher://"] {
        background: url(external.png) center right no-repeat;
-       padding-right: 13px;
+       padding: 0 13px;
+}
+.rtl #bodyContent a.external,
+.rtl #bodyContent a.external[href ^="gopher://"] {
+       background-image: url(external-rtl.png);
 }
-#bodyContent a[href ^="https://"],
+#bodyContent a.external[href ^="https://"],
 .link-https {
        background: url(lock_icon.gif) center right no-repeat;
-       padding-right: 16px;
+       padding: 0 16px;
 }
-#bodyContent a[href ^="mailto:"],
+#bodyContent a.external[href ^="mailto:"],
 .link-mailto {
        background: url(mail_icon.gif) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
-#bodyContent a[href ^="news://"] {
+#bodyContent a.external[href ^="news://"] {
        background: url(news_icon.png) center right no-repeat;
-       padding-right: 18px;
+       padding: 0 18px;
 }
-#bodyContent a[href ^="ftp://"],
+#bodyContent a.external[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://"],
+#bodyContent a.external[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"],
@@ -562,7 +531,7 @@ table.rimage {
 #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"],
@@ -570,32 +539,40 @@ table.rimage {
 #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 */
 #bodyContent a.extiw,
 #bodyContent a.extiw:active {
        color: #36b;
-       background: none;
-       padding: 0;
 }
 #bodyContent a.external {
        color: #36b;
 }
-/* this can be used in the content area to switch off
-special external link styling */
-#bodyContent .plainlinks a {
-       background: none !important;
-       padding: 0 !important;
-}
 /*
 ** Structural Elements
 */
@@ -715,7 +692,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
 */
@@ -897,6 +877,14 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        z-index: 3;
 }
 
+/* Override text-transform on languages where capitalization is significant */
+.capitalize-all-nouns .portlet h5,
+.capitalize-all-nouns .portlet h6,
+.capitalize-all-nouns #p-personal ul,
+.capitalize-all-nouns #p-cactions ul li a {
+       text-transform: none;
+}
+
 /* 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
  */
@@ -933,6 +921,13 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        height: 1%;
 }
 
+.mw-htmlform-submit {
+       font-weight: bold;
+       padding-left: .3em;
+       padding-right: .3em;
+       margin-right: 2em;
+}
+
 /* js pref toc */
 #preftoc {
        margin: 0;
@@ -982,10 +977,6 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        cursor: default;
        text-decoration: none;
 }
-#prefcontrol {
-       padding-top: 2em;
-       clear: both;
-}
 #preferences {
        margin: 0;
        border: 1px solid #aaa;
@@ -998,11 +989,7 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        padding: 0;
        margin: 0;
 }
-.prefsection fieldset {
-       border: 1px solid #aaa;
-       float: left;
-       margin-right: 2em;
-}
+
 .prefsection legend {
        font-weight: bold;   
 }
@@ -1012,16 +999,11 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
 .mainLegend {
        display: none;
 }
-div.prefsectiontip {
+td.htmlform-tip {
        font-size: x-small;
        padding: .2em 2em;
        color: #666;
 }
-.btnSavePrefs {
-       font-weight: bold;
-       padding-left: .3em;
-       padding-right: .3em;
-}
 
 .preferences-login {
        clear: both;
@@ -1139,20 +1121,9 @@ div#userloginForm .captcha {
        display: none;
 }
 
-.not-patrolled {
-       background-color: #ffa;
-}
+
 div.patrollink {
        clear: both;
-       font-size: 75%;
-       text-align: right;
-}
-span.newpage, span.minor, span.bot {
-       font-weight: bold;
-}
-span.unpatrolled {
-       font-weight: bold;
-       color: red;
 }
 
 .sharedUploadNotice {
@@ -1164,66 +1135,14 @@ span.updatedmarker {
        background-color: #0f0;
 }
 
-table.gallery {
-       border: 1px solid #ccc;
-       margin: 2px;
-       padding: 2px;
-       background-color: white;
-}
-
-table.gallery tr {
-       vertical-align: top;
-}
-
-table.gallery td {
-       vertical-align: top;
-       background-color: #f9f9f9;
-       border: solid 2px white;
-}
-/* Keep this temporarily so that cached pages will display right */
-table.gallery td.galleryheader {
-    text-align: center;
-       font-weight: bold;
-}
-table.gallery caption {
-       font-weight: bold;
-}
-
-div.gallerybox {
-       margin: 2px;
-}
-
-div.gallerybox div.thumb {
-       text-align: center;
-       border: 1px solid #ccc;
-       margin: 2px;
-}
-
-div.gallerytext {
-       overflow: hidden;
-       font-size: 94%;
-       padding: 2px 4px;
-}
-
-span.comment {
-       font-style: italic;
-}
-
-span.changedby {
-       font-size: 95%;
-}
-
 .previewnote {
-       text-indent: 3em;
        color: #c00;
-       border-bottom: 1px solid #aaa;
-       padding-bottom: 1em;
        margin-bottom: 1em;
 }
 
 .previewnote p {
-       margin: 0;
-       padding: 0;
+       text-indent: 3em;
+       margin: 0.8em 0;
 }
 
 .editExternally {
@@ -1245,69 +1164,6 @@ span.changedby {
        text-indent: -2em;
 }
 
-/* Classes for EXIF data display */
-table.mw_metadata {
-       font-size: 0.8em;
-       margin-left: 0.5em;
-       margin-bottom: 0.5em;
-       width: 300px;
-}
-
-table.mw_metadata caption {
-       font-weight: bold;
-}
-
-table.mw_metadata th {
-       font-weight: normal;
-}
-
-table.mw_metadata td {
-       padding: 0.1em;
-}
-
-table.mw_metadata {
-       border: none;
-       border-collapse: collapse;
-}
-
-table.mw_metadata td, table.mw_metadata th {
-       text-align: center;
-       border: 1px solid #aaaaaa;
-       padding-left: 0.1em;
-       padding-right: 0.1em;
-}
-
-table.mw_metadata th {
-       background-color: #f9f9f9;
-}
-
-table.mw_metadata td {
-       background-color: #fcfcfc;
-}
-
-table.collapsed tr.collapsable {
-       display: none;
-}
-
-
-/* filetoc */
-ul#filetoc {
-       text-align: center;
-       border: 1px solid #aaaaaa;
-       background-color: #f9f9f9;
-       padding: 5px;
-       font-size: 95%;
-       margin-bottom: 0.5em;
-       margin-left: 0;
-       margin-right: 0;
-}
-
-#filetoc li {
-       display: inline;
-       list-style-type: none;
-       padding-right: 2em;
-}
-
 input#wpSummary {
        width: 80%;
 }
@@ -1345,32 +1201,6 @@ p.revision_saved {
        font-weight:bold;
 }
 
-#mw_trackbacks {
-       border: solid 1px #bbbbff;
-       background-color: #eeeeff;
-       padding: 0.2em;
-}
-
-
-/* Allmessages table */
-
-#allmessagestable th {
-       background-color: #b2b2ff;
-}
-
-#allmessagestable tr.orig {
-       background-color: #ffe2e2;
-}
-
-#allmessagestable tr.new {
-       background-color: #e2ffe2;
-}
-
-#allmessagestable tr.def {
-       background-color: #f0f0ff;
-}
-
-
 /* noarticletext */
 div.noarticletext {
        border: 1px solid #ccc;
@@ -1434,53 +1264,6 @@ table.multipageimage td {
    text-align: center;
 }
 
-/** Special:Version */
-
-table#sv-ext, table#sv-hooks, table#sv-software {
-       margin: 1em;
-       padding:0em;
-}
-
-#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-software th {
-       background-color: #F0F0F0;
-       color: black;
-       padding: 0 0.15em 0 0.15em;
-}
-tr.sv-space{
-       height: 0.8em;
-       border:none;
-}
-tr.sv-space td { display: none; }
-
-/*
-  Table pager (e.g. Special:Imagelist)
-  - remove underlines from the navigation link
-  - collapse borders
-  - set the borders to outsets (similar to Special:Allmessages)
-  - 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 { 
-       border: 1px solid #aaaaaa;
-       padding: 0 0.15em 0 0.15em;
-}
-.TablePager th { background-color: #eeeeff }
-.TablePager td { background-color: #ffffff }
-.TablePager tr:hover td { background-color: #eeeeff }
-
-.imagelist td, .imagelist th { white-space: nowrap }
-.imagelist .TablePager_col_links { background-color: #eeeeff }
-.imagelist .TablePager_col_img_description { white-space: normal }
-.imagelist th.TablePager_sort { background-color: #ccccff }
-
 .templatesUsed { margin-top: 1.5em; }
 
 .mw-summary-preview {
@@ -1514,24 +1297,12 @@ div.mw-lag-warn-high {
        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;
-}
-
 /* God-damned hack for the crappy layout */
 .os-suggest {
        font-size: 127%;
 }
+
+/* Sometimes people don't want personal tools to be lowercase! */
+.no-text-transform {
+       text-transform: none;
+}