MediaWiki:Common.css

Revision as of 11:09, 1 August 2024 by FloofyPlasma (talk | contribs) (Hover image for item box template)

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

div.editsection
{
font-size: 80% !important;
float: right !important;
}

.ns-6 .editsection,
.ns-8 .editsection,
.ns-12 .editsection,
.ns-14 .editsection
{
display: none !important;
}

.hover-image {
    position: relative;
    display: inline-block;
}

.hover-image img.default {
    display: block;
}

.hover-image img.hover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.hover-image:hover img.default {
    display: none;
}

.hover-image:hover img.hover {
    display: block;
}