MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: .tooltiptext { position: absolute; display: block; z-index: 2; width: 250px; padding: 10px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; border: 1px solid #aaa; background-color: #ffdd66; } .tooltip { position: relative; }" |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
transition: all 0.2s; | transition: all 0.2s; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background-color: # | background-color: var(--background-color-neutral, #eaecf0); | ||
} | } | ||
.tooltip { | .tooltip { | ||
position: relative; | position: relative; | ||
} | |||
.tooltip:hover>.tooltiptext { | |||
visibility: visible; | |||
opacity: 1; | |||
} | |||
.vector-main-menu-action-opt-out { | |||
display:none; | |||
} | |||
.vector-toc .vector-toc-link { | |||
word-break: normal; | |||
} | } | ||
Latest revision as of 16:34, 8 November 2025
/* CSS placed here will be applied to all skins */
.tooltiptext {
position: absolute;
display: block;
z-index: 2;
width: 250px;
padding: 10px;
visibility: hidden;
opacity: 0;
white-space: normal;
text-align: left;
transition: all 0.2s;
border: 1px solid #aaa;
background-color: var(--background-color-neutral, #eaecf0);
}
.tooltip {
position: relative;
}
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 1;
}
.vector-main-menu-action-opt-out {
display:none;
}
.vector-toc .vector-toc-link {
word-break: normal;
}