db889b935802ef44e17ebdcb22aab2b2fa3c451d
[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 .portlet {
121 border: none;
122 float: none;
123 padding: 0;
124 width: 11.8em;
125 overflow: hidden;
126 }
127 .portlet h4 {
128 font-weight: normal;
129 white-space: nowrap;
130 }
131 .portlet h5 {
132 padding: 0em 1em 0em 0.5em;
133 display: inline;
134 height: 1em;
135 font-weight: normal;
136 white-space: nowrap;
137 }
138 .portlet h6 {
139 padding: 0em 1em 0em 1em;
140 display: block;
141 height: 1.2em;
142 font-weight: normal;
143 white-space: nowrap;
144 }
145 .pBody {
146 border-collapse: collapse;
147 padding: 0 0.8em 0.3em 0.5em;
148 }
149 .portlet h1,
150 .portlet h2,
151 .portlet h3,
152 .portlet h4 {
153 margin: 0;
154 padding: 0;
155 font-size: small;
156 }
157
158 #p-search .pBody {
159 text-align: center;
160 }
161
162 #searchInput {
163 width: 100%;
164 clear: both;
165 margin: 0 0 0 0;
166 }
167
168 input.searchButton {
169 margin-top:1px;
170 padding: 0 0.4em;
171 cursor: pointer;
172 }
173
174 #p-search .pBody {
175 padding: 0.5em 0.4em 0.4em 0.4em;
176 }
177
178 /* feed links */
179 a.feedlink {
180 background: url("../common/images/feed-icon.png") center left no-repeat;
181 padding-left: 16px;
182 }
183
184 textarea {
185 width: 100%;
186 }
187
188 .pBody li, .pBody ul {
189 padding-left: 0em;
190 margin-left: 0.5em;
191 }
192
193 pre {
194 margin: 2em;
195 border: solid 1px black;
196 }
197
198 h1.firstHeading, h2 {
199 border-bottom: solid 1px black;
200 }
201 #bodyContent a[href ^="http://"],
202 #bodyContent a[href ^="gopher://"] {
203 background: url("external.png") center right no-repeat;
204 padding-right: 13px;
205 }
206 #bodyContent a[href ^="https://"],
207 .link-https {
208 background: url("lock_icon.gif") center right no-repeat;
209 padding-right: 16px;
210 }
211 #bodyContent a[href ^="mailto:"],
212 .link-mailto {
213 background: url("mail_icon.gif") center right no-repeat;
214 padding-right: 18px;
215 }
216 #bodyContent a[href ^="news://"] {
217 background: url("news_icon.png") center right no-repeat;
218 padding-right: 18px;
219 }
220 #bodyContent a[href ^="ftp://"],
221 .link-ftp {
222 background: url("file_icon.gif") center right no-repeat;
223 padding-right: 18px;
224 }
225 #bodyContent a[href ^="irc://"],
226 #bodyContent a.extiw[href ^="irc://"],
227 #bodyContent a[href ^="ircs://"],
228 #bodyContent a.extiw[href ^="ircs://"],
229 .link-irc {
230 background: url("discussionitem_icon.gif") center right no-repeat;
231 padding-right: 18px;
232 }
233
234 #bodyContent a.extiw,
235 #bodyContent a.extiw:active {
236 color: #5E7CFF;
237 background: none;
238 padding: 0;
239 }
240
241 td.diff-addedline {
242 background-color: #B9FFB0;
243 }
244
245 td.diff-deletedline {
246 background-color: #f8ffaa;
247 }
248
249 .diffchange { background-color: #FFCDF3; text-decoration: none; }
250
251 #pagehistory li { border: none; }
252
253 div.tocindent {
254 margin-left: 2em;
255 }
256 #toc {
257 text-align: left;
258 border-top: solid 1px black;
259 border-bottom: solid 1px black;
260 }
261
262 /* @noflip */div.floatright, table.floatright {
263 margin: 0;
264 border-width: 0.5em 0 0.8em 1.4em;
265 }
266 div.floatright p { font-style: italic; }
267 /* @noflip */div.floatleft, table.floatleft {
268 margin: 0.3em 0.5em 0.5em 0;
269 border-width: 0.5em 1.4em 0.8em 0;
270 }
271 div.floatleft p { font-style: italic; }
272 /* thumbnails */
273 div.thumb {
274 margin-bottom: 0.5em;
275 width: auto;
276 }
277 div.thumbinner {
278 padding: 3px !important;
279 text-align: center;
280 overflow: hidden;
281 }
282
283 html .thumbcaption {
284 border: none;
285 text-align: left;
286 line-height: 1.4;
287 padding: 0.3em 0 0.1em 0;
288 }
289 div.magnify {
290 float: right;
291 border: none !important;
292 background: none !important;
293 }
294 div.magnify a, div.magnify img {
295 display: block;
296 border: none !important;
297 background: none !important;
298 }
299 /* @noflip */div.tright {
300 border-width: 0.5em 0 0.8em 1.4em;
301 }
302 /* @noflip */div.tleft {
303 margin-right:0.5em;
304 border-width: 0.5em 1.4em 0.8em 0;
305 }
306 img.thumbborder {
307 border: 1px solid #dddddd;
308 }
309
310 a.stub { color: #772233; }
311 a.new,
312 #p-personal a.new {
313 text-decoration: line-through;
314 }
315 li.new {
316 text-decoration: line-through;
317 }
318 .catlinks {
319 text-align: center;
320 width: 80%;
321 margin-left: auto;
322 margin-right: auto;
323 padding: 3px;
324 }
325
326 #mytabs {
327 background-color: inherit;
328 }
329 #p-cactions {
330 background-color: inherit;
331 }
332 div.printfooter {
333 display: none;
334 }
335
336 #n-portal,
337 #n-currentevents,
338 #n-help,
339 #n-sitesupport {
340 display: none;
341 }
342
343 #preftoc {
344 float: left;
345 margin: 1em;
346 width: 13em;
347 }
348 #preftoc li {
349 }
350 #preftoc li.selected {
351 border: 1px dashed #aaa;
352 }
353 #preftoc a,
354 #preftoc a:active {
355 display: block;
356 }
357 div.htmlform-tip {
358 font-size: 95%;
359 margin-top: 1em;
360 }
361
362 #mw_trackbacks {
363 border-style: groove;
364 }
365
366 #jump-to-nav {
367 display: none;
368 }
369
370 table.collapsed tr.collapsable {
371 display: none;
372 }
373
374 .templatesUsed { margin-top: 1.5em; }
375