MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
>Skull132 (Class for small images (<= 64px) to be displayed properly.) |
>Arrow768 Нет описания правки |
||
Строка 4: | Строка 4: | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
-ms-interpolation-mode: nearest-neighbor; | -ms-interpolation-mode: nearest-neighbor; | ||
} | |||
.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; | |||
} | } |
Версия от 21:32, 30 января 2023
/* CSS placed here will be applied to all skins */
.tinyimage {
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
.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;
}