* API: Allow for query extensions
[mediawiki.git] / skins / common / commonPrint.css
blob4fddafaad9d967543d2748b68546330c0a2dcb35
1 /*
2 ** MediaWiki Print style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke, http://www.aulinx.de/
4 **
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{ color:#ba0000; text-decoration:none; }
13 #toc {
14 /*border:1px solid #2f6fab;*/
15 border:1px solid #aaaaaa;
16 background-color:#f9f9f9;
17 padding:5px;
19 .tocindent {
20 margin-left: 2em;
22 .tocline {
23 margin-bottom: 0px;
26 /* images */
27 div.floatright {
28 float: right;
29 clear: right;
30 margin: 0;
31 position:relative;
32 border: 0.5em solid White;
33 border-width: 0.5em 0 0.8em 1.4em;
35 div.floatright p { font-style: italic;}
36 div.floatleft {
37 float: left;
38 margin: 0.3em 0.5em 0.5em 0;
39 position:relative;
40 border: 0.5em solid White;
41 border-width: 0.5em 1.4em 0.8em 0;
43 div.floatleft p { font-style: italic; }
44 /* thumbnails */
45 div.thumb {
46 margin-bottom: 0.5em;
47 border-style: solid; border-color: White;
48 width: auto;
49 overflow: hidden;
51 div.thumb div {
52 border:1px solid #cccccc;
53 padding: 3px !important;
54 background-color:#f9f9f9;
55 font-size: 94%;
56 text-align: center;
58 div.thumb div a img {
59 border:1px solid #cccccc;
61 div.thumb div div.thumbcaption {
62 border: none;
63 padding: 0.3em 0 0.1em 0;
65 div.magnify { display: none; }
66 div.tright {
67 float: right;
68 clear: right;
69 border-width: 0.5em 0 0.8em 1.4em;
71 div.tleft {
72 float: left;
73 margin-right:0.5em;
74 border-width: 0.5em 1.4em 0.8em 0;
77 /* table standards */
78 table.rimage {
79 float:right;
80 width:1pt;
81 position:relative;
82 margin-left:1em;
83 margin-bottom:1em;
84 text-align:center;
87 body {
88 background: White;
89 /*font-size: 11pt !important;*/
90 color: Black;
91 margin: 0;
92 padding: 0;
95 .noprint,
96 div#jump-to-nav,
97 div.top,
98 div#column-one,
99 #colophon,
100 .editsection,
101 .toctoggle,
102 .tochidden,
103 div#f-poweredbyico,
104 div#f-copyrightico,
105 li#viewcount,
106 li#about,
107 li#disclaimer,
108 li#privacy {
109 /* Hides all the elements irrelevant for printing */
110 display: none;
113 ul {
114 list-style-type: square;
117 #content {
118 background: none;
119 border: none ! important;
120 padding: 0 ! important;
121 margin: 0 ! important;
123 #footer {
124 background : white;
125 color : black;
126 border-top: 1px solid black;
129 h1, h2, h3, h4, h5, h6
131 font-weight: bold;
134 p, .documentDescription {
135 margin: 1em 0 ! important;
136 line-height: 1.2em;
139 .tocindent p {
140 margin: 0 0 0 0 ! important;
143 pre {
144 border: 1pt dashed black;
145 white-space: pre;
146 font-size: 8pt;
147 overflow: auto;
148 padding: 1em 0;
149 background : white;
150 color : black;
153 table.listing,
154 table.listing td {
155 border: 1pt solid black;
156 border-collapse: collapse;
160 color: Black !important;
161 background: none !important;
162 padding: 0 !important;
165 a:link, a:visited {
166 color: #520;
167 background: transparent;
168 text-decoration: underline;
171 #content a.external.text:after, #content a.external.autonumber:after {
172 /* Expand URLs for printing */
173 content: " (" attr(href) ") ";
176 #globalWrapper {
177 width: 100% !important;
178 min-width: 0 !important;
181 #content {
182 background : white;
183 color : black;
186 #column-content {
187 margin: 0 !important;
190 #column-content #content {
191 padding: 1em;
192 margin: 0 !important;
194 /* MSIE/Win doesn't understand 'inherit' */
195 a, a.external, a.new, a.stub {
196 color: black ! important;
197 text-decoration: none ! important;
200 /* Continue ... */
201 a, a.external, a.new, a.stub {
202 color: inherit ! important;
203 text-decoration: inherit ! important;
206 img { border: none; }
207 img.tex { vertical-align: middle; }
208 span.texhtml { font-family: serif; }
210 div.townBox {
211 position:relative;
212 float:right;
213 background:White;
214 margin-left:1em;
215 border: 1px solid gray;
216 padding:0.3em;
217 width: 200px;
218 overflow: hidden;
219 clear: right;
221 div.townBox dl {
222 padding: 0;
223 margin: 0 0 0.3em 0;
224 font-size: 96%;
226 div.townBox dl dt {
227 background: none;
228 margin: 0.4em 0 0 0;
230 div.townBox dl dd {
231 margin: 0.1em 0 0 1.1em;
232 background-color: #f3f3f3;
235 #siteNotice { display: none; }
237 table.gallery {
238 border: 1px solid #cccccc;
239 margin: 2px;
240 padding: 2px;
241 background-color:#ffffff;
244 table.gallery tr {
245 vertical-align:top;
248 div.gallerybox {
249 border: 1px solid #cccccc;
250 margin: 2px;
251 background-color:#f9f9f9;
252 width: 150px;
255 div.gallerybox div.thumb {
256 text-align: center;
257 border: 1px solid #cccccc;
258 margin: 2px;
261 div.gallerytext {
262 font-size: 94%;
263 padding: 2px 4px;
267 ** Diff rendering
269 table.diff { background:white; }
270 td.diff-otitle { background:#ffffff; }
271 td.diff-ntitle { background:#ffffff; }
272 td.diff-addedline {
273 background:#ccffcc;
274 font-size: smaller;
275 border: solid 2px black;
277 td.diff-deletedline {
278 background:#ffffaa;
279 font-size: smaller;
280 border: dotted 2px black;
282 td.diff-context {
283 background:#eeeeee;
284 font-size: smaller;
286 .diffchange {
287 color: silver;
288 font-weight: bold;
289 text-decoration: underline;