mediawiki.searchSuggest: Show full article title as a tooltip for each suggestion
[lhc/web/wiklou.git] / skins / monobook / main.css
1 /*
2 ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
5 **
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
10 */
11
12 div#column-content {
13 width: 100%;
14 float: right;
15 margin: 0 0 .6em -12.2em;
16 padding: 0;
17 }
18 div#content {
19 margin: 2.8em 0 0 12.2em;
20 padding: 1em;
21 position: relative;
22 z-index: 2;
23 }
24 div#column-one {
25 padding-top: 160px;
26 }
27 /* Hide, but keep accessible for screen-readers */
28 #column-one h2 {
29 position: absolute;
30 top: -9999px;
31 }
32 div#content {
33 background: white;
34 color: black;
35 border: 1px solid #aaa;
36 border-right: none;
37 line-height: 1.5em;
38 }
39 /* the left column width is specified in class .portlet */
40
41 /* Font size:
42 ** We take advantage of keyword scaling- browsers won't go below 9px
43 ** More at http://www.w3.org/2003/07/30-font-size
44 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
45 */
46
47 body {
48 font: x-small sans-serif;
49 /* @embed */
50 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
51 color: black;
52 margin: 0;
53 padding: 0;
54 direction: ltr; /* Needed for RTL flipping */
55 unicode-bidi: embed;
56 }
57
58 /* scale back up to a sane default */
59 div#globalWrapper {
60 font-size: 127%;
61 width: 100%;
62 margin: 0;
63 padding: 0;
64 }
65
66 /* general styles */
67 a {
68 color: #002bb8;
69 }
70 a:visited {
71 color: #5a3696;
72 }
73 a.new,
74 #p-personal a.new {
75 color: #cc2200;
76 }
77
78 ul {
79 list-style-type: square;
80 /* @embed */
81 list-style-image: url(bullet.gif);
82 }
83
84 input.historysubmit {
85 padding: 0 .3em .3em .3em !important;
86 font-size: 94%;
87 cursor: pointer;
88 height: 1.7em !important;
89 margin-left: 1.6em;
90 }
91
92 pre, .mw-code {
93 line-height: 1.1em;
94 }
95
96 #firstHeading {
97 padding-top: 0;
98 }
99 /*
100 ** the main content area
101 */
102
103 #siteNotice {
104 font-size: 95%;
105 padding: 0 0.9em;
106 }
107 #localNotice {
108 margin: 0;
109 }
110 #siteNotice p {
111 margin: 0;
112 padding: 0;
113 }
114
115 /*
116 ** classes for special content elements like town boxes
117 ** intended to be referenced directly from the wiki src
118 */
119
120 /*
121 ** User styles
122 */
123 /* table standards */
124 table.rimage {
125 float: right;
126 position: relative;
127 margin-left: 1em;
128 margin-bottom: 1em;
129 text-align: center;
130 }
131
132 /*
133 ** edit views etc
134 */
135 .special li {
136 line-height: 1.4em;
137 margin: 0;
138 padding: 0;
139 }
140
141 /*
142 ** keep the whitespace in front of the ^=, hides rule from konqueror
143 ** this is css3, the validator doesn't like it when validating as css2
144 */
145 #bodyContent a.external {
146 /* @embed */
147 background: url(external-ltr.png) center right no-repeat;
148 padding-right: 13px;
149 }
150 #bodyContent a.external[href ^="https://"],
151 .link-https {
152 /* @embed */
153 background: url(lock_icon.gif) center right no-repeat;
154 padding-right: 16px;
155 }
156 #bodyContent a.external[href ^="mailto:"],
157 .link-mailto {
158 /* @embed */
159 background: url(mail_icon.gif) center right no-repeat;
160 padding-right: 18px;
161 }
162 #bodyContent a.external[href ^="news:"] {
163 /* @embed */
164 background: url(news_icon.png) center right no-repeat;
165 padding-right: 18px;
166 }
167 #bodyContent a.external[href ^="ftp://"],
168 .link-ftp {
169 /* @embed */
170 background: url(file_icon.gif) center right no-repeat;
171 padding-right: 18px;
172 }
173 #bodyContent a.external[href ^="irc://"],
174 #bodyContent a.external[href ^="ircs://"],
175 .link-irc {
176 /* @embed */
177 background: url(discussionitem_icon.gif) center right no-repeat;
178 padding-right: 18px;
179 }
180 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
181 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
182 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
183 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
184 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
185 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
186 .link-audio {
187 /* @embed */
188 background: url(audio.png) center right no-repeat;
189 padding-right: 13px;
190 }
191 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
192 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
193 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
194 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
195 .link-video {
196 /* @embed */
197 background: url(video.png) center right no-repeat;
198 padding-right: 13px;
199 }
200 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
201 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
202 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
203 .link-document {
204 /* @embed */
205 background: url(document.png) center right no-repeat;
206 padding-right: 12px;
207 }
208
209 /* Interwiki Styling */
210 #bodyContent a.extiw,
211 #bodyContent a.extiw:active {
212 color: #36b;
213 }
214
215 /* External links */
216 #bodyContent a.external {
217 color: #36b;
218 }
219
220 /*
221 ** Structural Elements
222 */
223
224 /*
225 ** general portlet styles (elements in the quickbar)
226 */
227 .portlet {
228 border: none;
229 margin: 0 0 .5em;
230 padding: 0;
231 float: none;
232 width: 11.6em;
233 overflow: hidden;
234 }
235 .portlet h3 {
236 background: transparent;
237 padding: 0 1em 0 .5em;
238 display: inline;
239 height: 1em;
240 text-transform: lowercase;
241 font-size: 91%;
242 font-weight: normal;
243 white-space: nowrap;
244 }
245 .pBody {
246 font-size: 95%;
247 background-color: white;
248 color: black;
249 border-collapse: collapse;
250 border: 1px solid #aaa;
251 padding: 0 .8em .3em .5em;
252 }
253 /* allows .pBody styles to wrap around content added via BaseTemplateAfterPortlet hook */
254 .pBody:after {
255 content: '';
256 clear: both;
257 display: block;
258 }
259 .portlet ul {
260 line-height: 1.5em;
261 font-size: 95%;
262 }
263 .portlet li {
264 padding: 0;
265 margin: 0;
266 }
267
268 /*
269 ** Logo properties
270 */
271
272 #p-logo {
273 top: 0;
274 left: 0;
275 position: absolute; /*needed to use z-index */
276 z-index: 3;
277 height: 155px;
278 width: 12em;
279 overflow: visible;
280 }
281 #p-logo h3 {
282 display: none;
283 }
284 #p-logo a,
285 #p-logo a:hover {
286 display: block;
287 height: 155px;
288 width: 12.2em;
289 background-repeat: no-repeat;
290 background-position: 35% 50% !important;
291 text-decoration: none;
292 }
293
294 /*
295 ** Search portlet
296 */
297 #p-search {
298 position: relative;
299 z-index: 3;
300 }
301 input.searchButton {
302 margin-top: 1px;
303 font-size: 95%;
304 }
305 #searchGoButton {
306 padding-left: .5em;
307 padding-right: .5em;
308 font-weight: bold;
309 }
310 #searchInput {
311 width: 10.9em;
312 margin: 0;
313 font-size: 95%;
314 }
315 #p-search .pBody {
316 padding: .5em .4em .4em .4em;
317 text-align: center;
318 }
319 #p-search #searchform div div {
320 margin-top: .4em;
321 font-size: 95%;
322 }
323 /*
324 ** the personal toolbar
325 */
326 #p-personal {
327 position: absolute;
328 left: 0;
329 top: 0;
330 z-index: 3;
331 }
332 #p-personal {
333 width: 100%;
334 white-space: nowrap;
335 padding: 0;
336 margin: 0;
337 border: none;
338 background: none;
339 overflow: visible;
340 line-height: 1.2em;
341 }
342 #p-personal h3 {
343 display: none;
344 }
345 #p-personal .portlet,
346 #p-personal .pBody {
347 z-index: 0;
348 padding: 0;
349 margin: 0;
350 border: none;
351 overflow: visible;
352 background: none;
353 }
354 /* this is the ul contained in the portlet */
355 #p-personal ul {
356 border: none;
357 line-height: 1.4em;
358 color: #2f6fab;
359 padding: 0 2em 0 3em;
360 margin: 0;
361 text-align: right;
362 list-style-type: none;
363 list-style-image: none;
364 z-index: 0;
365 background: none;
366 cursor: default;
367 }
368 #p-personal li {
369 z-index: 0;
370 border: none;
371 padding: 0;
372 display: inline;
373 color: #2f6fab;
374 margin-left: 1em;
375 line-height: 1.2em;
376 background: none;
377 }
378 #p-personal li a {
379 text-decoration: none;
380 color: #005896;
381 padding-bottom: .2em;
382 background: none;
383 }
384 #p-personal li a:hover {
385 background-color: white;
386 padding-bottom: .2em;
387 text-decoration: none;
388 }
389 #p-personal li.active a:hover {
390 background-color: transparent;
391 }
392 /* The icon in front of the username / login link */
393 li#pt-userpage,
394 li#pt-anonuserpage,
395 li#pt-login {
396 /* @embed */
397 background: url(user.gif) top left no-repeat;
398 padding-left: 20px;
399 }
400 #p-personal ul {
401 text-transform: lowercase;
402 }
403 /* Don't lowercase username or IP addresses (IPv6) */
404 li#pt-userpage,
405 li#pt-anonuserpage {
406 text-transform: none;
407 }
408 #p-personal li.active {
409 font-weight: bold;
410 }
411 /*
412 ** the page-related actions- page/talk, edit etc
413 */
414 #p-cactions {
415 position: absolute;
416 top: 1.3em;
417 left: 11.5em;
418 margin: 0;
419 white-space: nowrap;
420 width: 76%;
421 line-height: 1.1em;
422 overflow: visible;
423 background: none;
424 border-collapse: collapse;
425 padding-left: 1em;
426 font-size: 95%;
427 }
428 #p-cactions ul {
429 list-style-type: none;
430 list-style-image: none;
431 }
432 #p-cactions li {
433 display: inline;
434 border: 1px solid #aaa;
435 border-bottom: none;
436 padding: 0 0 1em 0;
437 margin: 0 .3em 0 0;
438 overflow: visible;
439 background: white;
440 }
441 #p-cactions li.selected {
442 border-color: #fabd23;
443 font-weight: bold;
444 }
445 #p-cactions li a {
446 background-color: #fbfbfb;
447 color: #002bb8;
448 border: none;
449 padding: 0 .8em .3em;
450 position: relative;
451 z-index: 0;
452 margin: 0;
453 text-decoration: none;
454 }
455 #p-cactions li.selected a {
456 z-index: 3;
457 background-color: white;
458 }
459 #p-cactions .new a {
460 color: #ba0000;
461 }
462 #p-cactions li a:hover {
463 z-index: 3;
464 text-decoration: none;
465 background-color: white;
466 }
467 #p-cactions h3 {
468 display: none;
469 }
470 #p-cactions li.istalk {
471 margin-right: 0;
472 }
473 #p-cactions li.istalk a {
474 padding-right: .5em;
475 }
476 #p-cactions #ca-addsection a {
477 padding-left: .4em;
478 padding-right: .4em;
479 }
480 /* offsets to distinguish the tab groups */
481 li#ca-talk {
482 margin-right: 1.6em;
483 }
484 li#ca-watch,
485 li#ca-unwatch,
486 li#ca-varlang-0,
487 li#ca-print {
488 margin-left: 1.6em;
489 }
490 #p-cactions .pBody {
491 font-size: 1em;
492 background-color: transparent;
493 color: inherit;
494 border-collapse: inherit;
495 border: 0;
496 padding: 0;
497 }
498 #p-cactions li a {
499 text-transform: lowercase;
500 }
501
502 #p-lang {
503 position: relative;
504 z-index: 3;
505 }
506
507 /* Override text-transform on languages where capitalization is significant */
508 .capitalize-all-nouns .portlet h3,
509 .capitalize-all-nouns #p-personal ul,
510 .capitalize-all-nouns #p-cactions ul li a {
511 text-transform: none;
512 }
513
514 /* TODO: #t-iscite is only used by the Cite extension, come up with some
515 * system which allows extensions to add to this file on the fly
516 */
517 #t-ispermalink, #t-iscite {
518 color: #999;
519 }
520 /*
521 ** footer
522 */
523 div#footer {
524 background-color: white;
525 border-top: 1px solid #fabd23;
526 border-bottom: 1px solid #fabd23;
527 margin: .6em 0 1em 0;
528 overflow: hidden;
529 padding: .4em 0 .3em 0;
530 text-align: center;
531 font-size: 90%;
532 }
533 div#footer li {
534 display: inline;
535 margin: 0 1.3em;
536 }
537 #f-poweredbyico, #f-copyrightico {
538 margin: 0 8px;
539 position: relative;
540 top: -2px; /* Bump it up just a tad */
541 }
542 #f-poweredbyico {
543 float: right;
544 height: 1%;
545 }
546 #f-copyrightico {
547 float: left;
548 height: 1%;
549 }
550
551 .mw-htmlform-submit {
552 font-weight: bold;
553 padding-left: .3em;
554 padding-right: .3em;
555 margin-right: 2em;
556 }
557
558 /* js pref toc */
559 #preftoc {
560 margin: 0;
561 padding: 0;
562 width: 100%;
563 clear: both;
564 }
565 #preftoc li {
566 background-color: #f0f0f0;
567 color: #000;
568 }
569 #preftoc li {
570 margin: 1px -2px 1px 2px;
571 float: left;
572 padding: 2px 0 3px 0;
573 border: 1px solid #fff;
574 border-right-color: #716f64;
575 border-bottom: 0;
576 position: relative;
577 white-space: nowrap;
578 list-style-type: none;
579 list-style-image: none;
580 z-index: 3;
581 }
582 #preftoc li.selected {
583 font-weight: bold;
584 background-color: #f9f9f9;
585 border: 1px solid #aaa;
586 border-bottom: none;
587 cursor: default;
588 top: 1px;
589 padding-top: 2px;
590 margin-right: -3px;
591 }
592 #preftoc > li.selected {
593 top: 2px;
594 }
595 #preftoc a,
596 #preftoc a:active {
597 display: block;
598 color: #000;
599 padding: 0 .7em;
600 position: relative;
601 text-decoration: none;
602 }
603 #preftoc li.selected a {
604 cursor: default;
605 text-decoration: none;
606 }
607 #preferences {
608 margin: 0;
609 border: 1px solid #aaa;
610 clear: both;
611 padding: 1.5em;
612 background-color: #F9F9F9;
613 }
614 .prefsection {
615 border: none;
616 padding: 0;
617 margin: 0;
618 }
619
620 .prefsection legend {
621 font-weight: bold;
622 }
623 .prefsection table, .prefsection legend {
624 background-color: #F9F9F9;
625 }
626 .mainLegend {
627 display: none;
628 }
629 td.htmlform-tip {
630 font-size: x-small;
631 padding: .2em 2em;
632 color: #666;
633 }
634
635 .preferences-login {
636 clear: both;
637 margin-bottom: 1.5em;
638 }
639
640 .prefcache {
641 font-size: 90%;
642 margin-top: 2em;
643 }
644
645 #userloginprompt, #languagelinks {
646 font-size: 85%;
647 }
648
649 #login-sectiontip {
650 font-size: 85%;
651 line-height: 1.2;
652 padding-top: 2em;
653 }
654
655 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
656 font-weight: bold;
657 }
658
659 /**
660 * This was originally added by Gabriel Wicke in r3681 (committed on 25 May 2004)
661 * with the commit message "tweaks to page history".
662 * Unlike the other IE/Mac fixes that used to be present here, this seems to get
663 * applied on more modern browsers, so let's keep it here until someone has the
664 * time to properly test it out.
665 */
666 #pagehistory li.selected {
667 position: relative;
668 }
669
670 .redirectText {
671 font-size: 150%;
672 margin: 5px;
673 }
674
675 div.patrollink {
676 clear: both;
677 }
678
679 .sharedUploadNotice {
680 font-style: italic;
681 }
682
683 span.updatedmarker {
684 color: black;
685 background-color: #0f0;
686 }
687
688 .editExternally {
689 border: 1px solid gray;
690 background-color: #ffffff;
691 padding: 3px;
692 margin-top: 0.5em;
693 float: left;
694 font-size: small;
695 text-align: center;
696 }
697 .editExternallyHelp {
698 font-style: italic;
699 color: gray;
700 }
701
702 .toggle {
703 margin-left: 2em;
704 text-indent: -2em;
705 }
706
707 /* @bug 1714 */
708 input#wpSave,
709 input#wpDiff {
710 margin-right: 0.33em;
711 }
712
713 #wpSave {
714 font-weight: bold;
715 }
716
717 /* noarticletext */
718 div.noarticletext {
719 border: 1px solid #ccc;
720 background: #fff;
721 padding: .2em 1em;
722 color: #000;
723 }
724
725 div#searchTargetContainer {
726 left: 10px;
727 top: 10px;
728 width: 90%;
729 background: white;
730 }
731
732 div#searchTarget {
733 padding: 3px;
734 margin: 5px;
735 background: #F0F0F0;
736 border: solid 1px blue;
737 }
738
739 div#searchTarget ul li {
740 list-style-type: none;
741 list-style-image: none;
742 }
743
744 div#searchTarget ul li:before {
745 color: orange;
746 content: "\00BB \0020";
747 }
748
749 div#searchTargetHide {
750 float: right;
751 border: solid 1px black;
752 background: #DCDCDC;
753 padding: 2px;
754 }
755
756 #powersearch p {
757 margin-top: 0;
758 }
759
760 div.multipageimagenavbox {
761 border: solid 1px silver;
762 padding: 4px;
763 margin: 1em;
764 background: #f0f0f0;
765 }
766
767 div.multipageimagenavbox div.thumb {
768 border: none;
769 margin-left: 2em;
770 margin-right: 2em;
771 }
772
773 div.multipageimagenavbox hr {
774 margin: 6px;
775 }
776
777 table.multipageimage td {
778 text-align: center;
779 }
780
781 .templatesUsed {
782 margin-top: 1.5em;
783 }
784
785 .mw-summary-preview {
786 margin: 0.1em 0;
787 }
788
789 /* Friendlier slave lag warnings */
790 div.mw-lag-warn-normal,
791 div.mw-lag-warn-high {
792 padding: 3px;
793 text-align: center;
794 margin: 3px auto;
795 }
796 div.mw-lag-warn-normal {
797 border: 1px solid #FFCC66;
798 background-color: #FFFFCC;
799 }
800 div.mw-lag-warn-high {
801 font-weight: bold;
802 border: 2px solid #FF0033;
803 background-color: #FFCCCC;
804 }
805
806 .MediaTransformError {
807 background-color: #ccc;
808 padding: 0.1em;
809 }
810 .MediaTransformError td {
811 text-align: center;
812 vertical-align: middle;
813 font-size: 90%;
814 }
815
816 /* God-damned hack for the crappy layout */
817 .os-suggest {
818 font-size: 127%;
819 }
820
821 /* Sometimes people don't want personal tools to be lowercase! */
822 .no-text-transform {
823 text-transform: none;
824 }
825
826 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
827 .tipsy {
828 font-size: 127%;
829 }
830
831 /* mediawiki.notification */
832 .skin-monobook .mw-notification {
833 -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.125);
834 box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.125);
835 }