]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Wordpress/Wordpress.css
No tabs
[SourceForge/phpwiki.git] / themes / Wordpress / Wordpress.css
1 /**
2  * $Id$
3  *
4  * PhpWiki's Wordpress style sheet contributed by Mike Pickering
5  */
6
7 /*
8     Blue-Fade Theme
9     Modified 2004-01-20 by Alex King (http://www.alexking.org/)
10
11     based on:
12     Default WordPress by Dave Shea || http://mezzoblue.com
13     Modifications by Matthew Mullenweg || http://photomatt.net
14     This is just a basic layout, with only the bare minimum defined.
15     Please tweak this and make it your own. :)
16 */
17
18 /* This stuff was copied straight out of portland.css */
19
20 body {
21   color : black;
22   background : white;
23 }
24
25 img {
26   border : 0;
27 }
28
29 .wiki-edithelp {
30   font-size : smaller;
31 }
32
33 input.numeric {
34   text-align: right;
35 }
36
37 /* Mozilla RecentChanges Sidebar */
38 body.sidebar {
39   font-size: smaller;
40   margin: 0.5em;
41 }
42 body.sidebar div.wikitext ul { padding-left: 1em; }
43 body.sidebar h2 { margin-top: 0; }
44
45 /* End of stuff copied from portland.css */
46
47
48 /* This stuff was added to get the "look" right, and wasn't part of the
49  * goal to match WordPress.  If you're changing the WordPress styles, these
50  * items don't have a WordPress equivalent, so you might be able to leave them
51  * as-is.  */
52
53 .wikitext .wiki, .wikitext .named-wiki {
54         font-weight: bold;
55 }
56
57 .wikitext {
58         margin: 30px 13em 0 3em;
59         padding-right: 20px;
60 }
61
62 .cal-hide {
63         color: #999;
64 }
65
66 .cal-hide, .cal-day a {
67         font-size: smaller;
68 }
69
70 .cal-day a, .cal-hide a {
71         font-weight: bold;
72 }
73
74 hr {
75         border-bottom: 1px dotted #ccc;
76         height: 0px;
77 }
78
79 /* End of stuff added for "look" */
80
81
82 /* This was copied (nearly verbatim) from a WordPress style.css */
83
84 body {
85         background: #fff url(images/content-background.png) repeat-x;
86         font-family: Verdana, Geneva, sans-serif;
87         margin: 0;
88         padding: 0;
89         color: black;
90 }
91
92 a {
93         color: #036;
94         text-decoration: none;  /* This was added */
95 }
96
97 a:visited {
98         color: #369;
99 }
100
101 a:hover {
102         color: #69c;
103 }
104
105 #header {
106         background: #036 url(images/header-background.png) repeat-x;
107         border-bottom: 1px solid #69c;
108         font: italic normal 230% 'Times New Roman', Times, serif;
109         letter-spacing: 0.2em;
110         margin: 0;
111         padding: 15px 10px 15px 30px;
112         color: #69c; /* added for subpage headings */
113 }
114
115 #header a {
116         color: #fff;
117         text-decoration: none;
118 }
119
120 #header a:hover {
121         text-decoration: underline;
122 }
123
124 /* End of stuff copied (almost) verbatim */
125
126
127 /* The remainder of this file contains things that "sort-of" had equivalents
128  * between WordPress and PhpWiki.  See comments for specifics.  */
129
130 /* All PhpWiki #actionbar items are from WordPress #menu items */
131 #actionbar {
132         background: #e8e8e8 url(images/menu-background.png) repeat-x;
133         border-left: 1px solid #9cf;
134         border-bottom: 1px solid #9cf;
135         padding: 30px 0 20px 20px;
136         position: absolute;
137         right: 0;
138         top: 0;
139         width: 11em;
140 }
141
142 #actionbar form {
143         margin: 0;
144 }
145
146 #actionbar input {
147         width: 80%;
148 }
149
150 /* Genericize it a little for other input fields */
151 input {
152         background: #fff;
153         border: 1px solid #999;
154 /*        width: 80%; */
155         font-size: smaller;
156 }
157
158 #actionbar ul {
159         color: #369;
160         font-weight: bold;
161         list-style-type: none;
162         margin: 0;
163         padding-left: 3px;
164 }
165
166 #actionbar ul li {
167         font: italic normal 100% 'Times New Roman', Times, serif;
168         letter-spacing: 0.1em;
169         margin-top: 10px;
170         padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
171 }
172
173 #actionbar ul ul {
174         list-style-type: none;
175         font-variant: normal;
176         font-weight: normal;
177         line-height: 100%;
178         margin: 0;
179         padding: 0;
180         text-align: left;
181 }
182
183 #actionbar ul ul li {
184         border: 0;
185         font: normal 70% Verdana, sans-serif;
186         letter-spacing: 0;
187         margin-top: 0;
188         padding: 0 0 1px 12px;
189 }
190
191 #actionbar ul ul li a {
192         color: #036;
193         text-decoration: none;
194 }
195
196 #actionbar ul ul li a:hover {
197         border-bottom: 1px solid #69c;
198 }
199
200
201 /* All PhpWiki .cal items are from WordPress #wp-calendar items */
202 .cal {
203         background: #fff;
204         border: 1px solid #ddd;
205         empty-cells: show;
206 /*        font-size: 14px; */
207         margin: 0 0 0 -5px;
208 /*        width: 90%; */
209 }
210
211 .cal a {
212         /* display: block; */
213         text-decoration: none;
214         font-style: normal;
215 }
216
217 .cal a:hover {
218         background: #e8e8e8;
219         color: #333;
220 }
221
222 .cal-header, .cal-dayname td {
223         color: #999;
224 /*        font: normal 11px Verdana, Geneva, sans-serif; */
225         padding: 1px 1px;
226 /*        text-align: right; */
227 }
228
229 /* from wp-calendar th  (with changes) */
230 .cal-dayname td {
231         font-size: smaller;
232         color: #69c;
233 }
234
235 .cal td.pad:hover {
236         background: #fff;
237 }
238
239 .cal td:hover, .cal-today {
240         background: #e8e8e8;
241         color: #666;
242 }
243
244 /* from #wp-calendar th */
245 .cal-header {
246         color: #69c;
247         font-style: normal;
248         text-transform: capitalize;
249 }
250
251 th.gridbutton {
252   background: #e8e8e8 url(images/menu-background.png) repeat-x;
253   color: black;
254   font-family: Tahoma, Arial, Helvetica, sans-serif;
255   font-size: small;
256   font-weight: normal;
257   margin: 5px 0px;
258   max-height: 24px;
259   white-space: nowrap;
260   padding: 5px 0px 5px 0px;
261   border-width: 1px;
262   border-style: solid;
263   border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
264 }
265 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
266   text-decoration: none;
267   font-size: small;
268   font-weight: normal;
269   font-family: Tahoma, Arial, Helvetica, sans-serif;
270   color: black;
271 }
272
273 .wikipaging {
274   font-size: x-small;
275 }
276
277 .toolbar {
278   padding: 0;
279   margin:  0;
280 }
281 .edit-toolbar {
282   padding: 0;
283   margin:  0;
284 }
285 .edit-toolbar img, .edit-toolbar input {
286   background-color: #fff;
287   border: 1px solid ButtonFace;
288 }
289 #editarea-size {
290   margin-top: 1ex;
291   text-align: right;
292   font-size: smaller;
293 }
294 #search-replace {
295   margin-top: 1ex;
296   text-align: left;
297   font-size: smaller;
298 }
299 #toolbar { padding:0px; }
300
301 /**
302  * Search Results
303  */
304 .search-context { background: white; font-style: oblique; }
305 .search-term {
306   background: yellow;
307   font-weight: normal;
308 }
309 #LSResult {
310   position: absolute;
311   text-align: left;
312   display: none;
313   z-index: 100;
314   background-color: white;
315   border: 1px solid #d0d0d0;
316   font-size: 9px;
317   overflow: hidden;
318 }
319 #LSHighlight {
320   background-color: #f08000;
321 }
322 #LSResult .evenrow {
323   background-color: #f0f0f0;
324 }
325 #LSREsult .oddrow {
326 }
327 .LSEnd {
328   text-align: right;
329 }
330 .LSRow:hover {
331   background-color: white;
332 }
333 .LSRow {
334   padding: 1px;
335 }
336 ul.LSRes {
337   margin: 0px;
338   padding: 0px;
339 }
340 li.LSRow {
341   margin: 0px;
342   list-style-image: none;
343 }
344
345 /* IncludePage plugin ================================================= */
346
347 .transclusion-title {
348   text-align: right;
349   font-style: oblique;
350   font-size:  smaller;
351   text-decoration: underline;
352   margin-bottom: 0.25ex;
353   margin-right:  0.25em;
354 }
355 .transclusion, .wiki-edithelp {
356   font-size: smaller;
357 }
358 .transclusion {
359   border: 1px solid gray;
360   padding-left:  0.8em;
361   padding-right: 0.8em;
362   padding-top:     0px;
363   padding-bottom:  0px;
364   margin-left:   0.25em;
365   margin-right:  0.25em;
366   margin-bottom: 0.1ex;
367 }
368 .wiki-edithelp {
369   background: white;
370   border: medium solid #fff8dc; /* darker ivory */
371   padding-left:  0.5em;
372   padding-right: 0.5em;
373   padding-top:    0.75ex;
374   padding-bottom: 0.75ex;
375   margin-left:  0;
376   margin-right: 0;
377   margin-top: 1ex;
378   margin-bottom: 1ex;
379 }
380 .wiki-edithelp .wiki {
381   /* color: #5454ff;*/
382 }
383 .wiki-edithelp p {
384   font-family: Arial, Helvetica, sans-serif;
385   padding-left:  0.5em;
386   padding-right: 0.5em;
387   padding-top:    0.5ex;
388   padding-bottom: 0.5ex;
389   margin: 0;
390 }
391
392
393 /**
394  * Calendar plugin
395  */
396 table.cal {
397   border: 1px outset gray;
398   background: white;
399   margin: 0.5ex 0.5em;
400   padding: 1px;
401   /* For Mozilla */
402   empty-cells: hide;
403 }
404
405 /* cells */
406 table.cal td {
407   background: white;
408   text-align: right;
409 }
410
411 /* Month-name header */
412 table.cal-header { font-size: larger; }
413 table.cal-header tr, table.cal-header td { text-align: center; }
414 .cal-arrow {
415   font-weight: bold;
416   text-decoration: none;
417 }
418
419 /* Day-names header */
420 table.cal tbody tr .cal-dayname {  }
421 .cal-dayname td {
422   text-align: center;
423   font-size: smaller;
424   text-decoration: underline;
425 }
426
427 /* Individual days */
428 a.cal-hide { text-decoration: none; }
429
430 /* Today */
431  /* cell */
432 table.cal td.cal-today {
433   margin: 1px;
434   border: 1px solid gray;
435 }
436  /* text */
437 table.cal td.cal-today a.cal-hide {  }
438
439 /**
440  * Diff Output
441  */
442 /* main box */
443 .diff {
444   margin-top:    1ex;
445   margin-bottom: 0.5ex;
446   background: white;
447   color: black;
448   border-top: 1px solid #494f5d;
449   border-left:  1px solid #494f5d;
450   border-bottom:  1px solid #c6d2de;
451   border-right: 1px solid #c6d2de;
452   padding-top:    1px;
453   padding-bottom: 1px;
454   padding-left:  .125em;
455   padding-right: .125em;
456   padding: 0;
457   clear: both;
458 }
459 .diff .block {
460   background: #ddd;
461   padding-left: 1em;
462 }
463
464 /* individual blocks */
465 .diff .context {
466   background: white;
467   border: none;
468 }
469 /* entire difftextblock */
470 .difftext {
471   margin-top:    0;
472   margin-bottom: 0;
473   background: white;
474   /* "paper" borders */
475   border-top:  1px #e8e6df solid;
476   border-left: 1px #e8e6df solid;
477   border-bottom: 1px #d2d2d2 solid;
478   border-right:  1px #b2b2b2 solid;
479   padding-left:  0em;
480   padding-right: 0em;
481   padding-top:    0ex;
482   padding-bottom: 0ex;
483   clear: both;
484 }
485 /* + - line prefix */
486 .diff .block tt {
487   font-weight: normal;
488   font-family: monospace;
489   color: black;
490   margin-left: 0;
491   border: none;
492 }
493 /* changed words */
494 .diff del, .diff ins {
495   font-weight: bold;
496   text-decoration: none;
497 }
498
499 /* blocks containing deleted or added words */
500 .diff .original, .diff .deleted,
501 .diff .final, .diff .added {
502   background: white;
503 }
504 /* blocks containing deleted words */
505 .diff .original, .diff .deleted {
506   background: #fcc;
507   border: none;
508 }
509 /* blocks containing added words */
510 .diff .final, .diff .added {
511   background: #cfc;
512   border: none;
513 }
514
515 /* deleted words */
516 .diff del { background: #f99; }
517 /* added words */
518 .diff ins { background: #9f9; }
519
520 /**
521  * PageHistory, Info
522  */
523 td.pageinfo { font-weight: bold; }
524 .pageinfo-minoredit, .pageinfo-authorid {
525   font-size: smaller;
526   font-style: oblique;
527 }
528
529 /**
530  * Other
531  */
532 .printer, .no-css { display: none; }
533
534 .error {
535   color: black;
536   background: #eee;
537   margin-top:    1em;
538   margin-bottom: 1em;
539   padding-left:  0.8em;
540   padding-right: 0.8em;
541   padding-top:    0.8ex;
542   padding-bottom: 0;
543   border: medium solid red;
544   clear: both;
545 }
546
547 .warning {
548   color: black;
549   background: #eee;
550   margin-top:    1em;
551   margin-bottom: 1em;
552   padding-left:  0.8em;
553   padding-right: 0.8em;
554   padding-top:    0.8ex;
555   padding-bottom: 0;
556   border: thin solid blue;
557   clear: both;
558 }
559
560 /* Debug */
561 .debug {
562   color: black;
563   background: white;
564   font-family: monospace;
565   font-size: smaller;
566   margin: 1ex 0;
567   padding: 0.5ex 0.5em;
568   border: medium solid #fff8dc; /* darker ivory */
569 }
570
571 /* Hints */
572 .hint {
573   color: black;
574   background: #eeeeee;
575   font-style: italic;
576   margin-left: 3em;
577   padding: 0.5ex 0.5em;
578   border: thin solid #aaaaaa;
579 }
580 span.hint {
581   padding: 0;
582 }
583
584 /* Disabled Plugins */
585 .disabled-plugin
586 {
587   clear: both;
588   margin: 1ex 0;
589   padding: 0;
590 }
591 .disabled-plugin .title {
592   color: #400;
593   background-color: inherit;
594   font-size: x-small;
595   text-align: right;
596   padding: 0 0.5em;
597 }
598 .disabled-plugin pre {
599   color: black;
600   background: #ddd;
601   margin: 0;
602   padding: 0.3ex 0.5em;
603 }
604
605 /* "(Redirected from ...)" message. */
606 span.redirectfrom {
607   font-size: small;
608   font-style: oblique;
609   font-weight: normal;
610   padding-left: 1em;
611 }
612
613 /*
614  * "DL tables"
615  */
616 .wiki-dl-table {
617   border-collapse: collapse;
618   border: 2px #444 solid;
619 }
620 .wiki-dl-table tr {
621   border-top: 2px #444 solid;
622   border-bottom: 2px #444 solid;
623   border-left: none;
624   border-right: none;
625 }
626 .wiki-dl-table th,
627 .wiki-dl-table td {
628   padding: 0.25em 0.5em;
629 }
630 .wiki-dl-table th {
631   vertical-align: top;
632   text-align: right;
633   border-right: 1px #444 solid;
634   border-left: none;
635   border-top: none;
636   border-bottom: none;
637 }
638 .wiki-dl-table td {
639   border: none;
640 }
641
642 /*
643  * "E-mail" style blockquote
644  */
645 blockquote.mail-style-quote {
646   border-left: medium #284 solid;
647   padding-left: 1em;
648   margin-left: 0;
649   margin-right: 0;
650 }
651 .mail-style-quote blockquote.mail-style-quote {
652   margin-left: -0.6em;
653 }
654
655 /*
656  * wikiblog
657  */
658 .floatleft { float: left; }
659 .floatright { float: right; }
660
661 div.wikiblog {
662   /* border: thin black solid; */
663   margin: 1ex 2em;
664   padding: 0 0;
665 }
666 div.wikiblog > div {
667   margin: 0 0;
668   padding: 0.5ex 0.5em;
669 }
670 div.wikiblog-header {
671   /* background-color: #ccf; */
672 }
673 div.wikiblog > div.wikiblog-footer {
674   /* background-color: #eee; */
675   padding: 0.2ex 0.5em;
676 }
677 h3.wikiblog-summary {
678   font-size: medium;
679   font-weight: bold;
680   margin: 0 0 1ex 0;
681 }
682
683 div.wikiblog.wikiblog-form {
684   /* background-color: #eee; */
685 }
686
687 table.wikiblog-form {
688   width: auto;
689   border-collapse: collapse;
690   margin: 0.25em 0;
691 }
692 .wikiblog-form caption {
693   /* background-color: #ccf; */
694   caption-side: top;
695   font-weight: bold;
696   text-align: left;
697   padding: 0.5ex 0.5em;
698 }
699 .wikiblog-form th {
700   vertical-align: top;
701   text-align: right;
702   padding: 0 0 0.3em 0.5em;
703 }
704 .wikiblog-form td {
705   padding: 0.25em 0.5em;
706 }
707 .wikiblog-form td.submit-button {
708   padding: 0;
709 }
710 .wikiblog-form input[type=text],
711 .wikiblog-form textarea {
712   margin: 0 0;
713   width: 100%;
714 }
715 div.wikicomment div.wikicomment-footer {
716   padding: 0.2ex 0.5em;
717 }
718 div.wikicomment div.wikicomment-footer named-wiki {
719   font-size: small;
720 }
721 table.interwiki-map {
722   margin: 1em 2em;
723 }
724 .interwiki-map th {
725   text-decoration: underline;
726   text-align: left;
727   padding-left: 1em;
728 }
729 .interwiki-map td.interwiki-url {
730   padding-left: 2em;
731 }
732 .interwiki-map th.interwiki-url {
733   padding-left: 3em;
734 }
735
736 .dialog {
737   background-color: #cdf;
738   color: black;
739   margin: 2em auto 2em auto;
740   border: thin black solid;
741   width: 50%;
742 }
743 .dialog h1, .dialog p, .dialog div {
744   text-align: center;
745 }
746 .dialog h1 {
747   font-size: large;
748   margin: 0.5em 0 1em 0;
749 }
750 .dialog div.message {
751   background-color: white;
752   color: black;
753   color: black;
754   margin: 0 1em;
755   padding: 0.5em 0.5em;
756 }
757 .dialog p.buttons {
758   margin: 1em 0 0.5em 0;
759 }
760
761 .clear-floats {
762   clear: both;
763 }
764
765 /* postnuke css:*/
766 .gensmall{font-size:10px}
767 .genmed{font-size:11px}
768 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
769 /* Main table cell colours and backgrounds */
770 td.row1{background:#eaedf4;color:#000000}
771 td.row2{background:#d9e2ec;color:#000000}
772 td.row3{background:#cad9ea;color:#000000}
773 td.spacerow{background:#cad9ea;color:#000000}
774
775 /* This is the outline round the main forum tables */
776 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
777
778 /* Sidebar */
779 .box { background:#ffffff; border: 1px solid silver }
780 .box-title { font-family: Tahoma, Arial, Helvetica, sans-serif; font-weight: normal; background-color: #ccc; color: black; text-align: center; border: none; padding: 2px 0 2px 0;}
781 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
782 .box-data .wiki { font-weight: normal; }
783 td.sidebar { border-spacing: 0px; margin: 0ex;}
784
785 /* plugin BoxRight */
786 div.boxright {
787   background-color: #e9fbff;
788   width: 200px;
789   right: 10px;
790   padding: 0.5em;
791   float: right;
792   border: thin solid #888888;
793   padding: 0.5em;
794 }
795
796 /* RssFeed */
797 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
798 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
799 div.itemdesc {  padding-left: 1em; }
800 div.rssitem { border-top: thin dashed #aaa; }
801
802 /* SqlResult */
803 table.sqlresult {
804   border: 1px outset gray;
805   background: white;
806   margin: 0.5ex 0.5em;
807   padding: 1px;
808 }
809 .sqlresult tr.evenrow { background: #eee; }
810 .sqlresult tr.oddrow  { background: white; }
811 table.sqlresult td {
812   margin: 1px;
813   border: 1px solid gray;
814 }
815
816 /**
817  * TeX2png plugin
818  */
819 img.tex {
820   vertical-align: middle;
821 }
822
823 /**
824  * PhotoAlbum plugin
825  */
826 .boldsmall {
827   font-weight: bold;
828   font-size: 11px;
829 }
830
831
832 .wikiwyg_toolbar {
833     background: #D3D3D3;
834     border: 1px outset;
835     letter-spacing: 0;
836     padding: 2px;
837 }
838
839 span.wikiwyg_control_link a {
840     padding-right: 8px;
841 }
842
843 .wikiwyg_button {
844     background: #D3D3D3;
845     border: 1px solid #D3D3D3;
846     cursor: pointer;
847     width: 20px;
848     height: 20px;
849     vertical-align: bottom;
850 }
851
852 .wikiwyg_button:hover {
853     border: 1px outset;
854 }
855
856 .wikiwyg_button:active {
857     border: 1px inset;
858 }
859
860 .wikiwyg_separator {
861     background: #D3D3D3;
862     border: 1px solid #D3D3D3;
863     width: 9px;
864     height: 20px;
865     vertical-align: bottom;
866 }
867
868 .wikiwyg_selector {
869     width: 70px;
870 }
871
872 .wikiwyg_wysiwyg table {
873     border-collapse: collapse;
874     margin-bottom: .2em;
875 }
876
877 .wikiwyg_wysiwyg table td {
878     border: 1px;
879     border-style: solid;
880     padding: .2em;
881     vertical-align: top;
882 }
883
884 /*
885  * table class="boxed"
886  * will put a border around the table (but not around the cells)
887  *
888  * table class="bordered"
889  * will put a border around the table and the cells
890  *
891  * In both cases, the caption will be bold and centered under the table
892  *
893  * In both cases, the headers (th) will have a "#d8d8d8" background
894  */
895
896 table.boxed, table.bordered, table.bordered th, table.bordered td {
897     border-width: 1px;
898     border-style: solid;
899     border-collapse: collapse;
900     vertical-align: top;
901 }
902
903 table.boxed td, table.bordered td,
904 table.boxed th, table.bordered th {
905     padding-left: 5px;
906     padding-right: 5px;
907     padding-top: 0px;
908     padding-bottom: 0px;
909 }
910
911 table.boxed caption, table.bordered caption {
912     text-align: center;
913     font-weight: bold;
914     caption-side: bottom;
915     padding-top: 0.8em;
916 }
917
918 table.boxed th, table.bordered th {
919     font-weight: bold;
920     background-color: #d8d8d8;
921 }
922
923 /* For emacs users
924  *
925  * Local Variables:
926  * mode: c
927  * c-file-style: cc-mode
928  * End:
929  */