MediaWiki:Common.css: различия между версиями

мНет описания правки
мНет описания правки
Строка 178: Строка 178:


/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top
#scroll-top {
{
display: none;
display: none;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
Строка 187: Строка 186:
cursor: pointer;
cursor: pointer;
position: fixed;
position: fixed;
left: calc(11em - 19px);
right: calc(0.95em);
bottom: 30px;
bottom: 30px;
z-index: 10000;
z-index: 10000;
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
}


#scroll-top:hover
#scroll-top:hover {
{
opacity: 0.8;
opacity: 0.8;
}
@media screen and (max-width: 850px) {
#scroll-top {
left: calc(50% - 0.95em);
}
}
}


/* Необходим для использования fonts.google.com/icons */
/* Необходим для использования fonts.google.com/icons */