ee61ec0bf46540aabd8abc7a1ad023461c0de27e
[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.8em 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, td {
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: 100%;
205 padding: 0.1em;
206 overflow: auto;
207 }
208 /* hide this from ie/mac and konq2.2 */
209 @media All {
210 head:first-child+body 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 ** Diff rendering
428 */
429 table.diff {
430 background:white;
431 }
432 td.diff-otitle {
433 background:#ffffff;
434 }
435 td.diff-ntitle {
436 background:#ffffff;
437 }
438 td.diff-addedline {
439 background:#ccffcc;
440 }
441 td.diff-deletedline {
442 background:#ffffaa;
443 }
444 td.diff-context {
445 background:#eeeeee;
446 }
447
448 /*
449 ** keep the whitespace in front of the ^=, hides rule from konqueror
450 ** this is css3, the validator doesn't like it when validating as css2
451 */
452 #bodyContent a[href ^="http://"],
453 #bodyContent a[href ^="gopher://"] {
454 background: url(external.png) center right no-repeat;
455 padding-right: 13px;
456 }
457 #bodyContent a[href ^="https://"],
458 .link-https {
459 background: transparent url("lock_icon.gif") center right no-repeat;
460 padding-right: 16px;
461 }
462 #bodyContent a[href ^="mailto:"],
463 .link-mailto {
464 background: transparent url("mail_icon.gif") center right no-repeat;
465 padding-right: 18px;
466 }
467 #bodyContent a[href ^="news://"] {
468 background: transparent url("news_icon.png") center right no-repeat;
469 padding-right: 18px;
470 }
471 #bodyContent a[href ^="ftp://"],
472 .link-ftp {
473 background: transparent url("file_icon.gif") center right no-repeat;
474 padding-right: 18px;
475 }
476 #bodyContent a[href ^="irc://"],
477 .link-irc {
478 background: transparent url("discussionitem_icon.gif") center right no-repeat;
479 padding-right: 18px;
480 }
481 .visualClear {
482 clear: both;
483 }
484
485 /*
486 ** classes for special content elements like town boxes
487 */
488 div.townBox {
489 position:relative;
490 float:right;
491 background:White;
492 margin-left:1em;
493 border: 1px solid Grey;
494 padding:0.3em;
495 line-height: 1.0em;
496 width: 200px;
497 overflow: hidden;
498 }
499 div.townBox dl {
500 padding: 0;
501 margin: 0 0 0.3em 0;
502 font-size: 96%;
503 }
504 div.townBox dl dt {
505 background-color: transparent;
506 margin: 0.4em 0 0 0;
507 }
508 div.townBox dl dd {
509 margin: 0.1em 0 0 1.1em;
510 background-color: #f3f3f3;
511 }
512
513 /*
514 ** Special content area views
515 */
516 .special li {
517 line-height: 1.4em;
518 margin: 0;
519 padding: 0;
520 }
521 /* the auto-generated edit comments */
522 .autocomment { color: gray; }
523
524
525 /*
526 ** Structural Elements
527 */
528
529 /*
530 ** the portlets (elements in the quickbar)
531 */
532 .portlet {
533 border: none;
534 margin: 0 0 1em 0em;
535 float: none;
536 padding: 0;
537 width: 11.6em;
538 overflow: hidden;
539 }
540 .portlet h4 {
541 font-size: 95%;
542 font-weight: normal;
543 white-space: nowrap;
544 }
545 .portlet h5 {
546 background: transparent;
547 padding: 0em 1em 0em 0.5em;
548 text-transform: lowercase;
549 display: inline;
550 font-size: 91%;
551 height: 1em;
552 font-weight: normal;
553 white-space: nowrap;
554 }
555 .portlet h6 {
556 background: #ffae2e;
557 border: 1px solid #2f6fab;
558 border-style: solid solid none solid;
559 padding: 0em 1em 0em 1em;
560 text-transform: lowercase;
561 display: block;
562 font-size: 1em;
563 height: 1.2em;
564 font-weight: normal;
565 white-space: nowrap;
566 }
567 .portletBody {
568 font-size: 95%;
569 background: White;
570 border-collapse: collapse;
571 border: 1px solid #aaaaaa;
572 }
573 .portletDetails {
574 text-align: right;
575 }
576 .portletMore {
577 display: block;
578 text-align: right;
579 }
580 .portletContent {
581 padding: 0.1em 0.8em 0.7em 0.5em;
582 }
583 .portletClose {
584 float: right;
585 text-transform: none;
586 border-left: 1px solid #2f6fab;
587 padding: 0em 0.2em;
588 }
589 .portlet h1,
590 .portlet h2,
591 .portlet h3,
592 .portlet h4 {
593 margin: 0;
594 padding: 0;
595 }
596 .portlet .even {
597 background-color: #f7f9fa;
598 }
599 .portlet .odd {
600 background-color: transparent;
601 }
602 .portlet input {
603 font-size: 100%;
604 }
605 .portlet ul {
606 line-height: 1.5em;
607 list-style-type: square;
608 list-style-image: url("bullet.gif");
609 font-size:95%;
610 }
611 .portlet li {
612 padding:0;
613 margin: 0 0 0 0;
614 margin-bottom: 0;
615 }
616 .even {
617 background-color: #f7f9fa;
618 }
619 .odd {
620 background-color: transparent;
621 }
622 .visualHighlight {
623 background-color: #f7f9fa;
624 }
625 .discreet {
626 color: #76797c;
627 font-size: 80%;
628 font-weight: normal;
629 }
630
631 /*
632 ** Logo properties
633 */
634
635 #portlet-logo {
636 z-index: 3;
637 position:absolute; /*needed to use z-index */
638 top: 0;
639 left: 0;
640 height: 155px;
641 width: 135px;
642 overflow: visible;
643 }
644 #portlet-logo h5 { display: none; }
645 #portlet-logo a,
646 #portlet-logo a:hover {
647 display: block;
648 height: 155px;
649 width: 135px;
650 background: url(wiki.png) no-repeat;
651 background-repeat: no-repeat;
652 text-decoration: none;
653 }
654
655 /*
656 ** the navigation portlet
657 */
658
659
660 #portlet-navigation {
661 position:relative;
662 z-index:3;
663 }
664 #portlet-navigation .plain {
665 white-space: nowrap;
666 }
667
668 /*
669 ** Search portlet
670 */
671 #portlet-search {
672 position:relative;
673 z-index:3;
674 }
675 #portlet-search .portletBody {
676 text-align: center;
677 }
678 input.searchButton {
679 margin-top:1px;
680 padding: 0 0.4em; !important
681 font-size: 95%;
682 cursor: pointer;
683 background-color: White;
684 border: 1px solid #2f6fab;
685 }
686
687 #searchGadget {
688 border: 1px solid #2f6fab;
689 width:11.0em;
690 margin: 0 0 0 0;
691 font-size: 95%;
692 }
693
694
695 #portlet-search .portletContent {
696 padding: 0.5em 0.4em 0.4em 0.4em;
697 }
698
699
700 /*
701 ** the personal toolbar
702 */
703
704 #portlet-personal {
705 width:100%;
706 white-space:nowrap;
707 padding:0 0 0 0;
708 margin:0;
709 position:absolute;
710 left:0px;
711 top:0px;
712 z-index: 0;
713 border: none;
714 background-color: transparent;
715 overflow: visible;
716 line-height: 1.2em;
717 }
718
719 #portlet-personal h5 {
720 display:none;
721 }
722 #portlet-personal .portlet,
723 #portlet-personal .portletBody,
724 #portlet-personal .portletContent,
725 #portlet-personal .odd{
726 padding:0;
727 margin:0;
728 border: none;
729 z-index:0;
730 overflow: visible;
731 background-color: transparent;
732 }
733 #portal-personal ul,
734 #portal-personal li {
735 z-index:0;
736 border:none;
737 background-color: transparent;
738 }
739
740 /* this is the ul contained in the portlet */
741
742 #portal-personaltools {
743 /* background-color: #fabd23;*/
744 /* border-bottom-color: #2f6fab;*/
745 border: none;
746 line-height: 1.4em;
747 color: #2f6fab;
748 padding: 0em 2em 0 3em;
749 margin: 0;
750 text-align: right;
751 text-transform: lowercase;
752 list-style: none;
753 z-index:0;
754 background-color: transparent;
755 }
756
757 #portal-personaltools .portalNotLoggedIn {
758 color: #2f6fab;
759 padding: 0;
760 background: transparent;
761 background-image: none;
762 } /* Used on all descriptions relevant to those not logged in */
763
764 #portal-personaltools li {
765 padding:0;
766 display: inline;
767 color: #2f6fab;
768 margin-left: 1em;
769 line-height: 1.2em;
770 background-color: transparent;
771 }
772 #portal-personaltools li a {
773 text-decoration: none;
774 /* color: #436976;*/
775 color: #005896;
776 padding-bottom: 0.2em;
777 background-color: transparent;
778 }
779 #portal-personaltools li a:hover {
780 text-decoration: none;
781 /* color: #436976;*/
782 background-color: White;
783 padding-bottom: 0.2em;
784 }
785
786 /* the icon in front of the user name, single quotes
787 in bg url to hide it from iemac */
788 li#personaltools-userpage,
789 li#personaltools-login {
790 background: transparent url('user.gif') center left no-repeat;
791 background-repeat: no-repeat;
792 padding-left: 20px;
793 text-transform: none;
794 }
795
796 /*
797 ** the page-related actions- page/talk, edit etc
798 */
799
800 #portlet-contentViews {
801 position:absolute;
802 top: 1.3em;
803 left: 11.5em;
804 margin: 0;
805 white-space:nowrap;
806 /*width:auto;*/
807 width: 76%;
808 line-height: 1.1em;
809 overflow: visible;
810 background-color: transparent;
811 border-collapse: collapse;
812 padding-left: 1em;
813 list-style: none;
814 font-size: 95%;
815 }
816
817 #portlet-contentViews .hiddenStructure {
818 display: none;
819 }
820
821 #portlet-contentViews ul {
822 list-style: none;
823 }
824 #portlet-contentViews li {
825 display: inline;
826 border: 1px solid #aaaaaa;
827 border-bottom: none;
828 padding: 0 0 0.1em 0;
829 margin: 0 0.3em 0 0;
830 overflow: visible;
831 }
832
833 #portlet-contentViews li.selected {
834 border-color: #fabd23;
835 padding: 0 0 0.2em 0;
836 }
837
838 #portlet-contentViews li a {
839 background-color: White;
840 color: #005189;
841 border: none;
842 padding: 0 0.8em 0.3em 0.8em;
843 text-decoration: none;
844 text-transform: lowercase;
845 position: relative;
846 z-index: 0;
847 margin: 0;
848 }
849
850 #portlet-contentViews .selected a {
851 z-index: 3;
852 }
853 #portlet-contentViews .new a {
854 color:#ba0000;
855 }
856 #portlet-contentViews li a:hover {
857 z-index: 3;
858 }
859 #portlet-contentViews h5 { display: none; }
860
861 /* offsets to distinguish the tab groups */
862 li#contentaction-talk {
863 margin-right: 1.6em;
864 }
865 li#contentaction-watch {
866 margin-left: 1.6em;
867 }
868
869
870 /*
871 ** the remaining portlets
872 */
873 #portlet-toolbox,
874 #portlet-language {
875 position:relative;
876 z-index:3;
877 }
878
879 /*
880 ** footer
881 */
882
883 #portal-footer {
884 background-color: White;
885 border-top: 1px solid #fabd23;
886 border-bottom: 1px solid #fabd23;
887 margin: 0.3em 0em 1em 0em;
888 padding: 0.4em 0em 1em 0em;
889 text-align: center;
890 font-size: 90%;
891 }
892 #portal-footer li {
893 display: inline;
894 margin-right: 2em;
895 }
896 #footer-about,
897 #footer-disclaimer {
898 white-space: nowrap;
899 }
900
901 #footer-poweredbyico, #footer-copyrightico {
902 margin: 0 8px;
903 position: relative;
904 top: -2px; /* Bump it up just a tad */
905 }
906 #footer-poweredbyico {
907 float: right;
908 }
909 #footer-copyrightico {
910 float: left;
911 }
912
913 /*
914 ** IE/Mac fixes, hope to find a validating way to move this
915 ** to a separate stylesheet. This would work but doesn't validate:
916 ** @import("IEMacFixes.css");
917 */
918
919 /* tabs: border on the a, not the div */
920 *>html #portlet-contentViews li {
921 border:none;
922 }
923 *>html #portlet-contentViews li a {
924 border: 1px solid #aaaaaa;
925 border-bottom: none;
926 }
927 *>html #portlet-contentViews li.selected a {
928 border-color: #fabd23;
929 }
930
931 /* more IE fixes */
932 /* fixes for broken IE float handling */
933 * html #portal-column-content {
934 display: inline;
935 }
936 /* float/negative margin brokenness */
937 * html #bodyContent,
938 * html #bodyContent pre,
939 * html #bodyContent div.fullImage {
940 overflow: auto;
941 overflow-y: hidden;
942 width: 100%;
943 margin-bottom: 25px;
944 }
945 /* more float brokenness */
946 * html #bodyContent {
947 display: inline;
948 overflow: auto;
949 width: 100%;
950 }
951
952 /* opera 6 fixes */
953 html>body #portal-column-one {
954 position: relative;
955 max-width: 11.7em;
956 }
957 head:first-child+body #portal-column-one {
958 position: static;
959 width: auto;
960 }
961
962 html>body #portlet-personal {
963 width: 45em;
964 margin-left: 8.6em;
965 right: 0;
966 }
967 head:first-child+body #portlet-personal {
968 margin-left: 0;
969 width: 100%;
970 }
971 /* debugging tool.. */
972 /*div{ border:1px solid #000000;}*/
973