]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - skins/simple/main.css
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.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 #pagehistory li { border: none; }
249
250 span.urlexpansion {
251   display: none;
252 }
253
254 div.tocindent {
255   margin-left: 2em;
256 }
257 #toc {
258   text-align: left;
259   border-top: solid 1px black;
260   border-bottom: solid 1px black;
261 }
262
263 div.floatright, table.floatright {
264     clear: right;
265     float: right;
266     margin: 0;
267     position: relative;
268     border-width: 0.5em 0 0.8em 1.4em;
269 }
270 div.floatright p { font-style: italic; }
271 div.floatleft, table.floatleft {
272     float: left;
273     clear: left;
274     margin: 0.3em 0.5em 0.5em 0;
275     position: relative;
276     border-width: 0.5em 1.4em 0.8em 0;
277 }
278 div.floatleft p { font-style: italic; }
279 /* thumbnails */
280 div.thumb {
281     margin-bottom: 0.5em;
282     width: auto;
283 }
284 div.thumbinner {
285     padding: 3px !important;
286     text-align: center;
287     overflow: hidden;
288 }
289
290 html .thumbcaption {
291     border: none;
292     text-align: left;
293     line-height: 1.4;
294     padding: 0.3em 0 0.1em 0;
295 }
296 div.magnify {
297     float: right;
298     border: none !important;
299     background: none !important;
300 }
301 div.magnify a, div.magnify img {
302     display: block;
303     border: none !important;
304     background: none !important;
305 }
306 div.tright {
307     clear: right;
308     float: right;
309     border-width: 0.5em 0 0.8em 1.4em;
310 }
311 div.tleft {
312     float: left;
313     clear: left;
314     margin-right:0.5em;
315     border-width: 0.5em 1.4em 0.8em 0;
316 }
317 img.thumbborder {
318         border: 1px solid #dddddd;
319 }
320
321 a.stub { color: #772233; }
322 a.new,
323 #p-personal a.new {
324         text-decoration: line-through;
325 }
326 li.new {
327         text-decoration: line-through;
328 }
329 .catlinks {
330   text-align: center;
331   width: 80%;
332   margin-left: auto;
333   margin-right: auto;
334   padding: 3px;
335 }
336
337 #mytabs {
338   background-color: inherit;
339 }
340 #p-cactions {
341   background-color: inherit;
342 }
343 div.printfooter {
344   display: none;
345 }
346
347 #n-portal,
348 #n-currentevents,
349 #n-help,
350 #n-sitesupport {
351   display: none;
352 }
353
354 #preftoc {
355     float: left;
356     margin: 1em;
357     width: 13em;
358 }
359 #preftoc li {
360 }
361 #preftoc li.selected {
362     border: 1px dashed #aaa;
363 }
364 #preftoc a,
365 #preftoc a:active {
366     display: block;
367 }
368 div.htmlform-tip {
369     font-size: 95%;
370     margin-top: 1em;
371 }
372
373 #mw_trackbacks {
374         border-style: groove;
375         padding: 0.2em;
376 }
377
378 #jump-to-nav {
379   display: none;
380 }
381
382 table.collapsed tr.collapsable {
383         display: none;
384 }
385
386 .editsection {
387         float: right;
388         margin-left: 5px;
389 }
390
391 .templatesUsed { margin-top: 1.5em; }
392