]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Wordpress/Wordpress.css
Note authorship
[SourceForge/phpwiki.git] / themes / Wordpress / Wordpress.css
1 /**
2  * $Id: Wordpress.css,v 1.6 2007-01-07 18:49:50 rurban Exp $
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 none;
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, sans-serif, Arial, Helvetica;
255   font-size: small;
256   font-weight: normal;
257   /*font-style: menu;*/
258   margin: 5px 0px;
259   max-height: 24px;
260   white-space: nowrap;
261   padding: 5px 0px 5px 0px;
262   border-width: 1px;
263   border-style: solid;
264   border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
265 }
266 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
267   text-decoration: none;
268   font-size: small;
269   font-weight: normal;
270   font-family: Tahoma, sans-serif, Arial, Helvetica;
271   color: black;
272 }
273
274 .wikipaging { 
275   font-size: x-small;
276 }
277
278 .toolbar {
279   padding: 0;
280   margin:  0;
281 }
282 .edit-toolbar {
283   padding: 0;
284   margin:  0;
285 }
286 .edit-toolbar img, .edit-toolbar input {
287   background-color: #fff;
288   border: 1px solid ButtonFace;
289 }