Versionsunterschied von Common.css
Zur Navigation springen
Zur Suche springen
de>Nuhrii the Metruan Keine Bearbeitungszusammenfassung |
de>Nuhrii the Metruan Keine Bearbeitungszusammenfassung |
||
Zeile 79: | Zeile 79: | ||
.prettytable caption { | .prettytable caption { | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Put a chequered background behind images, only visible if they have transparency */ | |||
.gallerybox .thumb img, | |||
#file img { | |||
background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; | |||
} | |||
/* But not on articles, user pages, portals or with opt-out. */ | |||
.ns-0 .gallerybox .thumb img, | |||
.ns-2 .gallerybox .thumb img, | |||
.ns-100 .gallerybox .thumb img, | |||
.nochecker .gallerybox .thumb img { | |||
background: white; | |||
} | } |
Version vom 20. Februar 2011, 12:02 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* Change the external link icon to an Adobe icon for all PDF files
in browsers that support these CSS selectors, like Mozilla and Opera */
#content a[href$=".pdf"].external,
#content a[href*=".pdf?"].external,
#content a[href*=".pdf#"].external,
#content a[href$=".PDF"].external,
#content a[href*=".PDF?"].external,
#content a[href*=".PDF#"].external,
#mw_content a[href$=".pdf"].external,
#mw_content a[href*=".pdf?"].external,
#mw_content a[href*=".pdf#"].external,
#mw_content a[href$=".PDF"].external,
#mw_content a[href*=".PDF?"].external,
#mw_content a[href*=".PDF#"].external {
background:
url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
center right no-repeat;
padding-right: 16px;
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
is used (notably Template:PDFlink). This works in IE, unlike the above. */
#content span.PDFlink a,
#mw_content span.PDFlink a {
background:
url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
center right no-repeat;
padding-right: 17px;
}
/******* Extra buttons for 'edittools' (modified from www.mediawiki.org/MediaWiki:Common.css) ********/
.my-buttons {
/* padding: 1em; */
/* margin:5px; */
}
.my-buttons a {
color: black;
background-color: #c0d0e0 ;
font-family:monospace;
font-size: 115%;
text-decoration: none;
border: thin #069 outset;
line-spacing:5pt;
}
.my-buttons a:hover {
background-color: #d0e0f0;
border-style:outset;
}
.my-buttons a:active {
background-color: #e0f0e0;
border-style: inset;
}
/* Thumbnail configuration */
.thumbinner {
min-width: 100px;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}
/* Put a chequered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
#file img {
background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: white;
}