It's not IE, it's the standards! We aren't supposed to have names that conflict...
[mediawiki.git] / skins / simple / main.css
blobcecc9ee9757249ec10b9ee03481c7bcd6c82673e
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 */
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 }
11 /* Now the custom parts */
13 /* Make edit sections (which are inside h# tags) normal-sized */
14 .editsection {
15 font-weight: normal;
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% }
24 #toolbar {
25 display: none;
28 div.center {
29 text-align: center;
32 #contentSub {
33 padding-left: 2em;
36 a {
37 text-decoration: none;
40 a:hover {
41 text-decoration: underline;
44 #column-content {
45 width: 100%;
46 float: right;
47 margin: 0 0 0.6em -12.2em;
48 padding:0;
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;
58 #column-one {
59 position: absolute;
60 top: 0px; left: 0px;
63 #footer {
64 display: none;
67 body {
68 margin: 0;
69 padding: 0;
72 #globalWrapper {
73 width: 100%;
74 height: 100%;
75 margin: 0;
76 padding: 0;
78 .visualClear { clear: both; }
80 img {
81 border: none;
83 p {
84 margin: 0.4em 0em 0.5em 0em;
85 line-height: 1.5em;
87 p img { margin: 0; }
89 h1, h2, h3, h4, h5, h6 {
90 margin: 0;
91 padding-top: 0.5em;
92 padding-bottom: 0.17em;
94 fieldset {
95 margin: 1em 0em 1em 0em;
96 padding: 0em 1em 1em 1em;
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;
107 .error {
108 color: red;
109 font-size: larger;
112 table.rimage {
113 float:right;
114 position:relative;
115 margin-left:1em;
116 margin-bottom:1em;
117 text-align:center;
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;
129 div.townBox dl {
130 padding: 0;
131 margin: 0 0 0.3em 0;
133 div.townBox dl dt {
134 background: none;
135 margin: 0.4em 0 0 0;
137 div.townBox dl dd {
138 margin: 0.1em 0 0 1.1em;
140 .portlet {
141 border: none;
142 float: none;
143 padding: 0;
144 width: 11.8em;
145 overflow: hidden;
147 .portlet h4 {
148 font-weight: normal;
149 white-space: nowrap;
151 .portlet h5 {
152 padding: 0em 1em 0em 0.5em;
153 display: inline;
154 height: 1em;
155 font-weight: normal;
156 white-space: nowrap;
158 .portlet h6 {
159 padding: 0em 1em 0em 1em;
160 display: block;
161 height: 1.2em;
162 font-weight: normal;
163 white-space: nowrap;
165 .pBody {
166 border-collapse: collapse;
167 padding: 0 0.8em 0.3em 0.5em;
169 .portlet h1,
170 .portlet h2,
171 .portlet h3,
172 .portlet h4 {
173 margin: 0;
174 padding: 0;
175 font-size: small;
178 #p-search .pBody {
179 text-align: center;
182 #searchInput {
183 width: 100%;
184 clear: both;
185 margin: 0 0 0 0;
188 input.searchButton {
189 margin-top:1px;
190 padding: 0 0.4em;
191 cursor: pointer;
194 #p-search .pBody {
195 padding: 0.5em 0.4em 0.4em 0.4em;
198 textarea {
199 width: 100%;
202 .pBody li, .pBody ul {
203 padding-left: 0em;
204 margin-left: 0.5em;
207 pre {
208 margin: 2em;
209 border: solid 1px black;
212 h1.firstHeading, h2 {
213 border-bottom: solid 1px black;
215 #bodyContent a[href ^="http://"],
216 #bodyContent a[href ^="gopher://"] {
217 background: url("external.png") center right no-repeat;
218 padding-right: 13px;
220 #bodyContent a[href ^="https://"],
221 .link-https {
222 background: url("lock_icon.gif") center right no-repeat;
223 padding-right: 16px;
225 #bodyContent a[href ^="mailto:"],
226 .link-mailto {
227 background: url("mail_icon.gif") center right no-repeat;
228 padding-right: 18px;
230 #bodyContent a[href ^="news://"] {
231 background: url("news_icon.png") center right no-repeat;
232 padding-right: 18px;
234 #bodyContent a[href ^="ftp://"],
235 .link-ftp {
236 background: url("file_icon.gif") center right no-repeat;
237 padding-right: 18px;
239 #bodyContent a[href ^="irc://"],
240 .link-irc {
241 background: url("discussionitem_icon.gif") center right no-repeat;
242 padding-right: 18px;
245 #bodyContent a.extiw,
246 #bodyContent a.extiw:active {
247 color: #5E7CFF;
248 background: none;
249 padding: 0;
252 td.diff-addedline {
253 background-color: #B9FFB0;
256 td.diff-deletedline {
257 background-color: #f8ffaa;
260 .diffchange { background-color: #FFCDF3; text-decoration: none; }
261 .autocomment { color: grey; }
262 #pagehistory span.user {
263 margin-left: 1.4em;
264 margin-right: 0.4em;
266 #pagehistory span.minor { font-weight: bold; }
267 #pagehistory li.selected {
268 background-color:#f9f9f9;
269 border:1px dashed #aaaaaa;
271 span.urlexpansion {
272 display: none;
275 div.tocindent {
276 margin-left: 2em;
278 #toc {
279 text-align: left;
280 border-top: solid 1px black;
281 border-bottom: solid 1px black;
284 div.floatright, table.floatright {
285 clear: right;
286 float: right;
287 margin: 0;
288 position: relative;
289 border-width: 0.5em 0 0.8em 1.4em;
291 div.floatright p { font-style: italic; }
292 div.floatleft, table.floatleft {
293 float: left;
294 clear: left;
295 margin: 0.3em 0.5em 0.5em 0;
296 position: relative;
297 border-width: 0.5em 1.4em 0.8em 0;
299 div.floatleft p { font-style: italic; }
300 /* thumbnails */
301 div.thumb {
302 margin-bottom: 0.5em;
303 width: auto;
305 div.thumb div {
306 padding: 3px !important;
307 text-align: center;
308 overflow: hidden;
311 div.thumb div div.thumbcaption {
312 border: none;
313 text-align: left;
314 line-height: 1.4;
315 padding: 0.3em 0 0.1em 0;
317 div.magnify {
318 float: right;
319 border: none !important;
320 background: none !important;
322 div.magnify a, div.magnify img {
323 display: block;
324 border: none !important;
325 background: none !important;
327 div.tright {
328 clear: right;
329 float: right;
330 border-width: 0.5em 0 0.8em 1.4em;
332 div.tleft {
333 float: left;
334 clear: left;
335 margin-right:0.5em;
336 border-width: 0.5em 1.4em 0.8em 0;
338 img.thumbborder {
339 border: 1px solid #dddddd;
342 a.stub { color: #772233; }
343 a.new,
344 #p-personal a.new {
345 text-decoration: line-through;
347 li.new {
348 text-decoration: line-through;
350 .catlinks {
351 text-align: center;
352 width: 80%;
353 margin-left: auto;
354 margin-right: auto;
355 padding: 3px;
358 #mytabs {
359 background-color: inherit;
361 #p-cactions {
362 background-color: inherit;
364 div.printfooter {
365 display: none;
369 #ca-addsection a:before {
370 content: "Add section";
371 font-size: 10pt;
374 #ca-addsection a {
375 font-size: 0px;
378 #n-portal,
379 #n-currentevents,
380 #n-help,
381 #n-sitesupport {
382 display: none;
385 span.searchmatch {
386 font-weight: bold;
389 #preftoc {
390 float: left;
391 margin: 1em;
392 width: 13em;
394 #preftoc li {
396 #preftoc li.selected {
397 border: 1px dashed #aaa;
399 #preftoc a,
400 #preftoc a:active {
401 display: block;
403 #prefcontrol {
404 clear: both;
405 float: left;
406 margin-top: 1em;
408 div.prefsectiontip {
409 font-size: 95%;
410 margin-top: 1em;
413 #mw_trackbacks {
414 border-style: groove;
415 padding: 0.2em;
418 #jump-to-nav {
419 display: none;
422 table.collapsed tr.collapsable {
423 display: none;
426 .editsection {
427 float: right;
428 margin-left: 5px;
431 .templatesUsed { margin-top: 1.5em; }
433 /* Recreating-deleted-page/reupload file warning and log entries */
434 div#mw-upload-deleted-warn ul li,
435 div#mw-recreate-deleted-warn ul li {
436 font-size: 95%;
438 div.mw-recreate-deleted-control {
439 float: right;
440 font-size: 90%;