*insert witty banner here*
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Main page fixes: #interwiki-completelist { font-weight: bold; } body.page-Main_Page #ca-delete { display: none !important; } body.page-Main_Page #mp-topbanner { ...") |
(rmv unneeded code) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /***** 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 template style */ | ||
.infobox { | .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 td, | ||
.infobox th { | .infobox th { | ||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
border-collapse: collapse; | |||
} | } | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border: 1px solid #aaaaaa; | |||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
.infobox.bordered .borderless th { | .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; | |||
div. | |||
} | } | ||
/* 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:// | 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. */ | ||
Line 894: | Line 85: | ||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||
background: white; | background: white; | ||
} | } |
Latest revision as of 03:02, 19 February 2013
/***** 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; }