Revert r58246. Committed a lot of half done stuff by accident. wtf??
[lhc/web/wiklou.git] / skins / common / shared.css
1 /**
2 * CSS in this file is used by *all* skins (that have any CSS at all). Be
3 * careful what you put in here, since what looks good in one skin may not in
4 * another, but don't ignore the poor non-Monobook users either.
5 */
6
7 /* Colored watchlist and recent changes numbers */
8 .mw-plusminus-pos { color: #006400; } /* dark green */
9 .mw-plusminus-neg { color: #8b0000; } /* dark red */
10 .mw-plusminus-null { color: #aaa; } /* gray */
11
12 /* Comment and username portions of RC entries */
13 span.comment {
14 font-style: italic;
15 }
16
17 span.changedby {
18 font-size: 95%;
19 }
20
21 /* Math */
22 .texvc { direction: ltr; unicode-bidi: embed; }
23 img.tex { vertical-align: middle; }
24 span.texhtml { font-family: serif; }
25
26 /* add a bit of margin space between the preview and the toolbar */
27 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
28 #wikiPreview.ontop { margin-bottom: 1em; }
29
30 /* Stop floats from intruding into edit area in previews */
31 #editform, #toolbar, #wpTextbox1 { clear: both; }
32
33 div#mw-js-message {
34 margin: 1em 5%;
35 padding: 0.5em 2.5%;
36 border: solid 1px #ddd;
37 background-color: #fcfcfc;
38 }
39
40 /* Edit section links */
41 .editsection {
42 float: right;
43 margin-left: 5px;
44 }
45
46 /**
47 * File histories
48 */
49 table.filehistory th,
50 table.filehistory td {
51 vertical-align:top;
52 }
53 table.filehistory th {
54 text-align: left;
55 }
56 table.filehistory td.mw-imagepage-filesize,
57 table.filehistory th.mw-imagepage-filesize {
58 white-space:nowrap;
59 }
60
61 table.filehistory td.filehistory-selected {
62 font-weight: bold;
63 }
64
65 /*
66 * rev_deleted stuff
67 */
68 li span.deleted, span.history-deleted {
69 text-decoration: line-through;
70 color: #888;
71 font-style: italic;
72 }
73
74 /**
75 * Patrol stuff
76 */
77 .not-patrolled {
78 background-color: #ffa;
79 }
80
81 .unpatrolled {
82 font-weight: bold;
83 color: red;
84 }
85
86 div.patrollink {
87 font-size: 75%;
88 text-align: right;
89 }
90
91 /**
92 * Forms
93 */
94 body.ltr td.mw-label { text-align: right; }
95 body.ltr td.mw-input { text-align: left; }
96 body.ltr td.mw-submit { text-align: left; }
97 body.rtl td.mw-label { text-align: left; }
98 body.rtl td.mw-input { text-align: right; }
99 body.rtl td.mw-submit { text-align: right; }
100
101 td.mw-label { vertical-align: top; }
102 .prefsection td.mw-label { width: 20%; }
103 .prefsection table { width: 100%; }
104 td.mw-submit { white-space: nowrap; }
105
106 table.mw-htmlform-nolabel td.mw-label { width: 0 !important; }
107
108 /**
109 * Image captions
110 */
111 body.rtl .thumbcaption { text-align:right; }
112 body.rtl .magnify { float:left; }
113
114 body.ltr .thumbcaption { text-align:left; }
115 body.ltr .magnify { float:right; }
116
117 /**
118 * Hidden categories
119 */
120 .mw-hidden-cats-hidden { display: none; }
121 .catlinks-allhidden { display: none; }
122
123 /* Convenience links to edit block, delete and protect reasons */
124 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
125 p.mw-filedelete-editreasons, p.mw-delete-editreasons,
126 p.mw-revdel-editreasons {
127 font-size: 90%;
128 float: right;
129 }
130
131 /* Search results */
132 .searchresults {
133 }
134
135 .searchresults p {
136 margin-left: 0.4em;
137 margin-top: 1em;
138 margin-bottom: 1.2em;
139 }
140
141 div.searchresult {
142 font-size: 95%;
143 width:38em;
144 }
145
146 .mw-search-results {
147 margin-left: 0.4em;
148 }
149
150 .mw-search-results li {
151 padding-bottom: 1em;
152 list-style:none;
153 list-style-image:none;
154 }
155 .mw-search-results li a {
156 font-size: 108%;
157 }
158
159 .mw-search-result-data {
160 color: green;
161 font-size: 97%;
162 }
163
164 .mw-search-formheader {
165 background-color: #f3f3f3;
166 margin-top: 1em;
167 border: 1px solid silver;
168 }
169 .mw-search-formheader div.search-types {
170 float:left;
171 padding-left: 0.25em;
172 }
173 .rtl .mw-search-formheader div.search-types {
174 float: right;
175 }
176 .mw-search-formheader div.search-types ul {
177 margin: 0 !important;
178 padding: 0 !important;
179 list-style: none !important;
180 }
181 .mw-search-formheader div.search-types ul li {
182 float: left;
183 margin: 0;
184 padding: 0;
185 }
186 .mw-search-formheader div.search-types ul li a {
187 display: block;
188 padding: 0.5em;
189 }
190 .mw-search-formheader div.search-types ul li.current a {
191 color: #333333;
192 cursor: default;
193 }
194 .mw-search-formheader div.search-types ul li.current a:hover {
195 text-decoration: none;
196 }
197 .mw-search-formheader div.results-info {
198 float: right;
199 padding: 0.5em;
200 padding-right: 0.75em;
201 }
202 .mw-search-formheader div.results-info ul {
203 margin: 0 !important;
204 padding: 0 !important;
205 list-style: none !important;
206 }
207 .mw-search-formheader div.results-info ul li {
208 float: right;
209 margin: 0;
210 padding: 0;
211 }
212 fieldset#mw-searchoptions {
213 margin: 0;
214 padding-left: 0.75em !important;
215 padding-right: 0.75em !important;
216 padding-bottom: 0.5em !important;
217 padding-top: 0.5em !important;
218 border: none;
219 background-color: #f9f9f9;
220 border: 1px solid silver !important;
221 border-top-width: 0 !important;
222 }
223 fieldset#mw-searchoptions legend {
224 display: none;
225 }
226 fieldset#mw-searchoptions h4 {
227 padding: 0;
228 margin: 0;
229 float: left;
230 }
231 .rtl fieldset#mw-searchoptions h4 {
232 float: right;
233 }
234 fieldset#mw-searchoptions div#mw-search-togglebox {
235 float: right;
236 }
237 .rtl fieldset#mw-searchoptions div#mw-search-togglebox {
238 float: left;
239 }
240
241 fieldset#mw-searchoptions div#mw-search-togglebox label {
242 margin-right: 0.25em;
243 }
244 fieldset#mw-searchoptions div#mw-search-togglebox input {
245 margin-left: 0.25em;
246 }
247 fieldset#mw-searchoptions table {
248 float: left;
249 margin-right: 3em;
250 }
251 fieldset#mw-searchoptions table td {
252 padding-right: 1em;
253 }
254 .rtl fieldset#mw-searchoptions table td {
255 padding-left: 1em;
256 padding-right: 0;
257 }
258 body.rtl fieldset#mw-searchoptions table {
259 margin-right: 0;
260 margin-left: 3em;
261 float: right;
262 }
263 fieldset#mw-searchoptions div.divider {
264 clear: both;
265 border-bottom: 1px solid #DDDDDD;
266 padding-top: 0.5em;
267 margin-bottom: 0.5em;
268 }
269
270 td#mw-search-menu {
271 padding-left:6em;
272 font-size:85%;
273 }
274
275 div#mw-search-interwiki {
276 float: right;
277 width: 18em;
278 border-style: solid;
279 border-color: #AAAAAA;
280 border-width: 1px;
281 margin-top: 2ex;
282 }
283
284 .rtl div#mw-search-interwiki {
285 float: left;
286 }
287
288 div#mw-search-interwiki li {
289 font-size: 95%;
290 }
291
292 .mw-search-interwiki-more {
293 float: right;
294 font-size: 90%;
295 }
296
297 .rtl .mw-search-interwiki-more {
298 float: left;
299 }
300
301 div#mw-search-interwiki-caption {
302 text-align: center;
303 font-weight: bold;
304 font-size: 95%;
305 }
306
307 .mw-search-interwiki-project {
308 font-size: 97%;
309 text-align: left;
310 padding-left: 0.2em;
311 padding-right: 0.15em;
312 padding-bottom: 0.2em;
313 padding-top: 0.15em;
314 background-color:#ececec;
315 border-top:1px solid #BBBBBB;
316 }
317
318 .rtl .mw-search-interwiki-project {
319 text-align: right;
320 }
321
322 span.searchalttitle {
323 font-size: 95%;
324 }
325
326 div.searchdidyoumean {
327 font-size: 127%;
328 margin-top: 0.8em;
329 /* Note that this color won't affect the link, as desired. */
330 color: #c00;
331 }
332
333 div.searchdidyoumean em {
334 font-weight: bold;
335 }
336
337 .searchmatch {
338 font-weight: bold;
339 }
340
341 table#mw-search-top-table {
342 background-color: transparent;
343 }
344
345
346 /*
347 * Advanced PowerSearch box
348 */
349
350 td#mw-search-togglebox {
351 text-align: right;
352 }
353
354 table#mw-search-powertable {
355 width:100%;
356 }
357
358 form#powersearch {
359 clear: both;
360 }
361
362
363 /*
364 * UserRights stuff
365 */
366 .mw-userrights-disabled {
367 color: #888;
368 }
369
370 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
371 padding-right: 1.5em;
372 }
373
374 /*
375 * OpenSearch ajax suggestions
376 */
377 .os-suggest {
378 overflow: auto;
379 overflow-x: hidden;
380 position: absolute;
381 top: 0px;
382 left: 0px;
383 width: 0px;
384 background-color: white;
385 background-color: Window;
386 border-style: solid;
387 border-color: #AAAAAA;
388 border-width: 1px;
389 z-index:99;
390 font-size:95%;
391 }
392
393 table.os-suggest-results {
394 font-size: 95%;
395 cursor: pointer;
396 border: 0;
397 border-collapse: collapse;
398 width: 100%;
399 }
400
401 .os-suggest-result, .os-suggest-result-hl {
402 white-space: nowrap;
403 background-color: white;
404 background-color: Window;
405 color: black;
406 color: WindowText;
407 padding: 2px;
408 }
409 .os-suggest-result-hl,
410 .os-suggest-result-hl-webkit {
411 background-color: #4C59A6;
412 color: white;
413 }
414 .os-suggest-result-hl {
415 /* System colors are misimplemented in Safari 3.0 and earlier,
416 making highlighted text illegible... */
417 background-color: Highlight;
418 color: HighlightText;
419 }
420
421 .os-suggest-toggle {
422 position: relative;
423 left: 1ex;
424 font-size: 65%;
425 }
426 .os-suggest-toggle-def {
427 position: absolute;
428 top: 0px;
429 left: 0px;
430 font-size: 65%;
431 visibility: hidden;
432 }
433
434 /* Page history styling */
435 /* the auto-generated edit comments */
436 .autocomment { color: gray; }
437 #pagehistory .history-user {
438 margin-left: 0.4em;
439 margin-right: 0.2em;
440 }
441 #pagehistory span.minor { font-weight: bold; }
442 #pagehistory li { border: 1px solid white; }
443 #pagehistory li.selected {
444 background-color: #f9f9f9;
445 border: 1px dashed #aaa;
446 }
447
448 /** Generic minor/bot/newpage styling */
449 .newpage, .minor, .bot {
450 font-weight: bold;
451 }
452
453 /* Special:Contributions styling */
454 .mw-uctop {
455 font-weight: bold;
456 }
457
458 /* Special:ListGroupRights styling */
459 table.mw-listgrouprights-table tr {
460 vertical-align: top;
461 }
462 .listgrouprights-revoked { text-decoration: line-through; }
463
464 /* Special:Statistics styling */
465 td.mw-statistics-numbers {
466 text-align: right;
467 }
468
469 /* Special:SpecialPages styling */
470 h4.mw-specialpagesgroup {
471 background-color: #dcdcdc;
472 padding: 2px;
473 margin: .3em 0em 0em 0em;
474 }
475 .mw-specialpagerestricted {
476 font-weight: bold;
477 }
478
479 #shared-image-dup, #shared-image-conflict {
480 font-style: italic;
481 }
482
483 /* Special:EmailUser styling */
484 table.mw-emailuser-table {
485 width: 98%;
486 }
487 td#mw-emailuser-sender, td#mw-emailuser-recipient {
488 font-weight: bold;
489 }
490
491 /* Special:Allpages styling */
492 table.allpageslist {
493 background-color: transparent;
494 }
495 table.mw-allpages-table-form, table.mw-allpages-table-chunk {
496 background-color: transparent;
497 width: 100%;
498 }
499 td.mw-allpages-alphaindexline {
500 text-align: right;
501 }
502 td.mw-allpages-nav, p.mw-allpages-nav {
503 text-align: right;
504 font-size: smaller;
505 margin-bottom: 1em;
506 }
507 table.mw-allpages-table-form tr {
508 vertical-align: top;
509 }
510
511 /* Special:Prefixindex styling */
512 table#mw-prefixindex-list-table,
513 table#mw-prefixindex-nav-table {
514 width: 98%;
515 background-color: transparent;
516 }
517 td#mw-prefixindex-nav-form {
518 font-size: smaller;
519 margin-bottom: 1em;
520 text-align: right;
521 vertical-align: top;
522 }
523
524 /*
525 * Recreating deleted page warning
526 * Reupload file warning
527 * Page protection warning
528 * incl. log entries for these warnings
529 */
530 div.mw-warning-with-logexcerpt {
531 padding: 3px;
532 margin-bottom: 3px;
533 border: 2px solid #2F6FAB;
534 }
535 div.mw-warning-with-logexcerpt ul li {
536 font-size: 90%;
537 }
538
539 /* (show/hide) revision deletion links */
540 span.mw-revdelundel-link,
541 strong.mw-revdelundel-link {
542 font-size: 90%;
543 }
544 span.mw-revdelundel-hidden,
545 input.mw-revdelundel-hidden {
546 visibility: hidden;
547 }
548
549 /* feed links */
550 a.feedlink {
551 background: url("images/feed-icon.png") center left no-repeat;
552 padding-left: 16px;
553 }
554
555 /* Plainlinks - this can be used to switch
556 * off special external link styling */
557 .plainlinks a {
558 background: none !important;
559 padding: 0 !important;
560 }
561
562 /* wikitable class for skinning normal tables */
563 table.wikitable {
564 margin: 1em 1em 1em 0;
565 background: #f9f9f9;
566 border: 1px #aaa solid;
567 border-collapse: collapse;
568 }
569 .wikitable th, .wikitable td {
570 border: 1px #aaa solid;
571 padding: 0.2em;
572 }
573 .wikitable th {
574 background: #f2f2f2;
575 text-align: center;
576 }
577 .wikitable caption {
578 font-weight: bold;
579 }
580
581 /* hide initially collapsed collapsable tables */
582 table.collapsed tr.collapsable {
583 display: none;
584 }
585
586 /* success and error messages */
587 .success {
588 color: green;
589 font-size: larger;
590 }
591 .error {
592 color: red;
593 font-size: larger;
594 }
595 .errorbox, .successbox {
596 font-size: larger;
597 border: 2px solid;
598 padding: .5em 1em;
599 float: left;
600 margin-bottom: 2em;
601 color: #000;
602 }
603 .errorbox {
604 border-color: red;
605 background-color: #fff2f2;
606 }
607 .successbox {
608 border-color: green;
609 background-color: #dfd;
610 }
611 .errorbox h2, .successbox h2 {
612 font-size: 1em;
613 font-weight: bold;
614 display: inline;
615 margin: 0 .5em 0 0;
616 border: none;
617 }
618
619 .visualClear {
620 clear: both;
621 }
622
623 #mw_trackbacks {
624 border: solid 1px #bbbbff;
625 background-color: #eeeeff;
626 padding: 0.2em;
627 }
628
629 /*
630 Table pager (e.g. Special:Imagelist)
631 - remove underlines from the navigation link
632 - collapse borders
633 - set the borders to outsets (similar to Special:Allmessages)
634 - remove line wrapping for all td and th, set background color
635 - restore line wrapping for the last two table cells (description and size)
636 */
637 .TablePager { min-width: 80%; }
638 .TablePager_nav a { text-decoration: none; }
639 .TablePager { border-collapse: collapse; }
640 .TablePager, .TablePager td, .TablePager th {
641 border: 1px solid #aaaaaa;
642 padding: 0 0.15em 0 0.15em;
643 }
644 .TablePager th { background-color: #eeeeff }
645 .TablePager td { background-color: #ffffff }
646 .TablePager tr:hover td { background-color: #eeeeff }
647
648 .imagelist td, .imagelist th { white-space: nowrap }
649 .imagelist .TablePager_col_links { background-color: #eeeeff }
650 .imagelist .TablePager_col_img_description { white-space: normal }
651 .imagelist th.TablePager_sort { background-color: #ccccff }
652
653 /* Allmessages table */
654 #mw-allmessagestable .allmessages-customised td.am_default {
655 background-color: #fcffc4;
656 }
657
658 #mw-allmessagestable tr.allmessages-customised:hover td.am_default {
659 background-color: #faff90;
660 }
661
662 #mw-allmessagestable td.am_actual {
663 background-color: #e2ffe2;
664 }
665
666 #mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual {
667 background-color: #b1ffb1;
668 }
669
670 /* filetoc */
671 ul#filetoc {
672 text-align: center;
673 border: 1px solid #aaaaaa;
674 background-color: #f9f9f9;
675 padding: 5px;
676 font-size: 95%;
677 margin-bottom: 0.5em;
678 margin-left: 0;
679 margin-right: 0;
680 }
681
682 #filetoc li {
683 display: inline;
684 list-style-type: none;
685 padding-right: 2em;
686 }
687
688 /* Classes for EXIF data display */
689 table.mw_metadata {
690 font-size: 0.8em;
691 margin-left: 0.5em;
692 margin-bottom: 0.5em;
693 width: 300px;
694 }
695
696 table.mw_metadata caption {
697 font-weight: bold;
698 }
699
700 table.mw_metadata th {
701 font-weight: normal;
702 }
703
704 table.mw_metadata td {
705 padding: 0.1em;
706 }
707
708 table.mw_metadata {
709 border: none;
710 border-collapse: collapse;
711 }
712
713 table.mw_metadata td, table.mw_metadata th {
714 text-align: center;
715 border: 1px solid #aaaaaa;
716 padding-left: 0.1em;
717 padding-right: 0.1em;
718 }
719
720 table.mw_metadata th {
721 background-color: #f9f9f9;
722 }
723
724 table.mw_metadata td {
725 background-color: #fcfcfc;
726 }
727
728 /* Galleries */
729 table.gallery {
730 border: 1px solid #ccc;
731 margin: 2px;
732 padding: 2px;
733 background-color: white;
734 }
735
736 table.gallery tr {
737 vertical-align: top;
738 }
739
740 table.gallery td {
741 vertical-align: top;
742 background-color: #f9f9f9;
743 border: solid 2px white;
744 }
745 table.gallery caption {
746 font-weight: bold;
747 }
748
749 div.gallerybox {
750 margin: 2px;
751 }
752
753 div.gallerybox div.thumb {
754 text-align: center;
755 border: 1px solid #ccc;
756 margin: 2px;
757 }
758
759 div.gallerytext {
760 overflow: hidden;
761 font-size: 94%;
762 padding: 2px 4px;
763 }
764
765 table.mw-enhanced-rc {
766 background: none;
767 border:0;
768 border-spacing:0;
769 }
770 td.mw-enhanced-rc {
771 white-space:nowrap;
772 padding:0;
773 vertical-align:top;
774 font-family:monospace
775 }
776
777 #mw-addcategory-prompt {
778 display: inline;
779 margin-left: 1em;
780 }
781
782 #mw-addcategory-prompt input {
783 margin-left: 0.5em;
784 margin-right: 0.5em;
785 }
786
787 .mw-remove-category {
788 padding: 8px;
789 background-image: url(images/remove.png);
790 background-position: center center;
791 background-repeat: no-repeat;
792 }
793
794 .mw-ajax-addcategory {
795 padding-left: 20px;
796 background-image: url(images/add.png);
797 background-position: left center;
798 background-repeat: no-repeat;
799 }
800
801 .mw-ajax-loader {
802 background-image: url(images/ajax-loader.gif);
803 background-position: center center;
804 background-repeat: no-repeat;
805 padding: 16px;
806 position: relative;
807 top: -16px;
808 }
809
810 .mw-small-spinner {
811 padding: 10px !important;
812 margin-right: 0.6em;
813 background-image: url(images/spinner.gif);
814 background-position: middle middle;
815 background-repeat: no-repeat;
816 }