]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - skins/chick/main.css
MediaWiki 1.17.4
[autoinstalls/mediawiki.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, .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 div.floatright, table.floatright {
257         clear: right;
258         float: right;
259         margin: 0;
260         position: relative;
261         border: 0.5em solid white;
262         border-width: 0.5em 0 0.8em 1.4em;
263 }
264 div.floatright p { font-style: italic; }
265 div.floatleft, table.floatleft {
266         float: left;
267         clear: left;
268         margin: 0.3em 0.5em 0.5em 0;
269         position: relative;
270         border: 0.5em solid white;
271         border-width: 0.5em 1.4em 0.8em 0;
272 }
273 div.floatleft p { font-style: italic; }
274 /* thumbnails */
275 div.thumb {
276         margin-bottom: 0.5em;
277         width: auto;
278 }
279 div.thumbinner {
280         border:1px solid #cccccc;
281         padding: 3px !important;
282         background-color:#f9f9f9;
283         font-size: 94%;
284         text-align: center;
285         overflow: hidden;
286 }
287 html .thumbimage {
288         border:1px solid #cccccc;
289 }
290 html .thumbcaption {
291         border: none;
292         text-align: left;
293         line-height: 1.4em;
294         padding: 0.3em 0 0.1em 0;
295 }
296 div.magnify {
297         float: right;
298         border: none !important;
299         background: none !important;
300 }
301 div.magnify a, div.magnify img {
302         display: block;
303         border: none !important;
304         background: none !important;
305 }
306 div.tright {
307         clear: right;
308         float: right;
309         margin: 0.5em 0 1.3em 1.4em;
310 }
311 div.tleft {
312         float: left;
313         clear: left;
314         margin: 0.5em 1.4em 1.3em 0;
315 }
316 img.thumbborder {
317         border: 1px solid #dddddd;
318 }
319
320 .hiddenStructure {
321         display: none;
322 }
323
324 /*
325 ** classes for special content elements like town boxes
326 ** intended to be referenced directly from the wiki src
327 */
328
329 /*
330 ** User styles
331 */
332 /* table standards */
333 table.rimage {
334         float:right;
335         position:relative;
336         margin-left:1em;
337         margin-bottom:1em;
338         text-align:center;
339 }
340 .toccolours {
341         border:1px solid #aaaaaa;
342         background-color:#f9f9f9;
343         padding:5px;
344         font-size: 95%;
345 }
346
347 /*
348 ** edit views etc
349 */
350 .special li {
351         line-height: 1.4em;
352         margin: 0;
353         padding: 0;
354 }
355
356 a.external { color: #3366bb; }
357 div#footer { text-align: center; }
358 ul#f-list li { list-style: none;  text-align: center; }
359 div.portlet { margin: 0.5em 0; }
360
361 .redirectText {
362         font-size:150%;
363         margin:5px;
364 }
365
366 ul.special li.not-patrolled, ol.special li.not-patrolled {
367         background-color: #ffa;
368 }
369 div.patrollink {
370         font-size: 75%;
371         text-align: right;
372 }
373
374 span.updatedmarker {
375         color:black;
376         background-color:#00FF00;
377 }
378
379 div.gallerybox {
380         width:  150px;
381 }
382
383 #xjump-to-nav {
384         display: none;
385 }
386
387 .templatesUsed { margin-top: 1.5em; }
388
389 .printfooter {
390         display: none;
391 }
392
393 #footer {
394         background-color: white;
395         border-top: 1px solid #fabd23;
396         border-bottom: 1px solid #fabd23;
397         margin: .6em 0 1em 0;
398         padding: .4em 0 1.2em 0;
399         text-align: center;
400         font-size: 90%;
401 }
402 #f-poweredbyico, #f-copyrightico {
403         display: inline;
404 }