8b65d4def5ed6f6eac56c2e8a4399c2eeea7691f
[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 .link-irc {
228 background: url("discussionitem_icon.gif") center right no-repeat;
229 padding-right: 18px;
230 }
231
232 #bodyContent a.extiw,
233 #bodyContent a.extiw:active {
234 color: #5E7CFF;
235 background: none;
236 padding: 0;
237 }
238
239 td.diff-addedline {
240 background-color: #B9FFB0;
241 }
242
243 td.diff-deletedline {
244 background-color: #f8ffaa;
245 }
246
247 .diffchange { background-color: #FFCDF3; text-decoration: none; }
248
249 #pagehistory li { border: none; }
250
251 div.tocindent {
252 margin-left: 2em;
253 }
254 #toc {
255 text-align: left;
256 border-top: solid 1px black;
257 border-bottom: solid 1px black;
258 }
259
260 div.floatright, table.floatright {
261 clear: right;
262 float: right;
263 margin: 0;
264 position: relative;
265 border-width: 0.5em 0 0.8em 1.4em;
266 }
267 div.floatright p { font-style: italic; }
268 div.floatleft, table.floatleft {
269 float: left;
270 clear: left;
271 margin: 0.3em 0.5em 0.5em 0;
272 position: relative;
273 border-width: 0.5em 1.4em 0.8em 0;
274 }
275 div.floatleft p { font-style: italic; }
276 /* thumbnails */
277 div.thumb {
278 margin-bottom: 0.5em;
279 width: auto;
280 }
281 div.thumbinner {
282 padding: 3px !important;
283 text-align: center;
284 overflow: hidden;
285 }
286
287 html .thumbcaption {
288 border: none;
289 text-align: left;
290 line-height: 1.4;
291 padding: 0.3em 0 0.1em 0;
292 }
293 div.magnify {
294 float: right;
295 border: none !important;
296 background: none !important;
297 }
298 div.magnify a, div.magnify img {
299 display: block;
300 border: none !important;
301 background: none !important;
302 }
303 div.tright {
304 clear: right;
305 float: right;
306 border-width: 0.5em 0 0.8em 1.4em;
307 }
308 div.tleft {
309 float: left;
310 clear: left;
311 margin-right:0.5em;
312 border-width: 0.5em 1.4em 0.8em 0;
313 }
314 img.thumbborder {
315 border: 1px solid #dddddd;
316 }
317
318 a.stub { color: #772233; }
319 a.new,
320 #p-personal a.new {
321 text-decoration: line-through;
322 }
323 li.new {
324 text-decoration: line-through;
325 }
326 .catlinks {
327 text-align: center;
328 width: 80%;
329 margin-left: auto;
330 margin-right: auto;
331 padding: 3px;
332 }
333
334 #mytabs {
335 background-color: inherit;
336 }
337 #p-cactions {
338 background-color: inherit;
339 }
340 div.printfooter {
341 display: none;
342 }
343
344 #n-portal,
345 #n-currentevents,
346 #n-help,
347 #n-sitesupport {
348 display: none;
349 }
350
351 #preftoc {
352 float: left;
353 margin: 1em;
354 width: 13em;
355 }
356 #preftoc li {
357 }
358 #preftoc li.selected {
359 border: 1px dashed #aaa;
360 }
361 #preftoc a,
362 #preftoc a:active {
363 display: block;
364 }
365 div.htmlform-tip {
366 font-size: 95%;
367 margin-top: 1em;
368 }
369
370 #mw_trackbacks {
371 border-style: groove;
372 }
373
374 #jump-to-nav {
375 display: none;
376 }
377
378 table.collapsed tr.collapsable {
379 display: none;
380 }
381
382 .templatesUsed { margin-top: 1.5em; }
383