]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Wordpress/Wordpress.css
Remove unused CSS classes: LSEnd, LSRow, LSRes
[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
326 /* IncludePage plugin ================================================= */
327
328 .transclusion-title {
329   text-align: right;
330   font-style: oblique;
331   font-size:  smaller;
332   text-decoration: underline;
333   margin-bottom: 0.25ex;
334   margin-right:  0.25em;
335 }
336 .transclusion, .wiki-edithelp {
337   font-size: smaller;
338 }
339 .transclusion {
340   border: 1px solid gray;
341   padding-left:  0.8em;
342   padding-right: 0.8em;
343   padding-top:     0px;
344   padding-bottom:  0px;
345   margin-left:   0.25em;
346   margin-right:  0.25em;
347   margin-bottom: 0.1ex;
348 }
349 .wiki-edithelp {
350   background: white;
351   border: medium solid #fff8dc; /* darker ivory */
352   padding-left:  0.5em;
353   padding-right: 0.5em;
354   padding-top:    0.75ex;
355   padding-bottom: 0.75ex;
356   margin-left:  0;
357   margin-right: 0;
358   margin-top: 1ex;
359   margin-bottom: 1ex;
360 }
361 .wiki-edithelp .wiki {
362   /* color: #5454ff;*/
363 }
364 .wiki-edithelp p {
365   font-family: Arial, Helvetica, sans-serif;
366   padding-left:  0.5em;
367   padding-right: 0.5em;
368   padding-top:    0.5ex;
369   padding-bottom: 0.5ex;
370   margin: 0;
371 }
372
373
374 /**
375  * Calendar plugin
376  */
377 table.cal {
378   border: 1px outset gray;
379   background: white;
380   margin: 0.5ex 0.5em;
381   padding: 1px;
382   /* For Mozilla */
383   empty-cells: hide;
384 }
385
386 /* cells */
387 table.cal td {
388   background: white;
389   text-align: right;
390 }
391
392 /* Month-name header */
393 table.cal-header { font-size: larger; }
394 table.cal-header tr, table.cal-header td { text-align: center; }
395 .cal-arrow {
396   font-weight: bold;
397   text-decoration: none;
398 }
399
400 /* Day-names header */
401 table.cal tbody tr .cal-dayname {  }
402 .cal-dayname td {
403   text-align: center;
404   font-size: smaller;
405   text-decoration: underline;
406 }
407
408 /* Individual days */
409 a.cal-hide { text-decoration: none; }
410
411 /* Today */
412  /* cell */
413 table.cal td.cal-today {
414   margin: 1px;
415   border: 1px solid gray;
416 }
417  /* text */
418 table.cal td.cal-today a.cal-hide {  }
419
420 /**
421  * Diff Output
422  */
423 /* main box */
424 .diff {
425   margin-top:    1ex;
426   margin-bottom: 0.5ex;
427   background: white;
428   color: black;
429   border-top: 1px solid #494f5d;
430   border-left:  1px solid #494f5d;
431   border-bottom:  1px solid #c6d2de;
432   border-right: 1px solid #c6d2de;
433   padding-top:    1px;
434   padding-bottom: 1px;
435   padding-left:  .125em;
436   padding-right: .125em;
437   padding: 0;
438   clear: both;
439 }
440 .diff .block {
441   background: #ddd;
442   padding-left: 1em;
443 }
444
445 /* individual blocks */
446 .diff .context {
447   background: white;
448   border: none;
449 }
450 /* entire difftextblock */
451 .difftext {
452   margin-top:    0;
453   margin-bottom: 0;
454   background: white;
455   /* "paper" borders */
456   border-top:  1px #e8e6df solid;
457   border-left: 1px #e8e6df solid;
458   border-bottom: 1px #d2d2d2 solid;
459   border-right:  1px #b2b2b2 solid;
460   padding-left:  0em;
461   padding-right: 0em;
462   padding-top:    0ex;
463   padding-bottom: 0ex;
464   clear: both;
465 }
466 /* + - line prefix */
467 .diff .block tt {
468   font-weight: normal;
469   font-family: monospace;
470   color: black;
471   margin-left: 0;
472   border: none;
473 }
474 /* changed words */
475 .diff del, .diff ins {
476   font-weight: bold;
477   text-decoration: none;
478 }
479
480 /* blocks containing deleted or added words */
481 .diff .original, .diff .deleted,
482 .diff .final, .diff .added {
483   background: white;
484 }
485 /* blocks containing deleted words */
486 .diff .original, .diff .deleted {
487   background: #fcc;
488   border: none;
489 }
490 /* blocks containing added words */
491 .diff .final, .diff .added {
492   background: #cfc;
493   border: none;
494 }
495
496 /* deleted words */
497 .diff del { background: #f99; }
498 /* added words */
499 .diff ins { background: #9f9; }
500
501 /**
502  * PageHistory, Info
503  */
504 td.pageinfo { font-weight: bold; }
505 .pageinfo-minoredit, .pageinfo-authorid {
506   font-size: smaller;
507   font-style: oblique;
508 }
509
510 /**
511  * Other
512  */
513 .printer, .no-css { display: none; }
514
515 .error {
516   color: black;
517   background: #eee;
518   margin-top:    1em;
519   margin-bottom: 1em;
520   padding-left:  0.8em;
521   padding-right: 0.8em;
522   padding-top:    0.8ex;
523   padding-bottom: 0;
524   border: medium solid red;
525   clear: both;
526 }
527
528 .warning {
529   color: black;
530   background: #eee;
531   margin-top:    1em;
532   margin-bottom: 1em;
533   padding-left:  0.8em;
534   padding-right: 0.8em;
535   padding-top:    0.8ex;
536   padding-bottom: 0;
537   border: thin solid blue;
538   clear: both;
539 }
540
541 /* Debug */
542 .debug {
543   color: black;
544   background: white;
545   font-family: monospace;
546   font-size: smaller;
547   margin: 1ex 0;
548   padding: 0.5ex 0.5em;
549   border: medium solid #fff8dc; /* darker ivory */
550 }
551
552 /* Hints */
553 .hint {
554   color: black;
555   background: #eeeeee;
556   font-style: italic;
557   margin-left: 3em;
558   padding: 0.5ex 0.5em;
559   border: thin solid #aaaaaa;
560 }
561 span.hint {
562   padding: 0;
563 }
564
565 /* Disabled Plugins */
566 .disabled-plugin
567 {
568   clear: both;
569   margin: 1ex 0;
570   padding: 0;
571 }
572 .disabled-plugin .title {
573   color: #400;
574   background-color: inherit;
575   font-size: x-small;
576   text-align: right;
577   padding: 0 0.5em;
578 }
579 .disabled-plugin pre {
580   color: black;
581   background: #ddd;
582   margin: 0;
583   padding: 0.3ex 0.5em;
584 }
585
586 /* "(Redirected from ...)" message. */
587 span.redirectfrom {
588   font-size: small;
589   font-style: oblique;
590   font-weight: normal;
591   padding-left: 1em;
592 }
593
594 /*
595  * "DL tables"
596  */
597 .wiki-dl-table {
598   border-collapse: collapse;
599   border: 2px #444 solid;
600 }
601 .wiki-dl-table tr {
602   border-top: 2px #444 solid;
603   border-bottom: 2px #444 solid;
604   border-left: none;
605   border-right: none;
606 }
607 .wiki-dl-table th,
608 .wiki-dl-table td {
609   padding: 0.25em 0.5em;
610 }
611 .wiki-dl-table th {
612   vertical-align: top;
613   text-align: right;
614   border-right: 1px #444 solid;
615   border-left: none;
616   border-top: none;
617   border-bottom: none;
618 }
619 .wiki-dl-table td {
620   border: none;
621 }
622
623 /*
624  * "E-mail" style blockquote
625  */
626 blockquote.mail-style-quote {
627   border-left: medium #284 solid;
628   padding-left: 1em;
629   margin-left: 0;
630   margin-right: 0;
631 }
632 .mail-style-quote blockquote.mail-style-quote {
633   margin-left: -0.6em;
634 }
635
636 /*
637  * wikiblog
638  */
639 .floatleft { float: left; }
640 .floatright { float: right; }
641
642 div.wikiblog {
643   /* border: thin black solid; */
644   margin: 1ex 2em;
645   padding: 0 0;
646 }
647 div.wikiblog > div {
648   margin: 0 0;
649   padding: 0.5ex 0.5em;
650 }
651 div.wikiblog-header {
652   /* background-color: #ccf; */
653 }
654 div.wikiblog > div.wikiblog-footer {
655   /* background-color: #eee; */
656   padding: 0.2ex 0.5em;
657 }
658 h3.wikiblog-summary {
659   font-size: medium;
660   font-weight: bold;
661   margin: 0 0 1ex 0;
662 }
663
664 div.wikiblog.wikiblog-form {
665   /* background-color: #eee; */
666 }
667
668 table.wikiblog-form {
669   width: auto;
670   border-collapse: collapse;
671   margin: 0.25em 0;
672 }
673 .wikiblog-form caption {
674   /* background-color: #ccf; */
675   caption-side: top;
676   font-weight: bold;
677   text-align: left;
678   padding: 0.5ex 0.5em;
679 }
680 .wikiblog-form th {
681   vertical-align: top;
682   text-align: right;
683   padding: 0 0 0.3em 0.5em;
684 }
685 .wikiblog-form td {
686   padding: 0.25em 0.5em;
687 }
688 .wikiblog-form td.submit-button {
689   padding: 0;
690 }
691 .wikiblog-form input[type=text],
692 .wikiblog-form textarea {
693   margin: 0 0;
694   width: 100%;
695 }
696 div.wikicomment div.wikicomment-footer {
697   padding: 0.2ex 0.5em;
698 }
699 div.wikicomment div.wikicomment-footer named-wiki {
700   font-size: small;
701 }
702 table.interwiki-map {
703   margin: 1em 2em;
704 }
705 .interwiki-map th {
706   text-decoration: underline;
707   text-align: left;
708   padding-left: 1em;
709 }
710 .interwiki-map td.interwiki-url {
711   padding-left: 2em;
712 }
713 .interwiki-map th.interwiki-url {
714   padding-left: 3em;
715 }
716
717 .dialog {
718   background-color: #cdf;
719   color: black;
720   margin: 2em auto 2em auto;
721   border: thin black solid;
722   width: 50%;
723 }
724 .dialog h1, .dialog p, .dialog div {
725   text-align: center;
726 }
727 .dialog h1 {
728   font-size: large;
729   margin: 0.5em 0 1em 0;
730 }
731 .dialog div.message {
732   background-color: white;
733   color: black;
734   color: black;
735   margin: 0 1em;
736   padding: 0.5em 0.5em;
737 }
738 .dialog p.buttons {
739   margin: 1em 0 0.5em 0;
740 }
741
742 .clear-floats {
743   clear: both;
744 }
745
746 /* postnuke css:*/
747 .gensmall{font-size:10px}
748 .genmed{font-size:11px}
749 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
750 /* Main table cell colours and backgrounds */
751 td.row1{background:#eaedf4;color:#000000}
752 td.row2{background:#d9e2ec;color:#000000}
753 td.row3{background:#cad9ea;color:#000000}
754 td.spacerow{background:#cad9ea;color:#000000}
755
756 /* This is the outline round the main forum tables */
757 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
758
759 /* Sidebar */
760 .box { background:#ffffff; border: 1px solid silver }
761 .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;}
762 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
763 .box-data .wiki { font-weight: normal; }
764 td.sidebar { border-spacing: 0px; margin: 0ex;}
765
766 /* plugin BoxRight */
767 div.boxright {
768   background-color: #e9fbff;
769   width: 200px;
770   right: 10px;
771   padding: 0.5em;
772   float: right;
773   border: thin solid #888888;
774   padding: 0.5em;
775 }
776
777 /* RssFeed */
778 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
779 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
780 div.itemdesc {  padding-left: 1em; }
781 div.rssitem { border-top: thin dashed #aaa; }
782
783 /* SqlResult */
784 table.sqlresult {
785   border: 1px outset gray;
786   background: white;
787   margin: 0.5ex 0.5em;
788   padding: 1px;
789 }
790 .sqlresult tr.evenrow { background: #eee; }
791 .sqlresult tr.oddrow  { background: white; }
792 table.sqlresult td {
793   margin: 1px;
794   border: 1px solid gray;
795 }
796
797 /**
798  * TeX2png plugin
799  */
800 img.tex {
801   vertical-align: middle;
802 }
803
804 /**
805  * PhotoAlbum plugin
806  */
807 .boldsmall {
808   font-weight: bold;
809   font-size: 11px;
810 }
811
812
813 .wikiwyg_toolbar {
814     background: #D3D3D3;
815     border: 1px outset;
816     letter-spacing: 0;
817     padding: 2px;
818 }
819
820 span.wikiwyg_control_link a {
821     padding-right: 8px;
822 }
823
824 .wikiwyg_button {
825     background: #D3D3D3;
826     border: 1px solid #D3D3D3;
827     cursor: pointer;
828     width: 20px;
829     height: 20px;
830     vertical-align: bottom;
831 }
832
833 .wikiwyg_button:hover {
834     border: 1px outset;
835 }
836
837 .wikiwyg_button:active {
838     border: 1px inset;
839 }
840
841 .wikiwyg_separator {
842     background: #D3D3D3;
843     border: 1px solid #D3D3D3;
844     width: 9px;
845     height: 20px;
846     vertical-align: bottom;
847 }
848
849 .wikiwyg_selector {
850     width: 70px;
851 }
852
853 .wikiwyg_wysiwyg table {
854     border-collapse: collapse;
855     margin-bottom: .2em;
856 }
857
858 .wikiwyg_wysiwyg table td {
859     border: 1px;
860     border-style: solid;
861     padding: .2em;
862     vertical-align: top;
863 }
864
865 /*
866  * table class="boxed"
867  * will put a border around the table (but not around the cells)
868  *
869  * table class="bordered"
870  * will put a border around the table and the cells
871  *
872  * In both cases, the caption will be bold and centered under the table
873  *
874  * In both cases, the headers (th) will have a "#d8d8d8" background
875  */
876
877 table.boxed, table.bordered, table.bordered th, table.bordered td {
878     border-width: 1px;
879     border-style: solid;
880     border-collapse: collapse;
881     vertical-align: top;
882 }
883
884 table.boxed td, table.bordered td,
885 table.boxed th, table.bordered th {
886     padding-left: 5px;
887     padding-right: 5px;
888     padding-top: 0px;
889     padding-bottom: 0px;
890 }
891
892 table.boxed caption, table.bordered caption {
893     text-align: center;
894     font-weight: bold;
895     caption-side: bottom;
896     padding-top: 0.8em;
897 }
898
899 table.boxed th, table.bordered th {
900     font-weight: bold;
901     background-color: #d8d8d8;
902 }
903
904 /* For emacs users
905  *
906  * Local Variables:
907  * mode: c
908  * c-file-style: cc-mode
909  * End:
910  */