Merge "Add ss_active_users in SiteStats::isSane"
[mediawiki.git] / skins / common / commonPrint.css
blob9ea89d91b13440318a380bbb74847ab9852bc0f5
1 /**
2 * MediaWiki Print style sheet for CSS2-capable browsers.
3 * Copyright Gabriel Wicke, http://www.aulinx.de/
5 * Derived from the plone (http://plone.org/) styles
6 * Copyright Alexander Limi
7 */
9 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
10 a.stub,
11 a.new {
12 color: #ba0000;
13 text-decoration: none;
16 #toc {
17 border: 1px solid #aaaaaa;
18 background-color: #f9f9f9;
19 padding: 5px;
22 /* images */
23 div.floatright {
24 float: right;
25 clear: right;
26 position: relative;
27 margin: 0.5em 0 0.8em 1.4em;
29 div.floatright p {
30 font-style: italic;
32 div.floatleft {
33 float: left;
34 clear: left;
35 position: relative;
36 margin: 0.5em 1.4em 0.8em 0;
38 div.floatleft p {
39 font-style: italic;
41 div.center {
42 text-align: center;
45 /* thumbnails */
46 div.thumb {
47 border: none;
48 width: auto;
49 margin-top: 0.5em;
50 margin-bottom: 0.8em;
51 background-color: transparent;
53 div.thumbinner {
54 border:1px solid #cccccc;
55 padding: 3px !important;
56 background-color: White;
57 font-size: 94%;
58 text-align: center;
59 overflow: hidden;
61 html .thumbimage {
62 border: 1px solid #cccccc;
64 html .thumbcaption {
65 border: none;
66 text-align: left;
67 line-height: 1.4em;
68 padding: 3px !important;
69 font-size: 94%;
72 div.magnify {
73 display: none;
75 /* @noflip */
76 div.tright {
77 float: right;
78 clear: right;
79 margin: 0.5em 0 0.8em 1.4em;
81 /* @noflip */
82 div.tleft {
83 float: left;
84 clear: left;
85 margin: 0.5em 1.4em 0.8em 0;
87 img.thumbborder {
88 border: 1px solid #dddddd;
91 /* table standards */
92 table.rimage {
93 float: right;
94 width: 1pt;
95 position: relative;
96 margin-left: 1em;
97 margin-bottom: 1em;
98 text-align: center;
101 body {
102 background: white;
103 color: black;
104 margin: 0;
105 padding: 0;
108 .noprint,
109 div#jump-to-nav,
110 .mw-jump,
111 div.top,
112 div#column-one,
113 #colophon,
114 .mw-editsection,
115 .editsection,
116 .toctoggle,
117 .tochidden,
118 div#f-poweredbyico,
119 div#f-copyrightico,
120 li#viewcount,
121 li#about,
122 li#disclaimer,
123 li#mobileview,
124 li#privacy,
125 #footer-places,
126 .mw-hidden-catlinks,
127 tr.mw-metadata-show-hide-extended,
128 span.mw-filepage-other-resolutions,
129 #filetoc,
130 .usermessage,
131 #mw-navigation {
132 /* Hides all the elements irrelevant for printing */
133 display: none;
136 ul {
137 list-style-type: square;
140 #content {
141 background: none;
142 border: none !important;
143 padding: 0 !important;
144 margin: 0 !important;
145 direction: ltr;
147 #footer {
148 background : white;
149 color : black;
150 margin-top: 1em;
151 border-top: 1px solid #AAA;
152 direction: ltr;
155 h1, h2, h3, h4, h5, h6 {
156 font-weight: bold;
160 margin: 1em 0;
161 line-height: 1.2em;
164 pre, .mw-code {
165 border: 1pt dashed black;
166 white-space: pre;
167 font-size: 8pt;
168 overflow: auto;
169 padding: 1em 0;
170 background: white;
171 color: black;
174 table.listing,
175 table.listing td {
176 border: 1pt solid black;
177 border-collapse: collapse;
181 color: black !important;
182 background: none !important;
183 padding: 0 !important;
186 a:link, a:visited {
187 color: #520;
188 background: transparent;
189 text-decoration: underline;
192 #content a.external.text:after,
193 #content a.external.autonumber:after {
194 /* Expand URLs for printing */
195 content: " (" attr(href) ")";
198 #globalWrapper {
199 width: 100% !important;
200 min-width: 0 !important;
203 #content {
204 background: white;
205 color: black;
208 #column-content {
209 margin: 0 !important;
212 #column-content #content {
213 padding: 1em;
214 margin: 0 !important;
217 /* MSIE/Win doesn't understand 'inherit' */
219 a.external,
220 a.new,
221 a.stub {
222 color: black !important;
223 text-decoration: none !important;
226 /* Continue ... */
228 a.external,
229 a.new,
230 a.stub {
231 color: inherit !important;
232 text-decoration: inherit !important;
235 img {
236 border: none;
237 vertical-align: middle;
240 /* math */
241 span.texhtml {
242 font-family: serif;
245 #siteNotice {
246 display: none;
249 /* Galleries (see shared.css for more info) */
250 li.gallerybox {
251 vertical-align: top;
252 display: -moz-inline-box;
253 display: inline-block;
256 ul.gallery, li.gallerybox {
257 zoom: 1;
258 *display: inline;
261 ul.gallery {
262 margin: 2px;
263 padding: 2px;
264 display: block;
267 li.gallerycaption {
268 font-weight: bold;
269 text-align: center;
270 display: block;
271 word-wrap: break-word;
274 li.gallerybox div.thumb {
275 text-align: center;
276 border: 1px solid #ccc;
277 margin: 2px;
280 div.gallerytext {
281 overflow: hidden;
282 font-size: 94%;
283 padding: 2px 4px;
284 word-wrap: break-word;
288 * Diff rendering
290 table.diff {
291 background: white;
293 td.diff-otitle {
294 background: #ffffff;
296 td.diff-ntitle {
297 background: #ffffff;
299 td.diff-addedline {
300 background: #ccffcc;
301 font-size: smaller;
302 border: solid 2px black;
304 td.diff-deletedline {
305 background: #ffffaa;
306 font-size: smaller;
307 border: dotted 2px black;
309 td.diff-context {
310 background: #eeeeee;
311 font-size: smaller;
313 .diffchange {
314 color: silver;
315 font-weight: bold;
316 text-decoration: underline;
320 * Table rendering
321 * As on shared.css but with white background.
323 table.wikitable,
324 table.mw_metadata {
325 margin: 1em 0;
326 border: 1px #aaa solid;
327 background: white;
328 border-collapse: collapse;
330 table.wikitable > tr > th, table.wikitable > tr > td,
331 table.wikitable > * > tr > th, table.wikitable > * > tr > td,
332 .mw_metadata th, .mw_metadata td {
333 border: 1px #aaa solid;
334 padding: 0.2em;
336 table.wikitable > tr > th,
337 table.wikitable > * > tr > th,
338 .mw_metadata th {
339 text-align: center;
340 background: white;
341 font-weight: bold;
343 table.wikitable > caption,
344 .mw_metadata caption {
345 font-weight: bold;
348 a.sortheader {
349 margin: 0 0.3em;
352 /* Some pagination options */
353 .wikitable, .thumb, img {
354 page-break-inside: avoid;
356 h2, h3, h4, h5, h6 {
357 page-break-after: avoid;
360 widows: 3;
361 orphans: 3;
365 * Categories
367 .catlinks ul {
368 display: inline;
369 margin: 0;
370 padding: 0;
371 list-style: none;
372 list-style-type: none;
373 list-style-image: none;
374 vertical-align: middle !ie;
377 .catlinks li {
378 display: inline-block;
379 line-height: 1.15em;
380 padding: 0 .4em;
381 border-left: 1px solid #AAA;
382 margin: 0.1em 0;
383 zoom: 1;
384 display: inline !ie;
387 .catlinks li:first-child {
388 padding-left: .2em;
389 border-left: none;