* Per Nikerabbits suggestion: Move vertical-align into CSS
[lhc/web/wiklou.git] / skins / simple / main.css
1 /* For clarity, explicitly state some recommendations from <http://www.w3.org/
2 TR/CSS21/sample.html> to make sure the editsection links scale right */
3
4 h1 { font-size: 2em; }
5 h2 { font-size: 1.5em; }
6 h3 { font-size: 1.17em; }
7 h5 { font-size: .83em; }
8 h6 { font-size: .75em; }
9 h1, h2, h3, h4, h5, h6 { font-weight: bolder }
10
11 /* Now the custom parts */
12
13 /* Make edit sections (which are inside h# tags) normal-sized */
14 .editsection {
15 font-weight: normal;
16 }
17 h1 .editsection { font-size: 50% }
18 h2 .editsection { font-size: 66.7% }
19 h3 .editsection { font-size: 85.5% }
20 h5 .editsection { font-size: 120% }
21 h6 .editsection { font-size: 133% }
22
23
24 #toolbar {
25 display: none;
26 }
27
28 div.center {
29 text-align: center;
30 }
31
32 #contentSub {
33 padding-left: 2em;
34 }
35
36 a {
37 text-decoration: none;
38 }
39
40 a:hover {
41 text-decoration: underline;
42 }
43
44 #column-content {
45 width: 100%;
46 float: right;
47 margin: 0 0 0.6em -12.2em;
48 padding:0;
49 }
50
51 #content {
52 margin: 0em 0 0 12.2em;
53 padding: 0em 1em 1.5em 1em;
54 border-left: 1px solid #959595;
55 line-height: 1.5em;
56 }
57
58 #column-one {
59 position: absolute;
60 top: 0px; left: 0px;
61 }
62
63 #footer {
64 display: none;
65 }
66
67 body {
68 margin: 0;
69 padding: 0;
70 }
71
72 #globalWrapper {
73 width: 100%;
74 height: 100%;
75 margin: 0;
76 padding: 0;
77 }
78 .visualClear { clear: both; }
79
80 img {
81 border: none;
82 }
83 p {
84 margin: 0.4em 0em 0.5em 0em;
85 line-height: 1.5em;
86 }
87 p img { margin: 0; }
88
89 h1, h2, h3, h4, h5, h6 {
90 margin: 0;
91 padding-top: 0.5em;
92 padding-bottom: 0.17em;
93 }
94 fieldset {
95 margin: 1em 0em 1em 0em;
96 padding: 0em 1em 1em 1em;
97 }
98 .usermessage {
99 background-color: #ffce7b;
100 border: 1px solid #ffa500;
101 color: Black;
102 font-weight: bold;
103 margin: 2em 0em 1em 0em;
104 padding: 0.5em 1em;
105 vertical-align: middle;
106 }
107 .error {
108 color: red;
109 font-size: larger;
110 }
111
112 table.rimage {
113 float:right;
114 position:relative;
115 margin-left:1em;
116 margin-bottom:1em;
117 text-align:center;
118 }
119
120 div.townBox {
121 position:relative;
122 float:right;
123 margin-left:1em;
124 padding:0.3em;
125 width: 200px;
126 overflow: hidden;
127 clear: right;
128 }
129 div.townBox dl {
130 padding: 0;
131 margin: 0 0 0.3em 0;
132 }
133 div.townBox dl dt {
134 background: none;
135 margin: 0.4em 0 0 0;
136 }
137 div.townBox dl dd {
138 margin: 0.1em 0 0 1.1em;
139 }
140 .portlet {
141 border: none;
142 float: none;
143 padding: 0;
144 width: 11.8em;
145 overflow: hidden;
146 }
147 .portlet h4 {
148 font-weight: normal;
149 white-space: nowrap;
150 }
151 .portlet h5 {
152 padding: 0em 1em 0em 0.5em;
153 display: inline;
154 height: 1em;
155 font-weight: normal;
156 white-space: nowrap;
157 }
158 .portlet h6 {
159 padding: 0em 1em 0em 1em;
160 display: block;
161 height: 1.2em;
162 font-weight: normal;
163 white-space: nowrap;
164 }
165 .pBody {
166 border-collapse: collapse;
167 padding: 0 0.8em 0.3em 0.5em;
168 }
169 .portlet h1,
170 .portlet h2,
171 .portlet h3,
172 .portlet h4 {
173 margin: 0;
174 padding: 0;
175 font-size: small;
176 }
177
178 #p-search .pBody {
179 text-align: center;
180 }
181
182 #searchInput {
183 width: 100%;
184 clear: both;
185 margin: 0 0 0 0;
186 }
187
188 input.searchButton {
189 margin-top:1px;
190 padding: 0 0.4em;
191 cursor: pointer;
192 }
193
194 #p-search .pBody {
195 padding: 0.5em 0.4em 0.4em 0.4em;
196 }
197
198 textarea {
199 width: 100%;
200 }
201
202 .pBody li, .pBody ul {
203 padding-left: 0em;
204 margin-left: 0.5em;
205 }
206
207 pre {
208 margin: 2em;
209 border: solid 1px black;
210 }
211
212 h1.firstHeading, h2 {
213 border-bottom: solid 1px black;
214 }
215 #bodyContent a[href ^="http://"],
216 #bodyContent a[href ^="gopher://"] {
217 background: url("external.png") center right no-repeat;
218 padding-right: 13px;
219 }
220 #bodyContent a[href ^="https://"],
221 .link-https {
222 background: url("lock_icon.gif") center right no-repeat;
223 padding-right: 16px;
224 }
225 #bodyContent a[href ^="mailto:"],
226 .link-mailto {
227 background: url("mail_icon.gif") center right no-repeat;
228 padding-right: 18px;
229 }
230 #bodyContent a[href ^="news://"] {
231 background: url("news_icon.png") center right no-repeat;
232 padding-right: 18px;
233 }
234 #bodyContent a[href ^="ftp://"],
235 .link-ftp {
236 background: url("file_icon.gif") center right no-repeat;
237 padding-right: 18px;
238 }
239 #bodyContent a[href ^="irc://"],
240 #bodyContent a.extiw[href ^="irc://"],
241 .link-irc {
242 background: url("discussionitem_icon.gif") center right no-repeat;
243 padding-right: 18px;
244 }
245
246 #bodyContent a.extiw,
247 #bodyContent a.extiw:active {
248 color: #5E7CFF;
249 background: none;
250 padding: 0;
251 }
252
253 td.diff-addedline {
254 background-color: #B9FFB0;
255 }
256
257 td.diff-deletedline {
258 background-color: #f8ffaa;
259 }
260
261 .diffchange { background-color: #FFCDF3; text-decoration: none; }
262 #pagehistory li { border: none; }
263
264 span.urlexpansion {
265 display: none;
266 }
267
268 div.tocindent {
269 margin-left: 2em;
270 }
271 #toc {
272 text-align: left;
273 border-top: solid 1px black;
274 border-bottom: solid 1px black;
275 }
276
277 div.floatright, table.floatright {
278 clear: right;
279 float: right;
280 margin: 0;
281 position: relative;
282 border-width: 0.5em 0 0.8em 1.4em;
283 }
284 div.floatright p { font-style: italic; }
285 div.floatleft, table.floatleft {
286 float: left;
287 clear: left;
288 margin: 0.3em 0.5em 0.5em 0;
289 position: relative;
290 border-width: 0.5em 1.4em 0.8em 0;
291 }
292 div.floatleft p { font-style: italic; }
293 /* thumbnails */
294 div.thumb {
295 margin-bottom: 0.5em;
296 width: auto;
297 }
298 div.thumb div {
299 padding: 3px !important;
300 text-align: center;
301 overflow: hidden;
302 }
303
304 div.thumb div div.thumbcaption {
305 border: none;
306 text-align: left;
307 line-height: 1.4;
308 padding: 0.3em 0 0.1em 0;
309 }
310 div.magnify {
311 float: right;
312 border: none !important;
313 background: none !important;
314 }
315 div.magnify a, div.magnify img {
316 display: block;
317 border: none !important;
318 background: none !important;
319 }
320 div.tright {
321 clear: right;
322 float: right;
323 border-width: 0.5em 0 0.8em 1.4em;
324 }
325 div.tleft {
326 float: left;
327 clear: left;
328 margin-right:0.5em;
329 border-width: 0.5em 1.4em 0.8em 0;
330 }
331 img.thumbborder {
332 border: 1px solid #dddddd;
333 }
334
335 a.stub { color: #772233; }
336 a.new,
337 #p-personal a.new {
338 text-decoration: line-through;
339 }
340 li.new {
341 text-decoration: line-through;
342 }
343 .catlinks {
344 text-align: center;
345 width: 80%;
346 margin-left: auto;
347 margin-right: auto;
348 padding: 3px;
349 }
350
351 #mytabs {
352 background-color: inherit;
353 }
354 #p-cactions {
355 background-color: inherit;
356 }
357 div.printfooter {
358 display: none;
359 }
360
361
362 #ca-addsection a:before {
363 content: "Add section";
364 font-size: 10pt;
365 }
366
367 #ca-addsection a {
368 font-size: 0px;
369 }
370
371 #n-portal,
372 #n-currentevents,
373 #n-help,
374 #n-sitesupport {
375 display: none;
376 }
377
378 span.searchmatch {
379 font-weight: bold;
380 }
381
382 #preftoc {
383 float: left;
384 margin: 1em;
385 width: 13em;
386 }
387 #preftoc li {
388 }
389 #preftoc li.selected {
390 border: 1px dashed #aaa;
391 }
392 #preftoc a,
393 #preftoc a:active {
394 display: block;
395 }
396 #prefcontrol {
397 clear: both;
398 float: left;
399 margin-top: 1em;
400 }
401 div.prefsectiontip {
402 font-size: 95%;
403 margin-top: 1em;
404 }
405
406 .pref-label, .pref-input {
407 text-align: left;
408 vertical-align: top;
409 }
410
411 #mw_trackbacks {
412 border-style: groove;
413 padding: 0.2em;
414 }
415
416 #jump-to-nav {
417 display: none;
418 }
419
420 table.collapsed tr.collapsable {
421 display: none;
422 }
423
424 .editsection {
425 float: right;
426 margin-left: 5px;
427 }
428
429 .templatesUsed { margin-top: 1.5em; }
430
431 /* Recreating-deleted-page/reupload file warning and log entries */
432 div#mw-upload-deleted-warn ul li,
433 div#mw-recreate-deleted-warn ul li {
434 font-size: 95%;
435 }
436 div.mw-recreate-deleted-control {
437 float: right;
438 font-size: 90%;
439 }