don't wrap inside footer messages
[lhc/web/wiklou.git] / stylesheets / monobook / main.css
1 /*
2 ** Mediawiki 'mono' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://www.aulinx.de/
4 **
5 ** Based on http://www.positioniseverything.net/ordered-floats.html by Big John
6 ** and the Plone 2.0 styles, see http://plone.org/.
7 ** Alexander Limi - http://www.plonesolutions.com
8 ** additional plone work:
9 ** Joe Geldart & Tom Croucher - http://www.netalleynetworks.com, Michael Zeltner - http://niij.org,
10 ** Geir Bækholt - http://www.plonesolutions.com
11 ** All you guys rock :)
12 */
13
14 #portal-columns {
15 width: 100%;
16 margin: 0;
17 }
18 #portal-column-content {
19 width: 100%;
20 float: right;
21 margin: 0 0 0 -12.2em;
22 padding:0;
23 }
24 #portal-column-content #content {
25 margin: 2.7em 0 0 12.2em;
26 }
27 #portal-column-one {
28 padding-top: 160px;
29 }
30 /* the left column width is specified in class .portlet */
31
32 /* Font size:
33 ** We take advantage of keyword scaling- browsers won't go below 9px
34 ** More at http://www.w3.org/2003/07/30-font-size
35 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
36 */
37
38 body {
39 font: x-small "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
40 background: #f9f9f9 url("headbg.jpg") 0px 0px no-repeat;
41 color: Black;
42 margin: 0;
43 padding: 0;
44 }
45
46 /* scale back up to a sane default */
47 #visual-portal-wrapper {
48 font-size:123%;
49 width: 100%;
50 margin: 0;
51 padding: 0;
52 }
53
54 /* general styles */
55
56 table {
57 font-size: 100%;
58 background: White;
59 }
60 a {
61 text-decoration: none;
62 /*color: #436976;*/
63 color: #005189;
64 background-color: transparent;
65 }
66 img {
67 border: none;
68 vertical-align: middle;
69 }
70 p {
71 margin: 0.4em 0em 0.7em 0em;
72 line-height: 1.5em;
73 }
74 p a {
75 text-decoration: none;
76 }
77 p a:visited {
78 color: #5a3696;
79 background-color: transparent;
80 }
81 p a:active {
82 color: Red;
83 background-color: transparent;
84 }
85 p img {
86 border: 0;
87 margin: 0;
88 }
89
90 hr {
91 height: 1px;
92 color: #aaaaaa;
93 background-color: #aaaaaa;
94 border: 0;
95 margin: 0.2em 0 0.2em 0;
96 }
97
98 h1, h2, h3, h4, h5, h6 {
99 color: Black;
100 background-color: transparent;
101 font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
102 font-size: 100%;
103 font-weight: normal;
104 margin: 0;
105 padding-top: 0.5em;
106 padding-bottom: 0.17em;
107 /* border-bottom: 1px solid #2f6fab;*/
108 border-bottom: 1px solid #aaaaaa;
109
110 }
111 h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
112 color: Black ! important;
113 }
114 h1 {
115 font-size: 188%;
116 }
117 h2 {
118 font-size: 150%;
119 }
120 h3 {
121 font-size: 132%;
122 border-bottom: none;
123 font-weight: bold;
124 }
125 h4 {
126 font-size: 116%;
127 border-bottom: none;
128 font-weight: bold;
129 }
130
131 h5 {
132 font-size: 100%;
133 border-bottom: none;
134 font-weight: bold;
135 }
136
137 h6 {
138 font-size: 80%;
139 border-bottom: none;
140 font-weight: bold;
141 }
142
143
144 ul {
145 line-height: 1.5em;
146 list-style-type: square;
147 margin: 0.3em 0 0 1.5em;
148 padding:0;
149 list-style-image: url("bullet.gif");
150 }
151 ol {
152 line-height: 1.5em;
153 margin: 0.3em 0 0 1.5em;
154 padding:0;
155 }
156 ul a, ol a {
157 text-decoration: none;
158 }
159 li {
160 margin-bottom: 0.1em;
161 }
162 dt {
163 font-weight: bold;
164 }
165 dt a {
166 text-decoration: none;
167 }
168
169 dd {
170 line-height: 1.5em;
171 margin-bottom: 0.8em;
172 margin-left: 1.4em;
173 }
174 dd a {
175 text-decoration: none;
176 }
177
178 dd.link a {
179 text-decoration: none;
180 color: Black;
181 }
182
183 fieldset {
184 border: 1px solid #2f6fab;
185 margin: 1em 0em 1em 0em;
186 padding: 0em 1em 1em 1em;
187 line-height: 1.5em;
188 }
189 legend {
190 background: White;
191 padding: 0.5em;
192 font-size: 90%;
193 }
194
195 form {
196 border: none;
197 margin: 0;
198 }
199
200 textarea {
201 border: 1px solid #2f6fab;
202 color: Black;
203 background-color: white;
204 width: 98%;
205 padding: 0.1em;
206 overflow: auto;
207 }
208 /* hide this from ie/mac and konq2.2 */
209 @media All {
210 input {
211 font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
212 visibility: visible;
213 border: 1px solid #2f6fab;
214 color: Black;
215 background-color: white;
216 vertical-align: middle;
217 padding: 0.2em;
218 }
219 }
220 input[type="radio"],
221 input[type="checkbox"] {
222 border:none;
223 }
224 select {
225 border: 1px solid #2f6fab;
226 color: Black;
227 vertical-align: top;
228 }
229 abbr, acronym, .explain {
230 border-bottom: 1px dotted Black;
231 color: Black;
232 background-color: transparent;
233 cursor: help;
234 }
235 q {
236 font-family: Times, "Times New Roman", serif;
237 font-style: italic;
238 }
239 blockquote {
240 font-family: Times, "Times New Roman", serif;
241 font-style: italic;
242 }
243 code {
244 color: Black;
245 background-color: #f9f9f9;
246 }
247 pre {
248 padding: 1em;
249 border: 1px dashed #2f6fab;
250 color: Black;
251 background-color: #f9f9f9;
252 }
253 .pre a {
254 text-decoration: none;
255 }
256
257
258 /*
259 ** the main content area
260 */
261
262 #documentSubtitle {
263 font-size: 84%;
264 line-height: 1.2em;
265 margin: -1.6em 0 0.6em 1em;
266 color: #7d7d7d;
267 }
268
269 #siteSubtitle {
270 display: none;
271 }
272
273
274 #content {
275 padding: 0 0 1em 0em;
276 margin: 0;
277 }
278
279 #bodyContent a:hover {
280 text-decoration: underline;
281 }
282
283 /* Some space under the headers in the content area */
284 #bodyContent h1,
285 .documentFirstHeading,
286 #bodyContent h2,
287 #bodyContent h3,
288 #bodyContent h4,
289 #bodyContent h5 {
290 margin-bottom:0.8em;
291 }
292
293
294 #documentContent {
295 padding: 0em 1em 1.5em 1em;
296 background: White;
297 border: 1px solid #aaaaaa;
298 border-right: none;
299 margin:0;
300 line-height: 1.5em;
301 position: relative;
302 z-index: 2;
303 }
304
305 /* this will be the user notification thing */
306 .portalMessage {
307 background-color: #ffce7b;
308 border: 1px solid #ffa500;
309 color: Black;
310 font-size: 100%;
311 font-weight: bold;
312 margin: 2em 0em 1em 0em;
313 padding: 0.5em 1em;
314 vertical-align: middle;
315 }
316 .documentDescription {
317 /* The summary text describing the document */
318 font-weight: bold;
319 display: block;
320 margin: 1em 0em;
321 line-height: 1.5em;
322 }
323 .documentByLine {
324 text-align: right;
325 font-size: 90%;
326 clear: both;
327 font-weight: normal;
328 color: #76797c;
329 }
330 .documentByLine a {
331 text-decoration: none;
332 }
333
334 /*
335 ** mediawiki-specific styles
336 */
337
338 a.stub,
339 a.new { color:#ba0000; text-decoration:none; }
340
341 #toc {
342 /*border:1px solid #2f6fab;*/
343 border:1px solid #aaaaaa;
344 background-color:#f9f9f9;
345 padding:5px;
346 font-size: 95%;
347 }
348 .tocindent {
349 margin-left: 2em;
350 }
351 .tocline {
352 margin-bottom: 0px;
353 }
354 .toctoggle, .editsection {
355 font-size: smaller;
356 }
357 /* images */
358 div.floatright {
359 float: right;
360 margin: 0;
361 position:relative;
362 border: 0.5em solid White;
363 border-width: 0.5em 0 0.8em 1.4em;
364 }
365 div.floatright p { font-style: italic;}
366 div.floatleft {
367 float: left;
368 margin: 0.3em 0.5em 0.5em 0;
369 position:relative;
370 border: 0.5em solid White;
371 border-width: 0.5em 1.4em 0.8em 0;
372 }
373 div.floatleft p { font-style: italic; }
374 /* thumbnails */
375 div.thumbnail-none,
376 div.thumbnail-right,
377 div.thumbnail-left {
378 /* border:1px solid #2f6fab;*/
379 background-color:#f9f9f9;
380 padding: 2px;
381 position:relative;
382 margin: 0.3em 0 0.5em;
383 font-size: 95%;
384 text-align: center;
385 }
386 div.thumbnail-none div,
387 div.thumbnail-right div,
388 div.thumbnail-left div{
389 border:1px solid #cccccc;
390 }
391 div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
392 margin-top:3px; margin-bottom:3px;
393 text-align: left;
394 }
395 div.thumbnail-right {
396 float: right;
397 position:relative;
398 border: 0.5em solid White;
399 border-width: 0.5em 0 0.8em 1.4em;
400 }
401 div.thumbnail-left {
402 float: left;
403 position:relative;
404 margin-right:0.5em;
405 border: 0.5em solid White;
406 border: 0.5em 1.4em 0.8em 0;
407 }
408 /* table standards */
409 table.rimage {
410 float:right;
411 width:1pt;
412 position:relative;
413 margin-left:1em;
414 margin-bottom:1em;
415 text-align:center;
416 }
417
418 /*
419 ** Link rendering
420 */
421
422 .urlexpansion,
423 .hiddenStructure {
424 display: none;
425 }
426
427 /*
428 ** keep the whitespace in front of the ^=, hides rule from konqueror
429 ** this is css3, the validator doesn't like it when validating as css2
430 */
431 #bodyContent a[href ^="http://"],
432 #bodyContent a[href ^="gopher://"] {
433 background: url(external.png) center right no-repeat;
434 padding-right: 13px;
435 }
436 #bodyContent a[href ^="https://"],
437 .link-https {
438 background: transparent url("lock_icon.gif") center right no-repeat;
439 padding-right: 16px;
440 }
441 #bodyContent a[href ^="mailto:"],
442 .link-mailto {
443 background: transparent url("mail_icon.gif") center right no-repeat;
444 padding-right: 18px;
445 }
446 #bodyContent a[href ^="news://"] {
447 background: transparent url("news_icon.png") center right no-repeat;
448 padding-right: 18px;
449 }
450 #bodyContent a[href ^="ftp://"],
451 .link-ftp {
452 background: transparent url("file_icon.gif") center right no-repeat;
453 padding-right: 18px;
454 }
455 #bodyContent a[href ^="irc://"],
456 .link-irc {
457 background: transparent url("discussionitem_icon.gif") center right no-repeat;
458 padding-right: 18px;
459 }
460 .visualClear {
461 clear: both;
462 }
463
464 /*
465 ** classes for special content elements like town boxes
466 */
467 div.townBox {
468 position:relative;
469 float:right;
470 background:White;
471 margin-left:1em;
472 border: 1px solid Grey;
473 padding:0.3em;
474 line-height: 1.0em;
475 width: 200px;
476 overflow: hidden;
477 }
478 div.townBox dl {
479 padding: 0;
480 margin: 0 0 0.3em 0;
481 font-size: 96%;
482 }
483 div.townBox dl dt {
484 background-color: transparent;
485 margin: 0.4em 0 0 0;
486 }
487 div.townBox dl dd {
488 margin: 0.1em 0 0 1.1em;
489 background-color: #f3f3f3;
490 }
491
492 /*
493 ** Special content area views
494 */
495 .special li {
496 line-height: 1.4em;
497 margin: 0;
498 padding: 0;
499 }
500 /* the auto-generated edit comments */
501 .autocomment { color: gray; }
502
503
504 /*
505 ** Structural Elements
506 */
507
508 /*
509 ** the portlets (elements in the quickbar)
510 */
511 .portlet {
512 border: none;
513 margin: 0 0 1em 0em;
514 float: none;
515 padding: 0;
516 width: 11.6em;
517 overflow: hidden;
518 }
519 .portlet h4 {
520 font-size: 95%;
521 font-weight: normal;
522 white-space: nowrap;
523 }
524 .portlet h5 {
525 background: transparent;
526 padding: 0em 1em 0em 0.5em;
527 text-transform: lowercase;
528 display: inline;
529 font-size: 91%;
530 height: 1em;
531 font-weight: normal;
532 white-space: nowrap;
533 }
534 .portlet h6 {
535 background: #ffae2e;
536 border: 1px solid #2f6fab;
537 border-style: solid solid none solid;
538 padding: 0em 1em 0em 1em;
539 text-transform: lowercase;
540 display: block;
541 font-size: 1em;
542 height: 1.2em;
543 font-weight: normal;
544 white-space: nowrap;
545 }
546 .portletBody {
547 font-size: 95%;
548 background: White;
549 border-collapse: collapse;
550 border: 1px solid #aaaaaa;
551 }
552 .portletDetails {
553 text-align: right;
554 }
555 .portletMore {
556 display: block;
557 text-align: right;
558 }
559 .portletContent {
560 padding: 0.1em 0.8em 0.7em 0.5em;
561 }
562 .portletClose {
563 float: right;
564 text-transform: none;
565 border-left: 1px solid #2f6fab;
566 padding: 0em 0.2em;
567 }
568 .portlet h1,
569 .portlet h2,
570 .portlet h3,
571 .portlet h4 {
572 margin: 0;
573 padding: 0;
574 }
575 .portlet .even {
576 background-color: #f7f9fa;
577 }
578 .portlet .odd {
579 background-color: transparent;
580 }
581 .portlet input {
582 font-size: 100%;
583 }
584 .portlet ul {
585 line-height: 1.5em;
586 list-style-type: square;
587 list-style-image: url("bullet.gif");
588 font-size:95%;
589 }
590 .portlet li {
591 padding:0;
592 margin: 0 0 0 0;
593 margin-bottom: 0;
594 }
595 .even {
596 background-color: #f7f9fa;
597 }
598 .odd {
599 background-color: transparent;
600 }
601 .visualHighlight {
602 background-color: #f7f9fa;
603 }
604 .discreet {
605 color: #76797c;
606 font-size: 80%;
607 font-weight: normal;
608 }
609
610 /*
611 ** Logo properties
612 */
613
614 #portlet-logo {
615 z-index: 3;
616 position:absolute; /*needed to use z-index */
617 top: 0;
618 left: 0;
619 height: 155px;
620 width: 135px;
621 overflow: visible;
622 }
623 #portlet-logo h5 { display: none; }
624 #portlet-logo a,
625 #portlet-logo a:hover {
626 display: block;
627 height: 155px;
628 width: 135px;
629 background: url(wiki.png) no-repeat;
630 background-repeat: no-repeat;
631 text-decoration: none;
632 }
633
634 /*
635 ** the navigation portlet
636 */
637
638
639 #portlet-navigation {
640 position:relative;
641 z-index:3;
642 }
643 #portlet-navigation .plain {
644 white-space: nowrap;
645 }
646
647 /*
648 ** Search portlet
649 */
650 #portlet-search {
651 position:relative;
652 z-index:3;
653 }
654 #portlet-search .portletBody {
655 text-align: center;
656 }
657 input.searchButton {
658 margin-top:1px;
659 padding: 0 0.4em;
660 font-size: 95%;
661 /* font-size: 100%;
662 margin-bottom: 1px ! important;
663 background: White url(search_icon.gif) 2px 1px no-repeat;
664 cursor: pointer;
665 padding: 1px 1px 1px 15px;
666 text-transform: lowercase;*/
667
668 }
669
670 #searchGadget {
671 width:11.0em;
672 margin: 0 0 0 0;
673 font-size: 95%;
674 }
675
676
677 #portlet-search .portletContent {
678 padding: 0.5em 0.4em 0.4em 0.4em;
679 }
680
681
682 /*
683 ** the personal toolbar
684 */
685
686 #portlet-personal {
687 width:100%;
688 white-space:nowrap;
689 padding:0 0 0 0;
690 margin:0;
691 position:absolute;
692 left:0px;
693 top:0px;
694 z-index: 0;
695 border: none;
696 background-color: transparent;
697 overflow: visible;
698 line-height: 1.2em;
699 }
700
701 #portlet-personal h5 {
702 display:none;
703 }
704 #portlet-personal .portlet,
705 #portlet-personal .portletBody,
706 #portlet-personal .portletContent,
707 #portlet-personal .odd{
708 padding:0;
709 margin:0;
710 border: none;
711 z-index:0;
712 overflow: visible;
713 background-color: transparent;
714 }
715 #portal-personal ul,
716 #portal-personal li {
717 z-index:0;
718 border:none;
719 background-color: transparent;
720 }
721
722 /* this is the ul contained in the portlet */
723
724 #portal-personaltools {
725 /* background-color: #fabd23;*/
726 /* border-bottom-color: #2f6fab;*/
727 border: none;
728 line-height: 1.4em;
729 color: #2f6fab;
730 padding: 0em 2em 0 3em;
731 margin: 0;
732 text-align: right;
733 text-transform: lowercase;
734 list-style: none;
735 z-index:0;
736 background-color: transparent;
737 }
738
739 #portal-personaltools .portalNotLoggedIn {
740 color: #2f6fab;
741 padding: 0;
742 background: transparent;
743 background-image: none;
744 } /* Used on all descriptions relevant to those not logged in */
745
746 #portal-personaltools li {
747 padding:0;
748 display: inline;
749 color: #2f6fab;
750 margin-left: 1em;
751 line-height: 1.2em;
752 background-color: transparent;
753 }
754 #portal-personaltools li a {
755 text-decoration: none;
756 /* color: #436976;*/
757 color: #005896;
758 padding-bottom: 0.2em;
759 background-color: transparent;
760 }
761 #portal-personaltools li a:hover {
762 text-decoration: none;
763 /* color: #436976;*/
764 background-color: White;
765 padding-bottom: 0.2em;
766 }
767
768 /* the icon in front of the user name, single quotes
769 in bg url to hide it from iemac */
770 li#personaltools-userpage,
771 li#personaltools-login {
772 background: transparent url('user.gif') center left no-repeat;
773 background-repeat: no-repeat;
774 padding-left: 20px;
775 text-transform: none;
776 }
777
778 /*
779 ** the page-related actions- page/talk, edit etc
780 */
781
782 #portlet-contentViews {
783 position:absolute;
784 top: 1.2em;
785 left: 11.5em;
786 margin: 0;
787 white-space:nowrap;
788 /*width:auto;*/
789 width: 76%;
790 line-height: 1.1em;
791 overflow: visible;
792 background-color: transparent;
793 border-collapse: collapse;
794 padding-left: 1em;
795 list-style: none;
796 font-size: 95%;
797 }
798
799 #portlet-contentViews .hiddenStructure {
800 display: none;
801 }
802
803 #portlet-contentViews ul {
804 list-style: none;
805 }
806 #portlet-contentViews li {
807 display: inline;
808 border: 1px solid #aaaaaa;
809 border-bottom: none;
810 padding: 0 0 0.1em 0;
811 margin: 0 0.3em 0 0;
812 overflow: visible;
813 }
814
815 #portlet-contentViews li.selected {
816 border-color: #fabd23;
817 padding: 0 0 0.2em 0;
818 }
819
820 #portlet-contentViews li a {
821 background-color: White;
822 color: #005189;
823 border: none;
824 padding: 0 0.8em 0.3em 0.8em;
825 text-decoration: none;
826 text-transform: lowercase;
827 position: relative;
828 z-index: 0;
829 margin: 0;
830 }
831
832 #portlet-contentViews .selected a {
833 z-index: 3;
834 }
835 #portlet-contentViews .new a {
836 color:#ba0000;
837 }
838 #portlet-contentViews li a:hover {
839 z-index: 3;
840 }
841 #portlet-contentViews h5 { display: none; }
842
843 /* offsets to distinguish the tab groups */
844 li#contentaction-talk {
845 margin-right: 1.6em;
846 }
847 li#contentaction-watch {
848 margin-left: 1.6em;
849 }
850
851
852 /*
853 ** the remaining portlets
854 */
855 #portlet-toolbox,
856 #portlet-language {
857 position:relative;
858 z-index:3;
859 }
860
861 /*
862 ** footer
863 */
864
865 #portal-footer {
866 background-color: White;
867 border-top: 1px solid #fabd23;
868 border-bottom: 1px solid #fabd23;
869 margin: 0.3em 0em 1em 0em;
870 padding: 0.4em 0em 1em 0em;
871 text-align: center;
872 font-size: 90%;
873 }
874 #portal-footer li {
875 display: inline;
876 margin-right: 2em;
877 white-space: nowrap;
878 }
879
880 #footer-poweredby, #footer-copyright {
881 margin: 0 8px;
882 position: relative;
883 top: -2px; /* Bump it up just a tad */
884 }
885 #footer-poweredby {
886 float: right;
887 }
888 #footer-copyright {
889 float: left;
890 }
891
892 /*
893 ** IE/Mac fixes, hope to find a validating way to move this
894 ** to a separate stylesheet. This would work but doesn't validate:
895 ** @import("IEMacFixes.css");
896 */
897
898 /* tabs: border on the a, not the div */
899 *>html #portlet-contentViews li {
900 border:none;
901 }
902 *>html #portlet-contentViews li a {
903 border: 1px solid #aaaaaa;
904 border-bottom: none;
905 }
906 *>html #portlet-contentViews li.selected a {
907 border-color: #fabd23;
908 }
909
910 /* fixes for broken IE float handling */
911 *>html #portal-column-content {
912 display: inline;
913 }
914 /* more IE fixes */
915 * html #bodyContent span.fullImage,
916 * html #bodyContent pre {
917 overflow: auto;
918 margin-bottom: 1.5em;
919 }
920
921 * html #bodyContent {
922 display: inline;
923 overflow: auto;
924 width: 100%;
925 }
926
927 /* opera 6 fixes */
928 html>body #portal-column-one {
929 position: relative;
930 max-width: 11.7em;
931 }
932 head:first-child+body #portal-column-one {
933 position: static;
934 width: auto;
935 }
936
937 html>body #portlet-personal {
938 width: 45em;
939 margin-left: 8.6em;
940 right: 0;
941 }
942 head:first-child+body #portlet-personal {
943 margin-left: 0;
944 width: 100%;
945 }
946 /* debugging tool.. */
947 /*div{ border:1px solid #000000;}*/
948
949 table.diff {
950 background:white;
951 }
952 td.diff-otitle {
953 background:#ffffff;
954 }
955 td.diff-ntitle {
956 background:#ffffff;
957 }
958 td.diff-addedline {
959 background:#ccffcc;
960 }
961 td.diff-deletedline {
962 background:#ffffaa;
963 }
964 td.diff-context {
965 background:#eeeeee;
966 }