Use prefixedText(), rather than IRC clean text for replace call on comment to make...
[mediawiki.git] / skins / common / commonPrint.css
blobb0aad3d1fee42f9cbaccfbca53b02912880b5870
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;
76 img.thumbborder {
77 border: 1px solid #dddddd;
80 /* table standards */
81 table.rimage {
82 float:right;
83 width:1pt;
84 position:relative;
85 margin-left:1em;
86 margin-bottom:1em;
87 text-align:center;
90 body {
91 background: White;
92 /*font-size: 11pt !important;*/
93 color: Black;
94 margin: 0;
95 padding: 0;
98 .noprint,
99 div#jump-to-nav,
100 div.top,
101 div#column-one,
102 #colophon,
103 .editsection,
104 .toctoggle,
105 .tochidden,
106 div#f-poweredbyico,
107 div#f-copyrightico,
108 li#viewcount,
109 li#about,
110 li#disclaimer,
111 li#privacy {
112 /* Hides all the elements irrelevant for printing */
113 display: none;
116 ul {
117 list-style-type: square;
120 #content {
121 background: none;
122 border: none ! important;
123 padding: 0 ! important;
124 margin: 0 ! important;
126 #footer {
127 background : white;
128 color : black;
129 border-top: 1px solid black;
132 h1, h2, h3, h4, h5, h6 {
133 font-weight: bold;
136 p, .documentDescription {
137 margin: 1em 0 ! important;
138 line-height: 1.2em;
141 .tocindent p {
142 margin: 0 0 0 0 ! important;
145 pre {
146 border: 1pt dashed black;
147 white-space: pre;
148 font-size: 8pt;
149 overflow: auto;
150 padding: 1em 0;
151 background : white;
152 color : black;
155 table.listing,
156 table.listing td {
157 border: 1pt solid black;
158 border-collapse: collapse;
162 color: Black !important;
163 background: none !important;
164 padding: 0 !important;
167 a:link, a:visited {
168 color: #520;
169 background: transparent;
170 text-decoration: underline;
173 #content a.external.text:after, #content a.external.autonumber:after {
174 /* Expand URLs for printing */
175 content: " (" attr(href) ") ";
178 #globalWrapper {
179 width: 100% !important;
180 min-width: 0 !important;
183 #content {
184 background : white;
185 color : black;
188 #column-content {
189 margin: 0 !important;
192 #column-content #content {
193 padding: 1em;
194 margin: 0 !important;
196 /* MSIE/Win doesn't understand 'inherit' */
197 a, a.external, a.new, a.stub {
198 color: black ! important;
199 text-decoration: none ! important;
202 /* Continue ... */
203 a, a.external, a.new, a.stub {
204 color: inherit ! important;
205 text-decoration: inherit ! important;
208 img { border: none; }
209 img.tex { vertical-align: middle; }
210 span.texhtml { font-family: serif; }
212 div.townBox {
213 position:relative;
214 float:right;
215 background:White;
216 margin-left:1em;
217 border: 1px solid gray;
218 padding:0.3em;
219 width: 200px;
220 overflow: hidden;
221 clear: right;
223 div.townBox dl {
224 padding: 0;
225 margin: 0 0 0.3em 0;
226 font-size: 96%;
228 div.townBox dl dt {
229 background: none;
230 margin: 0.4em 0 0 0;
232 div.townBox dl dd {
233 margin: 0.1em 0 0 1.1em;
234 background-color: #f3f3f3;
237 #siteNotice { display: none; }
239 table.gallery {
240 border: 1px solid #cccccc;
241 margin: 2px;
242 padding: 2px;
243 background-color:#ffffff;
246 table.gallery tr {
247 vertical-align:top;
250 div.gallerybox {
251 border: 1px solid #cccccc;
252 margin: 2px;
253 background-color:#f9f9f9;
254 width: 150px;
257 div.gallerybox div.thumb {
258 text-align: center;
259 border: 1px solid #cccccc;
260 margin: 2px;
263 div.gallerytext {
264 font-size: 94%;
265 padding: 2px 4px;
269 ** Diff rendering
271 table.diff { background:white; }
272 td.diff-otitle { background:#ffffff; }
273 td.diff-ntitle { background:#ffffff; }
274 td.diff-addedline {
275 background:#ccffcc;
276 font-size: smaller;
277 border: solid 2px black;
279 td.diff-deletedline {
280 background:#ffffaa;
281 font-size: smaller;
282 border: dotted 2px black;
284 td.diff-context {
285 background:#eeeeee;
286 font-size: smaller;
288 .diffchange {
289 color: silver;
290 font-weight: bold;
291 text-decoration: underline;