deadfoxjunction: Add theme.
[matthijs/projects/wipi.git] / static / deadfoxjunction / css / common.css
1 /*  common.css - MoinMoin Default Styles
2
3 Copyright (c) 2001, 2002, 2003 by Juergen Hermann
4 */
5
6 /* content styles */
7
8 html {
9         background-color: white;
10         color: black;
11         font-family: Arial, Lucida Grande, sans-serif;
12         font-size: 1em;
13 }
14
15 body {
16         margin: 0;
17 }
18
19 /* Links */
20 a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
21 a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
22 a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
23 a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
24 a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
25 a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
26 a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
27 a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
28 a.irc:before,a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
29 a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
30 a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
31 a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
32 a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
33
34 li p {
35         margin: .25em 0;
36 }
37
38 li.gap {
39     margin-top: 0.5em;
40 }
41
42 dt {
43     margin-top: 0.5em;
44     font-weight: bold;
45 }
46
47 dd {
48     margin-top: 0;
49     margin-bottom: 0;
50 }
51
52 dd p {
53     margin: 0.25em 0;
54 }
55    
56 a, img, img.drawing {
57         border: 0;
58 }
59
60 pre {
61         border: 1pt solid #AEBDCC;
62         background-color: #F3F5F7;
63         padding: 5pt;
64         font-family: courier, monospace;
65         white-space: pre;
66         /* begin css 3 or browser specific rules - do not remove!
67         see: http://forums.techguy.org/archive/index.php/t-249849.html */
68     white-space: pre-wrap;
69     word-wrap: break-word;
70     white-space: -moz-pre-wrap;
71     white-space: -pre-wrap;
72     white-space: -o-pre-wrap;
73     /* end css 3 or browser specific rules */
74 }
75
76 pre.comment {
77     background-color: #CCCCCC;
78     color: red;
79     padding: 0;
80     margin: 0;
81     border: 0;
82 }
83
84 pre.comment:before {
85     content: url(../img/attention.png);
86 }
87
88
89 /* .comment css definition must be top of .red/.green/.blue or it won't work */
90 .comment { color: #555555; background-color: #DDDDFF; }
91
92 .red { background-color: #FFCCCC; }
93 .green { background-color: #CCFFCC; }
94 .blue { background-color: #CCCCFF; }
95
96 .solid { border: 2px solid #000000; padding: 2px; }
97 .dashed { border: 2px dashed #000000; padding: 2px; }
98 .dotted { border: 2px dotted #000000; padding: 2px; }
99
100
101 table
102 {
103         margin: 0.5em 0 0 0.5em;
104         border-collapse: collapse;
105 }
106
107 th, td
108 {
109         padding: 0.25em 0.5em 0.25em 0.5em;
110         border: 1pt solid #ADB9CC;
111 }
112
113 td p {
114         margin: 0;
115         padding: 0;
116 }
117
118 /* TableOfContents macro */
119 .table-of-contents { border: 1px solid #bbbbbb;
120                      color: black; background-color: #eeeeee;
121                      font-size: small;
122                      text-align:left;
123                      margin: 0.5em; padding-left: 2em;
124                      width:50%; }
125 .table-of-contents ol { margin:0; margin-left:1em;
126                         list-style-type:decimal; }
127 .table-of-contents ul { margin:0;
128                         list-style-type:none; }
129 .table-of-contents-heading { font-weight:bold; padding:0; margin:0; }
130
131
132 .footnotes div {
133         width: 5em;
134         border-top: 1pt solid gray;
135 }
136
137 .footnotes ol {
138         padding: 0 2em;
139         margin: 0 0 1em;
140 }
141
142 .footnotes li {
143 }
144
145 .seperator {
146     color: gray;
147 }
148
149 #pagebottom {clear: both;}
150
151 /* standard rule ---- */
152 hr {
153     height: 1pt;
154     background-color: #9C9C9C;
155     border: 0;
156 }
157
158 /* custom rules ----- to ---------- */
159 .hr1 {height: 2pt;}
160 .hr2 {height: 3pt;}
161 .hr3 {height: 4pt;}
162 .hr4 {height: 5pt;}
163 .hr5 {height: 6pt;}
164 .hr6 {height: 7pt;}
165
166 /* Replacement for deprecated html 3 <u> element and html 4 <strike> */
167 .u {text-decoration: underline;}
168 .strike {text-decoration: line-through;}
169
170 /* eye catchers */
171 .warning 
172 {
173         color: red;
174 }
175
176 .error 
177 {
178         color: red;
179 }
180
181 strong.highlight 
182 {
183         background-color: #CCE0FF;
184         padding: 1pt;
185 }
186
187
188 /* Recent changes */
189
190 .rcrss {
191         float: right;
192         margin: 0;
193 }
194
195 .recentchanges[dir="rtl"] .rcrss {
196         float: left;
197 }
198
199 .recentchanges table {
200         clear: both;
201 }
202
203 .recentchanges td {
204         vertical-align: top;
205         border: none;
206         border-bottom: 1pt solid #E6EAF0;
207         background: #F2F4F7;
208 }
209
210 .rcdaybreak td {
211         background: #B8C5D9;
212         border: none;
213 }
214
215 .rcdaybreak td a {
216         font-size: 0.88em;
217 }
218
219 .rcicon1, .rcicon2 {
220         text-align: center;
221 }
222
223 .rcpagelink {
224         width: 33%;
225 }
226
227 .rctime {
228         font-size: 0.88em;
229         white-space: nowrap;
230 }
231
232 .rceditor {
233         white-space: nowrap;
234         font-size: 0.88em;
235 }
236
237 .rccomment {
238         width: 50%;
239         color: gray;
240         font-size: 0.88em;
241 }
242
243
244 /* User Preferences */
245
246 .userpref table, .userpref td {
247         border: none;
248 }
249
250 /* CSS for new code_area markup used by Colorizer and ParserBase */
251
252 div.codearea { /* the div makes the border */
253         margin: 0.5em 0;
254         padding: 0;
255         border: 1pt solid #AEBDCC;
256         background-color: #F3F5F7;
257         color: black;
258 }
259
260 div.codearea pre { /* the pre has no border and is inside the div */
261         margin: 0;
262         padding: 10pt;
263         border: none;
264 }
265
266 a.codenumbers { /* format of the line numbering link */
267         margin: 0 10pt;
268         font-size: 0.85em;
269         color: gray;
270 }
271
272 /* format of certain syntax spans */
273 div.codearea pre span.LineNumber {color: gray;}
274 div.codearea pre span.ID         {color: #000000;}
275 div.codearea pre span.Operator   {color: #0000C0;}
276 div.codearea pre span.Char       {color: #004080;}
277 div.codearea pre span.Comment    {color: #008000;}
278 div.codearea pre span.Number     {color: #0080C0;}
279 div.codearea pre span.String     {color: #004080;}
280 div.codearea pre span.SPChar     {color: #0000C0;}
281 div.codearea pre span.ResWord    {color: #A00000;}
282 div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
283 div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
284 div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
285 div.codearea pre span.Special    {color: #0000ff;}
286 div.codearea pre span.Preprc     {color: #803999;}
287
288 /* for diff parser */
289 div.codearea pre span.DiffAdded   {color: #4876FF;}
290 div.codearea pre span.DiffRemoved {color: #FF0000;}
291 div.codearea pre span.DiffChanged {color: #FF7F50;}
292 div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
293
294 /* Search results */
295 .advancedsearch {
296     border: 1pt solid #ADB9CC;
297 }
298
299 .advancedsearch td {
300     vertical-align: top;
301     background-color: #E7E7E7;    
302     border: 0px;
303 }
304
305 .advancedsearch td.searchfor {
306     font-weight: bold;
307 }
308
309 .advancedsearch input {
310     border: 1px solid #ADB9CC;
311     background-color: #fff;
312 }
313
314 .advancedsearch input[disabled] {
315     background-color: #eee;
316 }
317
318 .advancedsearch td.submit {
319     border-top: 1px solid #ADB9CC;
320     background-color: #fff;
321     text-align: right;
322 }
323
324 .advancedsearch optioni, select {
325     border: 1px solid #ADB9CC;
326     background-color: #fff;
327 }
328
329
330 .searchresults dt {
331     margin-top: 1em;
332     font-weight: normal;
333 }
334
335 .searchresults dd, .searchresults p {
336     font-size: 0.85em;
337 }
338
339 .searchresults .searchhitinfobar {
340     color: #008000;
341     margin-left: 15px;
342     margin-top: 0;
343 }
344
345 p.searchstats {
346     font-size: 0.8em;
347     text-align: right;
348     width: 100%;
349     background-color: #E6EAF0;
350     border-top: 1px solid #9088DC;
351     padding: 2px;
352 }
353
354 p.searchhint {
355     background-color: #E6EAF0;
356     border: 1px solid #9088DC;
357     padding: 2px;
358 }
359
360 .searchpages {
361     margin-left: auto;
362     margin-right: auto;
363 }
364
365 .searchpages tr, .searchpages td {
366     border: 0;
367     padding: 5px;
368     margin: 0;
369     text-align: center;
370     vertical-align: middle;
371     color: #b93a58;
372     font-weight: bold;
373     font-size: 1.05em;
374 }
375
376 .searchpages td a, .searchpages td a:link {
377     text-decoration: underline;
378 }
379
380 /* MonthCalendar css */
381
382 /* days without and with pages linked to them */
383 a.cal-emptyday {
384     color: #777777;
385     text-align: center;
386 }
387 a.cal-usedday {
388     color: #000000;
389     font-weight: bold;
390     text-align: center;
391 }
392 /* general stuff: workdays, weekend, today */
393 td.cal-workday {
394     background-color: #DDDDFF;
395     text-align: center;
396 }
397 td.cal-weekend {
398     background-color: #FFDDDD;
399     text-align: center;
400 }
401 td.cal-today {
402     background-color: #CCFFCC;
403     border-style: solid;
404     border-width: 2pt;
405     text-align: center;
406 }
407 /* invalid places on the monthly calendar sheet */
408 td.cal-invalidday {
409     background-color: #CCCCCC;
410 }
411 /* links to prev/next month/year */
412 a.cal-link {
413     color: #000000;
414     text-decoration: none;
415 }
416 th.cal-header {
417     background-color: #DDBBFF;
418     text-align: center;
419 }
420
421 /* for MonthCalendar mouseover info boxes */
422 TABLE.tip {
423     color: black;
424     background-color: #FF8888;
425     font-size: small;
426     font-weight: normal;
427     border-style: solid;
428     border-width: 1px;
429 }
430
431 TH.tip {
432     background-color: #FF4444;
433     font-weight: bold;
434     text-align: center;
435 }
436
437 TD.tip {
438     text-align: left;
439 }
440 *[dir="rtl"] TD.tip {
441     text-align: right;
442 }
443
444 /* end MonthCalendar stuff */
445