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