MediaWiki:Common.css: Difference between revisions

From The Blockheads Wiki
>Abcboy
mNo edit summary
(Hover image for item box template)
Tag: Reverted
Line 13: Line 13:
{
{
display: none !important;
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;
}
}

Revision as of 11:09, 1 August 2024

/* 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;
}