Remove color:black from table {} in skins (bug 28422) + small fixes
[lhc/web/wiklou.git] / skins / monobook / main.css
index 0f75e43..c2db5a1 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;
 
 body {
        font: x-small sans-serif;
+       /* @embed */
        background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
        color: black;
        margin: 0;
        padding: 0;
+       direction: ltr; /* Needed for RTL flipping */
+       unicode-bidi: embed;
 }
 
 /* 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 +81,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 +112,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 +131,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 {
@@ -146,6 +139,7 @@ ul {
        list-style-type: square;
        margin: .3em 0 0 1.5em;
        padding: 0;
+       /* @embed */
        list-style-image: url(bullet.gif);
 }
 ol {
@@ -260,7 +254,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. */
@@ -279,45 +273,15 @@ span.subpages {
        vertical-align: middle;
 }
 #siteNotice {
+       position: relative;
        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;
@@ -410,6 +374,7 @@ table.small {
 }
 
 /* images */
+/* @noflip */
 div.floatright, table.floatright {
        clear: right;
        float: right;
@@ -422,6 +387,7 @@ div.floatright, table.floatright {
 */
 }
 div.floatright p { font-style: italic; }
+/* @noflip */
 div.floatleft, table.floatleft {
        float: left;
        clear: left;
@@ -438,8 +404,6 @@ div.floatleft p { font-style: italic; }
 /* thumbnails */
 div.thumb {
        margin-bottom: .5em;
-       border-style: solid;
-       border-color: white;
        width: auto;
 }
 div.thumbinner {
@@ -470,23 +434,21 @@ div.magnify a, div.magnify img {
        border: none !important;
        background: none !important;
 }
+/* @noflip */
 div.tright {
        clear: right;
        float: right;
-       border-width: .5em 0 .8em 1.4em;
+       margin: .5em 0 1.3em 1.4em;
 }
+/* @noflip */
 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;
 }
-.hiddenStructure {
-       display: none;
-}
 
 /*
 ** classes for special content elements like town boxes
@@ -525,32 +487,37 @@ table.rimage {
 ** this is css3, the validator doesn't like it when validating as css2
 */
 #bodyContent a.external,
-#bodyContent a[href ^="gopher://"] {
-       background: url(external.png) center right no-repeat;
+#bodyContent a.external[href ^="gopher://"] {
+       /* @embed */
+       background: url(external-ltr.png) center right no-repeat;
        padding-right: 13px;
 }
-#bodyContent a[href ^="https://"],
+#bodyContent a.external[href ^="https://"],
 .link-https {
+       /* @embed */
        background: url(lock_icon.gif) center right no-repeat;
        padding-right: 16px;
 }
-#bodyContent a[href ^="mailto:"],
+#bodyContent a.external[href ^="mailto:"],
 .link-mailto {
+       /* @embed */
        background: url(mail_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
-#bodyContent a[href ^="news://"] {
+#bodyContent a.external[href ^="news://"] {
+       /* @embed */
        background: url(news_icon.png) center right no-repeat;
        padding-right: 18px;
 }
-#bodyContent a[href ^="ftp://"],
+#bodyContent a.external[href ^="ftp://"],
 .link-ftp {
+       /* @embed */
        background: url(file_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
-#bodyContent a[href ^="irc://"],
-#bodyContent a.extiw[href ^="irc://"],
+#bodyContent a.external[href ^="irc://"],
 .link-irc {
+       /* @embed */
        background: url(discussionitem_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
@@ -561,6 +528,7 @@ table.rimage {
 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
 .link-audio {
+       /* @embed */
        background: url("audio.png") center right no-repeat;
        padding-right: 13px;
 }
@@ -569,6 +537,7 @@ table.rimage {
 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
 .link-video {
+       /* @embed */
        background: url("video.png") center right no-repeat;
        padding-right: 13px;
 }
@@ -576,26 +545,37 @@ table.rimage {
 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
 .link-document {
+       /* @embed */
        background: url("document.png") center right no-repeat;
        padding-right: 12px;
 }
-
-/* disable interwiki styling */
+/* Interwiki Styling */
 #bodyContent a.extiw,
 #bodyContent a.extiw:active {
        color: #36b;
+       /* Don't show icons for interwiki links */
        background: none;
        padding: 0;
 }
+#bodyContent a.extiw:visited {
+       color: #636;
+}
+#bodyContent a.extiw:active {
+       color: #b63;
+}
+
+/* External links */
 #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;
+#bodyContent a.external:visited {
+       color: #636; /* bug 3112 */
+}
+#bodyContent a.external:active {
+       color: #b63;
 }
+
 /*
 ** Structural Elements
 */
@@ -611,6 +591,15 @@ special external link styling */
        width: 11.6em;
        overflow: hidden;
 }
+html > body .portlet {
+       float: left;
+       clear: left;
+}
+/* recover IEMac (might be fine with the float, but usually it's close to IE */
+*>body .portlet {
+       float: none;
+       clear: none;
+}
 .portlet h4 {
        font-size: 95%;
        font-weight: normal;
@@ -656,6 +645,7 @@ special external link styling */
 .portlet ul {
        line-height: 1.5em;
        list-style-type: square;
+       /* @embed */
        list-style-image: url(bullet.gif);
        font-size: 95%;
 }
@@ -715,7 +705,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
 */
@@ -789,6 +782,7 @@ in bg url to hide it from iemac */
 li#pt-userpage,
 li#pt-anonuserpage,
 li#pt-login {
+       /* @embed */
        background: url(user.gif) top left no-repeat;
        padding-left: 20px;
        text-transform: none;
@@ -846,7 +840,6 @@ li#pt-login {
 }
 #p-cactions li.selected a {
        z-index: 3;
-       padding: 0 1em .2em!important;
        background-color: white;
 }
 #p-cactions .new a {
@@ -885,22 +878,23 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        border: 0;
        padding: 0;
 }
-#p-cactions .hiddenStructure {
-       display: none;
-}
 #p-cactions li a {
        text-transform: lowercase;
 }
 
-/*
-** the remaining portlets
-*/
-#p-tbx,
 #p-lang {
        position: relative;
        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
  */
@@ -910,7 +904,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;
@@ -919,7 +913,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;
 }
@@ -937,6 +931,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;
@@ -986,10 +987,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;
@@ -1002,13 +999,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;
@@ -1016,16 +1009,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;
@@ -1046,10 +1034,6 @@ 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 {
@@ -1114,8 +1098,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;
 }
@@ -1123,15 +1107,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 {
@@ -1143,20 +1127,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 {
@@ -1168,68 +1140,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;
@@ -1249,73 +1159,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;
@@ -1325,56 +1168,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;
@@ -1413,72 +1206,30 @@ div#searchTargetHide {
        padding:2px;
 }
 
+#powersearch p {
+       margin-top:0px;
+}
+
 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;
-}
-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_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;
+       text-align: center;
 }
-.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; }
 
@@ -1513,29 +1264,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%;
-}
-
-.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%;
 }
 
-span.searchmatch {
-       font-weight: bold;
-       color: red;
+/* 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