(bug 19195) Make user IDs more readily available with the API
[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 /* emulate center */
207 .center {
208 width: 100%;
209 text-align: center;
210 }
211 *.center * {
212 margin-left: auto;
213 margin-right: auto;
214 }
215 /* small for tables and similar */
216 .small { font-size: 94%; }
217 table.small { font-size: 100% }
218
219 /*
220 ** content styles
221 */
222
223 #toc {
224 /*border:1px solid #2f6fab;*/
225 border:1px solid #aaaaaa;
226 background-color:#f9f9f9;
227 padding:5px;
228 font-size: 95%;
229 }
230 #toc ul { margin: 0 2em; }
231 #toc .toctoggle { font-size: 94%; }
232 #toc .editsection {
233 margin-top: 0.7em;
234 font-size: 94%;
235 }
236
237 /* images */
238 /* @noflip */div.floatright, table.floatright {
239 margin: 0;
240 border: 0.5em solid white;
241 border-width: 0.5em 0 0.8em 1.4em;
242 }
243 div.floatright p { font-style: italic; }
244 /* @noflip */div.floatleft, table.floatleft {
245 margin: 0.3em 0.5em 0.5em 0;
246 border: 0.5em solid white;
247 border-width: 0.5em 1.4em 0.8em 0;
248 }
249 div.floatleft p { font-style: italic; }
250 /* thumbnails */
251 div.thumb {
252 margin-bottom: 0.5em;
253 width: auto;
254 }
255 div.thumbinner {
256 border:1px solid #cccccc;
257 padding: 3px !important;
258 background-color:#f9f9f9;
259 font-size: 94%;
260 text-align: center;
261 overflow: hidden;
262 }
263 html .thumbimage {
264 border:1px solid #cccccc;
265 }
266 html .thumbcaption {
267 border: none;
268 text-align: left;
269 line-height: 1.4em;
270 padding: 0.3em 0 0.1em 0;
271 }
272 div.magnify {
273 float: right;
274 border: none !important;
275 background: none !important;
276 }
277 div.magnify a, div.magnify img {
278 display: block;
279 border: none !important;
280 background: none !important;
281 }
282 /* @noflip */div.tright {
283 margin: 0.5em 0 1.3em 1.4em;
284 }
285 /* @noflip */div.tleft {
286 margin: 0.5em 1.4em 1.3em 0;
287 }
288 img.thumbborder {
289 border: 1px solid #dddddd;
290 }
291
292 /*
293 ** classes for special content elements like town boxes
294 ** intended to be referenced directly from the wiki src
295 */
296
297 /*
298 ** User styles
299 */
300 /* table standards */
301 table.rimage {
302 float:right;
303 position:relative;
304 margin-left:1em;
305 margin-bottom:1em;
306 text-align:center;
307 }
308 .toccolours {
309 border:1px solid #aaaaaa;
310 background-color:#f9f9f9;
311 padding:5px;
312 font-size: 95%;
313 }
314
315 /*
316 ** edit views etc
317 */
318 .special li {
319 line-height: 1.4em;
320 margin: 0;
321 padding: 0;
322 }
323
324 a.external { color: #3366bb; }
325 div#footer { text-align: center; }
326 ul#f-list li { list-style: none; text-align: center; }
327 div.portlet { margin: 0.5em 0; }
328
329 .redirectText {
330 font-size:150%;
331 margin:5px;
332 }
333
334 ul.special li.not-patrolled, ol.special li.not-patrolled {
335 background-color: #ffa;
336 }
337 div.patrollink {
338 font-size: 75%;
339 text-align: right;
340 }
341
342 span.updatedmarker {
343 color:black;
344 background-color:#00FF00;
345 }
346
347 div.gallerybox {
348 width: 150px;
349 }
350
351 #xjump-to-nav {
352 display: none;
353 }
354
355 .templatesUsed { margin-top: 1.5em; }
356
357 #footer {
358 background-color: white;
359 border-top: 1px solid #fabd23;
360 border-bottom: 1px solid #fabd23;
361 margin: .6em 0 1em 0;
362 padding: .4em 0 1.2em 0;
363 text-align: center;
364 font-size: 90%;
365 }
366 #f-poweredbyico, #f-copyrightico {
367 display: inline;
368 }