MediaWiki:Common.css: Difference between revisions

m Background color change
CSS test
Line 1,578: Line 1,578:
border-radius: 10px;
border-radius: 10px;
background-color: var(--background-color-interactive);
background-color: var(--background-color-interactive);
}
/* CSS for the Minecraft tooltip "Minetip" */
.format-custom {
    text-shadow: 0.125em 0.125em 0 color-mix(in srgb,currentColor 25%,#000 75%)
}
#minetip-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #100010;
    background-color: rgba(16,0,16,0.94);
    padding: 0.375em;
    font-family: Minecraft,sans-serif;
    font-size: 16px;
    word-spacing: 4px;
    white-space: nowrap;
    line-height: 1.25em;
    margin: 0.125em 0.25em;
    pointer-events: none;
    z-index: 9999
}
#minetip-tooltip > .description,#minetip-tooltip > .minetip-description {
    display: block;
    margin-top: 0.25em
}
/* Used to render low-res textures in larger sizes */
.pixel-image, .invslot-item-image, .sprite {
    image-rendering: pixelated;
}
.item-padding {
padding: 16px;
}
/* Animation CSS for the Animated Sprites of the Crafting UI */
.mw-body-content .animated > *:not(.animated-active),.mw-body-content .animated > .animated-subframe > *:not(.animated-active) {
    display: none
}
.mw-body-content span.animated,.mw-body-content span.animated.animated-visible > *,.mw-body-content span.animated.animated-visible > .animated-subframe > * {
    display: inline-block
}
.mw-body-content div.animated.animated-visible > *,.mw-body-content div.animated.animated-visible > .animated-subframe > * {
    display: block
}
}