MediaWiki:Common.css

From YoshiWiki
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins, code credited to MarioWiki */

/* <Staff highlights> */
/* <<Steward>> */
a.whosteward,
#whosteward a,
ul.special li a[title="User:Pokémon Trainer Red"],
table.diff a[title="User:Pokémon Trainer Red"],
ul#pagehistory li a[title="User:Pokémon Trainer Red"] {
	color: #F26500 !important;
}

/* <<Bureaucrats>>
a.whocrat,
#whocrat a,
ul.special li a[title="User:"],
table.diff a[title="User:"],
ul#pagehistory li a[title="User:"] {
	color: #9932CC !important;
} */

/* <<Administrators>>
a.whoadmin,
#whoadmin a,
ul.special li a[title="User:"],
table.diff a[title="User:"],
ul#pagehistory li a[title="User:"] {
	color: #048204 !important;
} */

/* <<Rollbacks>>
a.whorevert,
#whorevert a,
ul.special li a[title="User:"],
table.diff a[title="User:"],
ul#pagehistory li a[title="User:"] {
	color: #6495ED !important;
} */

/* <Other> */

/* <<Prevent page from stretching when the <pre> box is too long>> */
pre {
	overflow: auto;
}

/* <<make images resize via nearest neighbor>> */

img {
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
	-ms-interpolation-mode: nearest-neighbor;
}

/* <<gallery stuff>> */
ul.gallery {
	text-align: center;
	margin: 2px auto 0;
	padding-bottom: 0;
}

div.gallerytext {
	padding: 0 4px;
}

li.gallerybox div.thumb {
	margin-bottom: 0;
}

.ns-104 div.thumb {
	border-color: transparent;
}

html .thumbimage {
	background: white;
}

div.tright, div.tleft {
	margin-top: 0;
}

/* <<add a checkered background to file description pages to show transparency>> */

#file img {
	background: url(http://www.ssbwiki.com/images/5/5d/Checker-16x16.png) repeat;
}

/* <<remove heading from main page>> */
body.page-Main_Page h1.firstHeading { display: none; }