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