]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Wordpress/Wordpress.css
support edit_toolbar in other themes
[SourceForge/phpwiki.git] / themes / Wordpress / Wordpress.css
1 /**
2  * $Id: Wordpress.css,v 1.3 2004-06-03 12:30:38 rurban Exp $
3  *
4  * PhpWiki's Portland style sheet based on the original Wiki
5  *
6  * Styles are kept to a minimum, so the page will mostly appear
7  * according to the browser's default font settings.
8  */
9
10 /* 
11         Blue-Fade Theme 
12         Modified 2004-01-20 by Alex King (http://www.alexking.org/)
13
14         based on:
15         Default WordPress by Dave Shea || http://mezzoblue.com
16         Modifications by Matthew Mullenweg || http://photomatt.net
17         This is just a basic layout, with only the bare minimum defined.
18         Please tweak this and make it your own. :)
19 */
20
21 /* This stuff was copied straight out of portland.css */
22
23 body {
24   color : black;
25   background : white;
26 }
27
28 img {
29   border : 0 none;
30 }
31
32 .wiki-edithelp {
33   font-size : smaller;
34 }
35
36 input.numeric {
37   text-align: right;
38 }
39
40 /* Mozilla RecentChanges Sidebar */
41 body.sidebar {
42   font-size: smaller;
43   margin: 0.5em;
44 }
45 body.sidebar div.wikitext ul { padding-left: 1em; }
46 body.sidebar h2 { margin-top: 0; }
47
48 /* End of stuff copied from portland.css */
49
50
51 /* This stuff was added to get the "look" right, and wasn't part of the
52  * goal to match WordPress.  If you're changing the WordPress styles, these
53  * items don't have a WordPress equivalent, so you might be able to leave them
54  * as-is.  */
55
56 .wikitext .wiki, .wikitext .named-wiki {
57         font-weight: bold;
58 }
59
60 .wikitext {
61         margin: 30px 13em 0 3em;
62         padding-right: 20px;
63 }
64
65 .cal-hide {
66         color: #999;
67 }
68
69 .cal-hide, .cal-day a {
70         font-size: smaller;
71 }
72
73 .cal-day a, .cal-hide a {
74         font-weight: bold;
75 }
76
77 hr {
78         border-bottom: 1px dotted #ccc;
79         height: 0px;
80 }
81
82 /* End of stuff added for "look" */
83
84
85 /* This was copied (nearly verbatim) from a WordPress style.css */
86
87 body {
88         background: #fff url(images/content-background.gif) repeat-x;
89         font-family: Verdana, Geneva, sans-serif;
90         margin: 0;
91         padding: 0;
92         color: black;
93 }
94
95 a {
96         color: #036;
97         text-decoration: none;  /* This was added */
98 }
99  
100 a:visited {
101         color: #369;
102 }
103
104 a:hover {
105         color: #69c;
106 }
107
108 #header {
109         background: #036 url(images/header-background.gif) repeat-x;
110         border-bottom: 1px solid #69c;
111         font: italic normal 230% 'Times New Roman', Times, serif;
112         letter-spacing: 0.2em;
113         margin: 0;
114         padding: 15px 10px 15px 30px;
115         color: #69c; /* added for subpage headings */
116 }
117
118 #header a {
119         color: #fff;
120         text-decoration: none;
121 }
122
123 #header a:hover {
124         text-decoration: underline;
125 }
126
127 /* End of stuff copied (almost) verbatim */
128
129
130 /* The remainder of this file contains things that "sort-of" had equivalents
131  * between WordPress and PhpWiki.  See comments for specifics.  */
132
133 /* All PhpWiki #actionbar items are from WordPress #menu items */
134 #actionbar {
135         background: #e8e8e8 url(images/menu-background.gif) repeat-x;
136         border-left: 1px solid #9cf;
137         border-bottom: 1px solid #9cf;
138         padding: 30px 0 20px 20px;
139         position: absolute;
140         right: 0;
141         top: 0;
142         width: 11em;
143 }
144
145 #actionbar form {
146         margin: 0;
147 }
148
149 #actionbar input {
150         width: 80%;
151 }
152
153 /* Genericize it a little for other input fields */
154 input {
155         background: #fff;
156         border: 1px solid #999;
157 /*        width: 80%; */
158         font-size: smaller;
159 }
160
161 #actionbar ul {
162         color: #369;
163         font-weight: bold;
164         list-style-type: none;
165         margin: 0;
166         padding-left: 3px;
167 }
168
169 #actionbar ul li {
170         font: italic normal 100% 'Times New Roman', Times, serif;
171         letter-spacing: 100%;
172         margin-top: 10px;
173         padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
174 }
175
176 #actionbar ul ul {
177         list-style-type: none;
178         font-variant: normal;
179         font-weight: normal;
180         line-height: 100%;
181         margin: 0;
182         padding: 0;
183         text-align: left;
184 }
185
186 #actionbar ul ul li {
187         border: 0;
188         font: normal 70% Verdana, sans-serif;
189         letter-spacing: 100%;
190         margin-top: 0;
191         padding: 0 0 1px 12px;
192 }
193
194 #actionbar ul ul li a {
195         color: #036;
196         text-decoration: none;
197 }
198
199 #actionbar ul ul li a:hover {
200         border-bottom: 1px solid #69c;
201 }
202
203
204 /* All PhpWiki .cal items are from WordPress #wp-calendar items */
205 .cal {
206         background: #fff;
207         border: 1px solid #ddd;
208         empty-cells: show;
209 /*        font-size: 14px; */
210         margin: 0 0 0 -5px;
211 /*        width: 90%; */
212 }
213
214 .cal a {
215         /* display: block; */
216         text-decoration: none;
217         font: normal;
218 }
219
220 .cal a:hover {
221         background: #e8e8e8;
222         color: #333;
223 }
224
225 .cal-header, .cal-dayname td {
226         color: #999;
227 /*        font: normal 11px Verdana, Geneva, sans-serif; */
228         padding: 1px 1px;
229 /*        text-align: right; */
230 }
231
232 /* from wp-calendar th  (with changes) */
233 .cal-dayname td {
234         font-size: smaller;
235         color: #69c;
236 }
237
238 .cal td.pad:hover {
239         background: #fff;
240 }
241
242 .cal td:hover, .cal-today {
243         background: #e8e8e8;
244         color: #666;
245 }
246
247 /* from #wp-calendar th */
248 .cal-header {
249         color: #69c;
250         font-style: normal;
251         text-transform: capitalize;
252 }
253
254 th.gridbutton {
255   background: #e8e8e8 url(images/menu-background.gif) repeat-x;
256   color: black;
257   font-family: Tahoma, sans-serif, Arial, Helvetica;
258   font-size: small;
259   font-weight: normal;
260   /*font-style: menu;*/
261   margin: 5px 0px;
262   max-height: 24px;
263   white-space: nowrap;
264   padding: 5px 0px 5px 0px;
265   border-width: 1px;
266   border-style: solid;
267   border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
268 }
269 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
270   text-decoration: none;
271   font-size: small;
272   font-weight: normal;
273   font-family: Tahoma, sans-serif, Arial, Helvetica;
274   color: black;
275 }
276
277 .wikipaging { 
278   font-size: x-small;
279 }
280
281 .toolbar {
282   padding: 0;
283   margin:  0;
284 }
285 .edit-toolbar {
286   padding: 0;
287   margin:  0;
288 }
289 .edit-toolbar img, .edit-toolbar input {
290   background-color: #fff;
291   border: 1px solid ButtonFace;
292 }