MediaWiki:Gadget-CardTableImageSwitcher.css

From Yugipedia
Jump to: navigation, search

Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down Ctrl and click the Refresh or Reload button. Firefox: hold down ⇧ Shift while clicking Reload (or press Ctrl+⇧ Shift+R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

.image-switcher li::after,
.image-switcher dd::after,
.image-switcher dt::after {
  display: none;
}
.image-switcher a {
  background: none;
  border: 1px solid #0654ad;
  border-radius: .25em;
  color: #0645ad;
  display: inline-block;
  cursor: pointer;
  margin-bottom: .25em;
  margin-top: .25em;
  min-height: 1.5em;
  min-width: 1.5em;
  padding: 0;
  text-decoration: none;
}
.image-switcher a.external {
    background: none;
    padding: 0;
}
.image-switcher a:hover,
.image-switcher a.external:hover {
  background-color: #0654ad;
  color: #fff;
}
.image-switcher a img {
	border-radius: calc(.25em - 1px);
}
.image-switcher a.image-switcher--selected {
	background-color: #0b0080;
	box-shadow: 0 0 0.1em 0.1em #0b0080;
	color: #fff;
}
.image-switcher .image-switcher--selected > img {
	box-shadow: 0 0 0.2em 0.2em #0b0080;
}