*insert witty banner here*
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
added transparency checkerboard for certain images |
No edit summary Tag: Manual revert |
||
(3 intermediate revisions by the same user not shown) | |||
Line 49: | Line 49: | ||
.infobox.bordered .borderless th { | .infobox.bordered .borderless th { | ||
border: 0; | border: 0; | ||
} | } | ||
Line 100: | Line 73: | ||
} | } | ||
/* Put a chequered background behind images, only visible if they have transparency */ | /* Put a chequered background behind images, only visible if they have transparency */ | ||
.gallerybox .thumb img, | .gallerybox .thumb img, | ||
.filehistory a img, | .filehistory a img, | ||
#file img { | #file img { | ||
background: white url("http://huckjones. | background: white url("http://huckjones.tk/w/skins/common/images/Checker-16x16.png") repeat; | ||
} | } | ||
/* But not on articles, user pages, portals or with opt-out. */ | /* But not on articles, user pages, portals or with opt-out. */ |
Latest revision as of 02:07, 13 June 2024
/***** CSS placed here will be applied to all skins on the entire site. *****/ /* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; } /* Giving headers and TOC a little extra space */ h2 { margin-top: 20px; } .toc { margin-top: 20px; } /* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } /* Recent changes byte indicators */ .mw-plusminus-pos { color: #006500; } .mw-plusminus-neg { color: #8B0000; } /* Image frame fix */ div.tright, div.tleft { border: 1px solid silver; } div.thumbinner { background: inherit; border: none; color: inherit; } #article div.thumb { color:inherit; } /* Put a chequered background behind images, only visible if they have transparency */ .gallerybox .thumb img, .filehistory a img, #file img { background: white url("http://huckjones.tk/w/skins/common/images/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; }