MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Jonatanktk (talk | contribs) Created page with "→CSS placed here will be applied to all skins: * { scroll-behavior: smooth; }" |
Jonatanktk (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
html { | |||
scroll-behavior: smooth; | |||
} | |||
.custom-tooltip { | |||
position: fixed; | |||
background: rgba(0, 0, 0, 0.85); | |||
color: #fff; | |||
padding: 6px 10px; | |||
border-radius: 6px; | |||
font-size: 0.85rem; | |||
pointer-events: none; | |||
white-space: nowrap; | |||
z-index: 9999; | |||
opacity: 0; | |||
transform: translateY(5px); | |||
transition: opacity 0.15s ease, transform 0.15s ease; | |||
} | |||
.custom-tooltip.visible { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | } | ||
Latest revision as of 23:28, 1 November 2025
/* CSS placed here will be applied to all skins */
html {
scroll-behavior: smooth;
}
.custom-tooltip {
position: fixed;
background: rgba(0, 0, 0, 0.85);
color: #fff;
padding: 6px 10px;
border-radius: 6px;
font-size: 0.85rem;
pointer-events: none;
white-space: nowrap;
z-index: 9999;
opacity: 0;
transform: translateY(5px);
transition: opacity 0.15s ease, transform 0.15s ease;
}
.custom-tooltip.visible {
opacity: 1;
transform: translateY(0);
}