| 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 |
*/ |
| 8 |
|
| 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; |
| 14 |
} |
| 15 |
|
| 16 |
#toc { |
| 17 |
border: 1px solid #aaaaaa; |
| 18 |
background-color: #f9f9f9; |
| 19 |
padding: 5px; |
| 20 |
} |
| 21 |
|
| 22 |
/* images */ |
| 23 |
div.floatright { |
| 24 |
float: right; |
| 25 |
clear: right; |
| 26 |
position: relative; |
| 27 |
margin: 0.5em 0 0.8em 1.4em; |
| 28 |
} |
| 29 |
div.floatright p { |
| 30 |
font-style: italic; |
| 31 |
} |
| 32 |
div.floatleft { |
| 33 |
float: left; |
| 34 |
clear: left; |
| 35 |
position: relative; |
| 36 |
margin: 0.5em 1.4em 0.8em 0; |
| 37 |
} |
| 38 |
div.floatleft p { |
| 39 |
font-style: italic; |
| 40 |
} |
| 41 |
div.center { |
| 42 |
text-align: center; |
| 43 |
} |
| 44 |
|
| 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; |
| 52 |
} |
| 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; |
| 60 |
} |
| 61 |
html .thumbimage { |
| 62 |
border: 1px solid #cccccc; |
| 63 |
} |
| 64 |
html .thumbcaption { |
| 65 |
border: none; |
| 66 |
text-align: left; |
| 67 |
line-height: 1.4em; |
| 68 |
padding: 3px !important; |
| 69 |
font-size: 94%; |
| 70 |
} |
| 71 |
|
| 72 |
div.magnify { |
| 73 |
display: none; |
| 74 |
} |
| 75 |
/* @noflip */ |
| 76 |
div.tright { |
| 77 |
float: right; |
| 78 |
clear: right; |
| 79 |
margin: 0.5em 0 0.8em 1.4em; |
| 80 |
} |
| 81 |
/* @noflip */ |
| 82 |
div.tleft { |
| 83 |
float: left; |
| 84 |
clear: left; |
| 85 |
margin: 0.5em 1.4em 0.8em 0; |
| 86 |
} |
| 87 |
img.thumbborder { |
| 88 |
border: 1px solid #dddddd; |
| 89 |
} |
| 90 |
|
| 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; |
| 99 |
} |
| 100 |
|
| 101 |
body { |
| 102 |
background: white; |
| 103 |
color: black; |
| 104 |
margin: 0; |
| 105 |
padding: 0; |
| 106 |
} |
| 107 |
|
| 108 |
.noprint, |
| 109 |
div#jump-to-nav, |
| 110 |
.mw-jump, |
| 111 |
div.top, |
| 112 |
div#column-one, |
| 113 |
#colophon, |
| 114 |
.editsection, |
| 115 |
.toctoggle, |
| 116 |
.tochidden, |
| 117 |
div#f-poweredbyico, |
| 118 |
div#f-copyrightico, |
| 119 |
li#viewcount, |
| 120 |
li#about, |
| 121 |
li#disclaimer, |
| 122 |
li#mobileview, |
| 123 |
li#privacy, |
| 124 |
#footer-places, |
| 125 |
.mw-hidden-catlinks, |
| 126 |
tr.mw-metadata-show-hide-extended, |
| 127 |
span.mw-filepage-other-resolutions, |
| 128 |
#filetoc, |
| 129 |
.usermessage, |
| 130 |
#mw-navigation { |
| 131 |
/* Hides all the elements irrelevant for printing */ |
| 132 |
display: none; |
| 133 |
} |
| 134 |
|
| 135 |
ul { |
| 136 |
list-style-type: square; |
| 137 |
} |
| 138 |
|
| 139 |
#content { |
| 140 |
background: none; |
| 141 |
border: none !important; |
| 142 |
padding: 0 !important; |
| 143 |
margin: 0 !important; |
| 144 |
direction: ltr; |
| 145 |
} |
| 146 |
#footer { |
| 147 |
background : white; |
| 148 |
color : black; |
| 149 |
margin-top: 1em; |
| 150 |
border-top: 1px solid #AAA; |
| 151 |
direction: ltr; |
| 152 |
} |
| 153 |
|
| 154 |
h1, h2, h3, h4, h5, h6 { |
| 155 |
font-weight: bold; |
| 156 |
} |
| 157 |
|
| 158 |
p { |
| 159 |
margin: 1em 0; |
| 160 |
line-height: 1.2em; |
| 161 |
} |
| 162 |
|
| 163 |
pre, .mw-code { |
| 164 |
border: 1pt dashed black; |
| 165 |
white-space: pre; |
| 166 |
font-size: 8pt; |
| 167 |
overflow: auto; |
| 168 |
padding: 1em 0; |
| 169 |
background: white; |
| 170 |
color: black; |
| 171 |
} |
| 172 |
|
| 173 |
table.listing, |
| 174 |
table.listing td { |
| 175 |
border: 1pt solid black; |
| 176 |
border-collapse: collapse; |
| 177 |
} |
| 178 |
|
| 179 |
a { |
| 180 |
color: black !important; |
| 181 |
background: none !important; |
| 182 |
padding: 0 !important; |
| 183 |
} |
| 184 |
|
| 185 |
a:link, a:visited { |
| 186 |
color: #520; |
| 187 |
background: transparent; |
| 188 |
text-decoration: underline; |
| 189 |
} |
| 190 |
|
| 191 |
#content a.external.text:after, |
| 192 |
#content a.external.autonumber:after { |
| 193 |
/* Expand URLs for printing */ |
| 194 |
content: " (" attr(href) ") "; |
| 195 |
} |
| 196 |
|
| 197 |
#globalWrapper { |
| 198 |
width: 100% !important; |
| 199 |
min-width: 0 !important; |
| 200 |
} |
| 201 |
|
| 202 |
#content { |
| 203 |
background: white; |
| 204 |
color: black; |
| 205 |
} |
| 206 |
|
| 207 |
#column-content { |
| 208 |
margin: 0 !important; |
| 209 |
} |
| 210 |
|
| 211 |
#column-content #content { |
| 212 |
padding: 1em; |
| 213 |
margin: 0 !important; |
| 214 |
} |
| 215 |
|
| 216 |
/* MSIE/Win doesn't understand 'inherit' */ |
| 217 |
a, |
| 218 |
a.external, |
| 219 |
a.new, |
| 220 |
a.stub { |
| 221 |
color: black !important; |
| 222 |
text-decoration: none !important; |
| 223 |
} |
| 224 |
|
| 225 |
/* Continue ... */ |
| 226 |
a, |
| 227 |
a.external, |
| 228 |
a.new, |
| 229 |
a.stub { |
| 230 |
color: inherit !important; |
| 231 |
text-decoration: inherit !important; |
| 232 |
} |
| 233 |
|
| 234 |
img { |
| 235 |
border: none; |
| 236 |
vertical-align: middle; |
| 237 |
} |
| 238 |
|
| 239 |
/* math */ |
| 240 |
span.texhtml { |
| 241 |
font-family: serif; |
| 242 |
} |
| 243 |
|
| 244 |
#siteNotice { |
| 245 |
display: none; |
| 246 |
} |
| 247 |
|
| 248 |
/* Galleries (see shared.css for more info) */ |
| 249 |
li.gallerybox { |
| 250 |
vertical-align: top; |
| 251 |
display: -moz-inline-box; |
| 252 |
display: inline-block; |
| 253 |
} |
| 254 |
|
| 255 |
ul.gallery, li.gallerybox { |
| 256 |
zoom: 1; |
| 257 |
*display: inline; |
| 258 |
} |
| 259 |
|
| 260 |
ul.gallery { |
| 261 |
margin: 2px; |
| 262 |
padding: 2px; |
| 263 |
display: block; |
| 264 |
} |
| 265 |
|
| 266 |
li.gallerycaption { |
| 267 |
font-weight: bold; |
| 268 |
text-align: center; |
| 269 |
display: block; |
| 270 |
word-wrap: break-word; |
| 271 |
} |
| 272 |
|
| 273 |
li.gallerybox div.thumb { |
| 274 |
text-align: center; |
| 275 |
border: 1px solid #ccc; |
| 276 |
margin: 2px; |
| 277 |
} |
| 278 |
|
| 279 |
div.gallerytext { |
| 280 |
overflow: hidden; |
| 281 |
font-size: 94%; |
| 282 |
padding: 2px 4px; |
| 283 |
word-wrap: break-word; |
| 284 |
} |
| 285 |
|
| 286 |
/** |
| 287 |
* Diff rendering |
| 288 |
*/ |
| 289 |
table.diff { |
| 290 |
background: white; |
| 291 |
} |
| 292 |
td.diff-otitle { |
| 293 |
background: #ffffff; |
| 294 |
} |
| 295 |
td.diff-ntitle { |
| 296 |
background: #ffffff; |
| 297 |
} |
| 298 |
td.diff-addedline { |
| 299 |
background: #ccffcc; |
| 300 |
font-size: smaller; |
| 301 |
border: solid 2px black; |
| 302 |
} |
| 303 |
td.diff-deletedline { |
| 304 |
background: #ffffaa; |
| 305 |
font-size: smaller; |
| 306 |
border: dotted 2px black; |
| 307 |
} |
| 308 |
td.diff-context { |
| 309 |
background: #eeeeee; |
| 310 |
font-size: smaller; |
| 311 |
} |
| 312 |
.diffchange { |
| 313 |
color: silver; |
| 314 |
font-weight: bold; |
| 315 |
text-decoration: underline; |
| 316 |
} |
| 317 |
|
| 318 |
/** |
| 319 |
* Table rendering |
| 320 |
* As on shared.css but with white background. |
| 321 |
*/ |
| 322 |
table.wikitable, |
| 323 |
table.mw_metadata { |
| 324 |
margin: 1em 0; |
| 325 |
border: 1px #aaa solid; |
| 326 |
background: white; |
| 327 |
border-collapse: collapse; |
| 328 |
} |
| 329 |
table.wikitable > tr > th, table.wikitable > tr > td, |
| 330 |
table.wikitable > * > tr > th, table.wikitable > * > tr > td, |
| 331 |
.mw_metadata th, .mw_metadata td { |
| 332 |
border: 1px #aaa solid; |
| 333 |
padding: 0.2em; |
| 334 |
} |
| 335 |
table.wikitable > tr > th, |
| 336 |
table.wikitable > * > tr > th, |
| 337 |
.mw_metadata th { |
| 338 |
text-align: center; |
| 339 |
background: white; |
| 340 |
font-weight: bold; |
| 341 |
} |
| 342 |
table.wikitable > caption, |
| 343 |
.mw_metadata caption { |
| 344 |
font-weight: bold; |
| 345 |
} |
| 346 |
|
| 347 |
a.sortheader { |
| 348 |
margin: 0 0.3em; |
| 349 |
} |
| 350 |
|
| 351 |
/* Some pagination options */ |
| 352 |
.wikitable, .thumb, img { |
| 353 |
page-break-inside: avoid; |
| 354 |
} |
| 355 |
h2, h3, h4, h5, h6, h7 { |
| 356 |
page-break-after: avoid; |
| 357 |
} |
| 358 |
p { |
| 359 |
widows: 3; |
| 360 |
orphans: 3; |
| 361 |
} |
| 362 |
|
| 363 |
/** |
| 364 |
* Categories |
| 365 |
*/ |
| 366 |
.catlinks ul { |
| 367 |
display: inline; |
| 368 |
margin: 0; |
| 369 |
padding: 0; |
| 370 |
list-style: none; |
| 371 |
list-style-type: none; |
| 372 |
list-style-image: none; |
| 373 |
vertical-align: middle !ie; |
| 374 |
} |
| 375 |
|
| 376 |
.catlinks li { |
| 377 |
display: inline-block; |
| 378 |
line-height: 1.15em; |
| 379 |
padding: 0 .4em; |
| 380 |
border-left: 1px solid #AAA; |
| 381 |
margin: 0.1em 0; |
| 382 |
zoom: 1; |
| 383 |
display: inline !ie; |
| 384 |
} |
| 385 |
|
| 386 |
.catlinks li:first-child { |
| 387 |
padding-left: .2em; |
| 388 |
border-left: none; |
| 389 |
} |