MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "→CSS placed here will be applied to all skins: .tooltip{ position: relative; } .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:hover>.tooltiptext { visibility: visible; opacity: 1; }" |
Fix logo being huge |
||
| Line 22: | Line 22: | ||
visibility: visible; | visibility: visible; | ||
opacity: 1; | opacity: 1; | ||
} | |||
.mw-wiki-logo { | |||
background-size: cover; | |||
} | } | ||
Revision as of 21:56, 16 October 2026
/* CSS placed here will be applied to all skins */
.tooltip{
position: relative;
}
.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:hover>.tooltiptext {
visibility: visible;
opacity: 1;
}
.mw-wiki-logo {
background-size: cover;
}