cdcd42cb4882646613e76dee76285c56853fdb47
[lhc/web/wiklou.git] / skins / chick / main.css
1 /*
2 ** MediaWiki 'chick' style sheet for PDAs or other small-screen devices.
3 ** Copyright Timwi
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
5 **
6 ** Loosely based on Monobook by Gabriel Wicke
7 */
8
9 body {
10 font-family: sans-serif;
11 color: black;
12 background: white;
13 margin: 0;
14 padding: 0.3em;
15 }
16
17 a { color: #002bb8; }
18 a:visited { color: #5a3696; }
19 a:active { color: #ffa500; }
20 a.stub { color: #772233; }
21 a.new,
22 #p-personal a.new { color:#ba0000; }
23 a.new:visited,
24 #p-personal a.new:visited { color:#a55858; }
25
26 img {
27 border: none;
28 vertical-align: middle;
29 }
30 p {
31 margin: 0.4em 0em 0.5em 0em;
32 line-height: 1.5em;
33 }
34
35 p img { margin: 0; }
36
37 hr {
38 height: 1px;
39 color: #aaaaaa;
40 background-color: #aaaaaa;
41 border: 0;
42 margin: 0.2em 0 0.2em 0;
43 }
44
45 h1, h2, h3, h4, h5, h6 {
46 color: black;
47 background: none;
48 font-weight: normal;
49 margin: 0;
50 overflow: hidden;
51 padding-top: 0.5em;
52 padding-bottom: 0.17em;
53 border-bottom: 1px solid #aaaaaa;
54 }
55 .editsection {
56 font-weight: normal;
57 }
58 h1 { font-size: 188%; }
59 h1 .editsection { font-size: 53.2%; }
60 h2 { font-size: 150%; }
61 h2 .editsection { font-size: 66.7%; }
62 h3, h4, h5, h6 {
63 border-bottom: none;
64 font-weight: bold;
65 }
66 h3 { font-size: 132%; }
67 h3 .editsection { font-size: 75.8%; }
68 h4 { font-size: 116%; }
69 h4 .editsection { font-size: 86.2%; }
70 h5 { font-size: 100%; }
71 h6 { font-size: 80%; }
72 h6 .editsection { font-size: 125%; }
73
74 ul {
75 line-height: 1.5em;
76 margin: 0.3em 0 0 1.5em;
77 padding:0;
78 }
79 ol {
80 line-height: 1.5em;
81 margin: 0.3em 0 0 3.2em;
82 padding:0;
83 list-style-image: none;
84 }
85 li { margin-bottom: 0.1em; }
86 dt {
87 font-weight: bold;
88 margin-bottom: 0.1em;
89 }
90 dl{
91 margin-top: 0.2em;
92 margin-bottom: 0.5em;
93 }
94 dd {
95 line-height: 1.5em;
96 margin-left: 2em;
97 margin-bottom: 0.1em;
98 }
99
100 fieldset {
101 border: 1px solid #2f6fab;
102 margin: 1em 0em 1em 0em;
103 padding: 0em 1em 1em 1em;
104 line-height: 1.5em;
105 }
106 legend {
107 background: white;
108 padding: 0.5em;
109 font-size: 95%;
110 }
111 form {
112 border: none;
113 margin: 0;
114 }
115
116 textarea {
117 border: 1px solid #2f6fab;
118 color: black;
119 background-color: white;
120 width: 100%;
121 padding: 0.1em;
122 overflow: auto;
123 }
124 /* hide this from ie/mac and konq2.2 */
125 @media All {
126 head:first-child+body input {
127 visibility: visible;
128 border: 1px solid #2f6fab;
129 color: black;
130 background-color: white;
131 vertical-align: middle;
132 padding: 0.2em;
133 }
134 }
135 input.historysubmit {
136 padding: 0 0.3em 0.3em 0.3em !important;
137 font-size: 94%;
138 cursor: pointer;
139 height: 1.7em !important;
140 margin-left: 1.6em;
141 }
142 input[type="radio"],
143 input[type="checkbox"] { border:none; }
144 select {
145 border: 1px solid #2f6fab;
146 color: black;
147 vertical-align: top;
148 }
149 q {
150 font-family: Times, "Times New Roman", serif;
151 font-style: italic;
152 }
153 code { background-color: #f9f9f9; }
154 pre {
155 padding: 1em;
156 border: 1px dashed #2f6fab;
157 color: black;
158 background-color: #f9f9f9;
159 line-height: 1.1em;
160 }
161
162 /*
163 ** the main content area
164 */
165
166 span.subpages { display: block; }
167
168 /* Some space under the headers in the content area */
169 #bodyContent h1, #bodyContent h2 { margin-bottom:0.6em; }
170 #bodyContent h3,
171 #bodyContent h4,
172 #bodyContent h5 {
173 margin-bottom: 0.3em;
174 }
175 #firstHeading { margin-bottom:0.1em; }
176
177 /* user notification thing */
178 .usermessage {
179 background-color: #ffce7b;
180 border: 1px solid #ffa500;
181 color: black;
182 font-weight: bold;
183 margin: 0.1em 0 0 0;
184 padding: 2px 5px;
185 vertical-align: middle;
186 }
187 #siteNotice {
188 text-align: center;
189 font-size: 95%;
190 padding: 0 0.9em 0 0.9em;
191 }
192 #siteNotice p { margin: 0; padding: 0; }
193 .error {
194 color: red;
195 font-size: larger;
196 }
197 .catlinks {
198 border:1px solid #aaaaaa;
199 background-color:#f9f9f9;
200 padding: 2px 5px;
201 margin: 0.1em 0 0 0;
202 clear: both;
203 }
204 .catlinks { margin: 0; padding: 0; }
205
206
207 /* currently unused, intended to be used by a metadata box
208 in the bottom-right corner of the content area */
209 .documentDescription {
210 /* The summary text describing the document */
211 font-weight: bold;
212 display: block;
213 margin: 1em 0em;
214 line-height: 1.5em;
215 }
216 .documentByLine {
217 text-align: right;
218 font-size: 90%;
219 clear: both;
220 font-weight: normal;
221 color: #76797c;
222 }
223
224 /* emulate center */
225 .center {
226 width: 100%;
227 text-align: center;
228 }
229 *.center * {
230 margin-left: auto;
231 margin-right: auto;
232 }
233 /* small for tables and similar */
234 .small { font-size: 94%; }
235 table.small { font-size: 100% }
236
237 /*
238 ** content styles
239 */
240
241 #toc {
242 /*border:1px solid #2f6fab;*/
243 border:1px solid #aaaaaa;
244 background-color:#f9f9f9;
245 padding:5px;
246 font-size: 95%;
247 }
248 #toc ul { margin-left: 2em; }
249 #toc .toctoggle { font-size: 94%; }
250 #toc .editsection {
251 margin-top: 0.7em;
252 font-size: 94%;
253 }
254
255 /* images */
256 /* @noflip */div.floatright, table.floatright {
257 margin: 0;
258 border: 0.5em solid white;
259 border-width: 0.5em 0 0.8em 1.4em;
260 }
261 div.floatright p { font-style: italic; }
262 /* @noflip */div.floatleft, table.floatleft {
263 margin: 0.3em 0.5em 0.5em 0;
264 border: 0.5em solid white;
265 border-width: 0.5em 1.4em 0.8em 0;
266 }
267 div.floatleft p { font-style: italic; }
268 /* thumbnails */
269 div.thumb {
270 margin-bottom: 0.5em;
271 width: auto;
272 }
273 div.thumbinner {
274 border:1px solid #cccccc;
275 padding: 3px !important;
276 background-color:#f9f9f9;
277 font-size: 94%;
278 text-align: center;
279 overflow: hidden;
280 }
281 html .thumbimage {
282 border:1px solid #cccccc;
283 }
284 html .thumbcaption {
285 border: none;
286 text-align: left;
287 line-height: 1.4em;
288 padding: 0.3em 0 0.1em 0;
289 }
290 div.magnify {
291 float: right;
292 border: none !important;
293 background: none !important;
294 }
295 div.magnify a, div.magnify img {
296 display: block;
297 border: none !important;
298 background: none !important;
299 }
300 /* @noflip */div.tright {
301 margin: 0.5em 0 1.3em 1.4em;
302 }
303 /* @noflip */div.tleft {
304 margin: 0.5em 1.4em 1.3em 0;
305 }
306 img.thumbborder {
307 border: 1px solid #dddddd;
308 }
309
310 /*
311 ** classes for special content elements like town boxes
312 ** intended to be referenced directly from the wiki src
313 */
314
315 /*
316 ** User styles
317 */
318 /* table standards */
319 table.rimage {
320 float:right;
321 position:relative;
322 margin-left:1em;
323 margin-bottom:1em;
324 text-align:center;
325 }
326 .toccolours {
327 border:1px solid #aaaaaa;
328 background-color:#f9f9f9;
329 padding:5px;
330 font-size: 95%;
331 }
332
333 /*
334 ** edit views etc
335 */
336 .special li {
337 line-height: 1.4em;
338 margin: 0;
339 padding: 0;
340 }
341
342 a.external { color: #3366bb; }
343 div#footer { text-align: center; }
344 ul#f-list li { list-style: none; text-align: center; }
345 div.portlet { margin: 0.5em 0; }
346
347 .redirectText {
348 font-size:150%;
349 margin:5px;
350 }
351
352 ul.special li.not-patrolled, ol.special li.not-patrolled {
353 background-color: #ffa;
354 }
355 div.patrollink {
356 font-size: 75%;
357 text-align: right;
358 }
359
360 span.updatedmarker {
361 color:black;
362 background-color:#00FF00;
363 }
364
365 div.gallerybox {
366 width: 150px;
367 }
368
369 #xjump-to-nav {
370 display: none;
371 }
372
373 .templatesUsed { margin-top: 1.5em; }
374
375 .printfooter {
376 display: none;
377 }
378
379 #footer {
380 background-color: white;
381 border-top: 1px solid #fabd23;
382 border-bottom: 1px solid #fabd23;
383 margin: .6em 0 1em 0;
384 padding: .4em 0 1.2em 0;
385 text-align: center;
386 font-size: 90%;
387 }
388 #f-poweredbyico, #f-copyrightico {
389 display: inline;
390 }