]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - skins/monobook/main.css
MediaWiki 1.17.0
[autoinstallsdev/mediawiki.git] / skins / monobook / main.css
index d6a67c1e8888f208b253480abbfc886a846426cd..d2330eba96feb04b55866d95463dff1d3e1a78c4 100644 (file)
@@ -9,22 +9,22 @@
 ** All you guys rock :)
 */
 
-#column-content {
+div#column-content {
        width: 100%;
        float: right;
        margin: 0 0 .6em -12.2em;
        padding: 0;
 }
-#content {
+div#content {
        margin: 2.8em 0 0 12.2em;
        padding: 0 1em 1em 1em;
        position: relative;
        z-index: 2;
 }
-#column-one {
+div#column-one {
        padding-top: 160px;
 }
-#content {
+div#content {
        background: white;
        color: black;
        border: 1px solid #aaa;
@@ -48,28 +48,17 @@ body {
 }
 
 /* scale back up to a sane default */
-#globalWrapper {
+div#globalWrapper {
        font-size: 127%;
        width: 100%;
        margin: 0;
        padding: 0;
 }
-.visualClear {
-       clear: both;
-}
 
 /* general styles */
 
 table {
        font-size: 100%;
-       color: black;
-       /* we don't want the bottom borders of <h2>s to be visible through
-          floated tables */
-       background-color: white;
-}
-fieldset table {
-       /* but keep table layouts in forms clean... */
-       background: none;
 }
 a {
        text-decoration: none;
@@ -89,7 +78,7 @@ a.stub {
        color: #772233;
 }
 a.new, #p-personal a.new {
-       color: #ba0000;
+       color: #cc2200;
 }
 a.new:visited, #p-personal a.new:visited {
        color: #a55858;
@@ -120,6 +109,7 @@ h1, h2, h3, h4, h5, h6 {
        background: none;
        font-weight: normal;
        margin: 0;
+       overflow: hidden;
        padding-top: .5em;
        padding-bottom: .17em;
        border-bottom: 1px solid #aaa;
@@ -138,7 +128,7 @@ h4 { font-size: 116%; }
 h4 .editsection { font-size: 86%; font-weight: normal; }
 h5 { font-size: 100%; }
 h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%;  }
+h6 { font-size: 80%; }
 h6 .editsection { font-size: 125%; font-weight: normal; }
 
 ul {
@@ -205,12 +195,6 @@ input.historysubmit {
 select {
        vertical-align: top;
 }
-abbr, acronym, .explain {
-       border-bottom: 1px dotted black;
-       color: black;
-       background: none;
-       cursor: help;
-}
 q {
        font-family: Times, "Times New Roman", serif;
        font-style: italic;
@@ -281,43 +265,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;
@@ -438,8 +391,6 @@ div.floatleft p { font-style: italic; }
 /* thumbnails */
 div.thumb {
        margin-bottom: .5em;
-       border-style: solid;
-       border-color: white;
        width: auto;
 }
 div.thumbinner {
@@ -473,13 +424,12 @@ div.magnify a, div.magnify img {
 div.tright {
        clear: right;
        float: right;
-       border-width: .5em 0 .8em 1.4em;
+       margin: .5em 0 1.3em 1.4em;
 }
 div.tleft {
        float: left;
        clear: left;
-       margin-right: .5em;
-       border-width: .5em 1.4em .8em 0;
+       margin: .5em 1.4em 1.3em 0;
 }
 img.thumbborder {
        border: 1px solid #dddddd;
@@ -525,35 +475,34 @@ 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: 0 13px;
 }
 .rtl #bodyContent a.external,
-.rtl #bodyContent a[href ^="gopher://"] {
+.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: 0 16px;
 }
-#bodyContent a[href ^="mailto:"],
+#bodyContent a.external[href ^="mailto:"],
 .link-mailto {
        background: url(mail_icon.gif) center right no-repeat;
        padding: 0 18px;
 }
-#bodyContent a[href ^="news://"] {
+#bodyContent a.external[href ^="news://"] {
        background: url(news_icon.png) center right no-repeat;
        padding: 0 18px;
 }
-#bodyContent a[href ^="ftp://"],
+#bodyContent a.external[href ^="ftp://"],
 .link-ftp {
        background: url(file_icon.gif) center right no-repeat;
        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: 0 18px;
@@ -604,18 +553,10 @@ table.rimage {
 #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
 */
@@ -869,7 +810,6 @@ li#pt-login {
 }
 #p-cactions li.selected a {
        z-index: 3;
-       padding: 0 1em .2em!important;
        background-color: white;
 }
 #p-cactions .new a {
@@ -920,6 +860,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
  */
@@ -929,7 +877,7 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
 /*
 ** footer
 */
-#footer {
+div#footer {
        background-color: white;
        border-top: 1px solid #fabd23;
        border-bottom: 1px solid #fabd23;
@@ -938,7 +886,7 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        text-align: center;
        font-size: 90%;
 }
-#footer li {
+div#footer li {
        display: inline;
        margin: 0 1.3em;
 }
@@ -956,6 +904,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;
@@ -1005,10 +960,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;
@@ -1021,13 +972,9 @@ 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;   
+       font-weight: bold;
 }
 .prefsection table, .prefsection legend {
        background-color: #F9F9F9;
@@ -1035,16 +982,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;
@@ -1133,8 +1075,8 @@ div#userloginForm .captcha {
 
 /* more IE fixes */
 /* float/negative margin brokenness */
-* html #footer {margin-top: 0;}
-* html #column-content {
+* html div#footer {margin-top: 0;}
+* html div#column-content {
        display: inline;
        margin-bottom: 0;
 }
