Wrap reference in an array
[mediawiki.git] / skins / common / commonPrint.css
blob5ad5e663724f1e9103711d636a1a68855c9ca7a2
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;
25 .toctoggle, .editsection {
26 font-size: smaller;
29 /* images */
30 div.floatright {
31 float: right;
32 margin: 0;
33 position:relative;
34 border: 0.5em solid White;
35 border-width: 0.5em 0 0.8em 1.4em;
37 div.floatright p { font-style: italic;}
38 div.floatleft {
39 float: left;
40 margin: 0.3em 0.5em 0.5em 0;
41 position:relative;
42 border: 0.5em solid White;
43 border-width: 0.5em 1.4em 0.8em 0;
45 div.floatleft p { font-style: italic; }
46 /* thumbnails */
47 div.thumb {
48 margin-bottom: 0.5em;
49 border-style: solid; border-color: White;
50 width: auto;
51 overflow: hidden;
53 div.thumb div {
54 border:1px solid #cccccc;
55 padding: 3px !important;
56 background-color:#f9f9f9;
57 font-size: 94%;
58 text-align: center;
60 div.thumb div a img {
61 border:1px solid #cccccc;
63 div.thumb div div.thumbcaption {
64 border: none;
65 padding: 0.3em 0 0.1em 0;
67 div.magnify { display: none; }
68 div.tright {
69 float: right;
70 border-width: 0.5em 0 0.8em 1.4em;
72 div.tleft {
73 float: left;
74 margin-right:0.5em;
75 border-width: 0.5em 1.4em 0.8em 0;
78 /* table standards */
79 table.rimage {
80 float:right;
81 width:1pt;
82 position:relative;
83 margin-left:1em;
84 margin-bottom:1em;
85 text-align:center;
88 body {
89 background: White;
90 /*font-size: 11pt !important;*/
91 color: Black;
92 margin: 0;
93 padding: 0;
96 .noprint,
97 div#jump-to-nav,
98 div.top,
99 div#column-one,
100 #colophon,
101 .editsection,
102 .toctoggle,
103 .tochidden,
104 div#f-poweredbyico,
105 div#f-copyrightico,
106 li#f-viewcount,
107 li#f-about,
108 li#f-disclaimer {
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 font-size: 11pt;
121 padding: 0 ! important;
122 margin: 0 ! important;
124 #footer {
125 background : white;
126 color : black;
127 border-top: 1px solid black;
130 h1, h2, h3, h4, h5, h6
132 font-weight: bold;
135 p, .documentDescription {
136 margin: 1em 0 ! important;
137 line-height: 1.2em;
140 .tocindent p {
141 margin: 0 0 0 0 ! important;
144 pre {
145 border: 1pt dashed black;
146 white-space: pre;
147 font-size: 8pt;
148 overflow: auto;
149 padding: 1em 0;
150 background : white;
151 color : black;
154 table.listing,
155 table.listing td {
156 border: 1pt solid black;
157 border-collapse: collapse;
161 color: Black !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 span.diffchange { color: silver; font-weight: bold; text-decoration: underline; }