MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added CSS for tooltips) |
||
Line 4: | Line 4: | ||
.mw-wiki-logo { | .mw-wiki-logo { | ||
background-size: 260px; | background-size: 260px; | ||
} | |||
.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: #F0F0FF; | |||
} | |||
.tooltip:hover>.tooltiptext { | |||
visibility: visible; | |||
opacity: 1; | |||
} | } |
Latest revision as of 14:15, 12 May 2023
/* CSS placed here will be applied to all skins */
@import "/var/www/html/wiki/extensions/FontAwesome/res/fontawesome/css/all.min.css";
.mw-wiki-logo {
background-size: 260px;
}
.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: #F0F0FF;
}
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 1;
}