@@ -1142,15 +1084,15 @@ div#userloginForm .captcha {
 #pagehistory li.selected { position: relative; }
 
 /* Mac IE 5.0 fix; floated content turns invisible */
-* > html #column-content {
+* > html div#column-content {
        float: none;
 }
-* > html #column-one {
+* > html div#column-one {
        position: absolute;
        left: 0;
        top: 0;
 }
-* > html #footer {
+* > html div#footer {
        margin-left: 13.2em;
 }
 .redirectText {
@@ -1162,20 +1104,8 @@ 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 {
@@ -1187,68 +1117,6 @@ 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;
-}
-
 .editExternally {
        border: 1px solid gray;
        background-color: #ffffff;
@@ -1268,73 +1136,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%;
-}
-
 /* @bug 1714 */
 input#wpSave, input#wpDiff {
        margin-right: 0.33em;
@@ -1344,56 +1145,6 @@ input#wpSave, input#wpDiff {
        font-weight: bold;
 }
 
-/* Classes for article validation */
-
-table.revisionform_default {
-       border: 1px solid #000000;
-}
-
-table.revisionform_focus {
-       border: 1px solid #000000;
-       background-color:#00BBFF;
-}
-
-tr.revision_tr_default {
-       background-color:#EEEEEE;
-}
-
-tr.revision_tr_first {
-       background-color:#DDDDDD;
-}
-
-p.revision_saved {
-       color: green;
-       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;
@@ -1437,72 +1188,25 @@ div#searchTargetHide {
 }
 
 div.multipageimagenavbox {
-   border: solid 1px silver;
-   padding: 4px;
-   margin: 1em;
-   background: #f0f0f0;
+       border: solid 1px silver;
+       padding: 4px;
+       margin: 1em;
+       background: #f0f0f0;
 }
 
 div.multipageimagenavbox div.thumb {
-   border: none;
-   margin-left: 2em;
-   margin-right: 2em;
+       border: none;
+       margin-left: 2em;
+       margin-right: 2em;
 }
 
 div.multipageimagenavbox hr {
-   margin: 6px;
+       margin: 6px;
 }
 
 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;
+       text-align: center;
 }
-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; }
 
@@ -1537,24 +1241,17 @@ 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%;
+/* God-damned hack for the crappy layout */
+.os-suggest {
+       font-size: 127%;
 }
 
-.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;
+/* Sometimes people don't want personal tools to be lowercase! */
+.no-text-transform {
+       text-transform: none;
 }
 
-/* God-damned hack for the crappy layout */
-.os-suggest {
+/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
+.tipsy {
        font-size: 127%;
-}
+}
\ No newline at end of file