MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Glamyr (обсуждение | вклад) Нет описания правки |
Glamyr (обсуждение | вклад) Нет описания правки |
||
| Строка 259: | Строка 259: | ||
.tg-custom-palette-icon img { | .tg-custom-palette-icon img { | ||
transition: filter 0.3s ease !important; | transition: filter 0.3s ease !important; | ||
} | |||
.tg-custom-palette-icon { | |||
display: block !important; | |||
width: 20px !important; | |||
height: 20px !important; | |||
background-image: url('/images/images/f/f6/Palette.png') !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center !important; | |||
transition: filter 0.3s ease !important; | |||
} | |||
body:not(.theme-default) .tg-custom-palette-icon, | |||
body.theme-active-dark .tg-custom-palette-icon { | |||
filter: drop-shadow(0 0 4px var(--accent)) !important; | |||
} | } | ||