(bug 9886) Give a sample stub link in stub threshold label in preferences
[lhc/web/wiklou.git] / skins / monobook / main.css
index 3bf74e2..1c3ef37 100644 (file)
@@ -92,7 +92,8 @@ a:active {
 a:hover {
        text-decoration: underline;
 }
-a.stub {
+a.stub,
+span.mw-stub-example {
        color: #772233;
 }
 a.new, #p-personal a.new {
@@ -497,6 +498,14 @@ 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
 ** intended to be referenced directly from the wiki src
@@ -573,29 +582,6 @@ div.townBox dl dd {
        border: 1px dashed #aaa;
 }
 
-/*
-** Diff rendering
-*/
-table.diff, td.diff-otitle, td.diff-ntitle {
-       background-color: white;
-}
-td.diff-addedline {
-       background: #cfc;
-       font-size: smaller;
-}
-td.diff-deletedline {
-       background: #ffa;
-       font-size: smaller;
-}
-td.diff-context {
-       background: #eee;
-       font-size: smaller;
-}
-span.diffchange {
-       color: red;
-       font-weight: bold;
-}
-
 /*
 ** keep the whitespace in front of the ^=, hides rule from konqueror
 ** this is css3, the validator doesn't like it when validating as css2
@@ -1034,8 +1020,6 @@ input.searchButton {
        display: inline;
        margin: 0 1.3em;
 }
-/* hide from incapable browsers */
-head:first-child+body #footer li { white-space: nowrap; }
 #f-poweredbyico, #f-copyrightico {
        margin: 0 8px;
        position: relative;
@@ -1134,11 +1118,9 @@ head:first-child+body #footer li { white-space: nowrap; }
        }
 /* } */
 div.prefsectiontip {
-       font-size: 95%;
-       margin-top: 0;
-       background-color: #FFC1C1;
-       padding: .2em .7em;
-       clear: both;
+       font-size: x-small;
+       padding: .2em 2em;
+       color: #666;
 }
 .btnSavePrefs {
        font-weight: bold;
@@ -1176,10 +1158,10 @@ div#userlogin form#userlogin2 h2 {
        padding-top: 0;
 }
 
-div#userlogin .captcha {
+div#userlogin .captcha,
+div#userloginForm .captcha {
        border: 1px solid #bbb;
        padding: 1.5em 2em;
-       width: 400px;
        background-color: white;
 }
 
@@ -1300,15 +1282,17 @@ table.gallery td {
        background-color: #f9f9f9;
        border: solid 2px white;
 }
-
+/* Keep this temporarily so that cached pages will display right */
 table.gallery td.galleryheader {
-       text-align: center;
+    text-align: center;
+       font-weight: bold;
+}
+table.gallery caption {
        font-weight: bold;
 }
 
 div.gallerybox {
        margin: 2px;
-       width:  150px;
 }
 
 div.gallerybox div.thumb {
@@ -1318,6 +1302,7 @@ div.gallerybox div.thumb {
 }
 
 div.gallerytext {
+       overflow: hidden;
        font-size: 94%;
        padding: 2px 4px;
 }
@@ -1585,7 +1570,7 @@ tr.sv-space td { display: none; }
 .TablePager_nav a { text-decoration: none; }
 .TablePager { border-collapse: collapse; }
 .TablePager, .TablePager td, .TablePager th { 
-       border: 0.15em solid #777777;
+       border: 1px solid #aaaaaa;
        padding: 0 0.15em 0 0.15em;
 }
 .TablePager th { background-color: #eeeeff }
@@ -1609,6 +1594,24 @@ p.mw-ipb-conveniencelinks {
        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;
+}
+div.mw-lag-warn-normal {
+       border: 1px solid #FFCC66;
+       background-color: #FFFFCC;
+}
+div.mw-lag-warn-high {
+       font-weight: bold;
+       border: 2px solid #CC3333;
+       background-color: #CC9999;
+}
+
 /**
  * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
  * When the day comes, it can be moved to a *real* common.css.
@@ -1616,4 +1619,14 @@ p.mw-ipb-conveniencelinks {
 .mw-plusminus-null { color: #aaa; }
 .texvc { direction: ltr; unicode-bidi: embed; }
 /* Stop floats from intruding into edit area in previews */
-#toolbar, #wpTextbox1 { clear: both; }
\ No newline at end of file
+#toolbar, #wpTextbox1 { clear: both; }
+
+.MediaTransformError {
+       background-color: #ccc;
+       padding: 0.1em;
+}
+.MediaTransformError td {
+       text-align: center;
+       vertical-align: middle;
+       font-size: 90%;
+}