MediaWiki:Vector.css: различия между версиями
Shihov (обсуждение | вклад) Нет описания правки |
Shihov (обсуждение | вклад) Нет описания правки |
||
Строка 160: | Строка 160: | ||
/* Добавляем эффекты исчезновения при достижении границ */ | /* Добавляем эффекты исчезновения при достижении границ */ | ||
div.catlinks::before, div.catlinks::after { | div.catlinks::before, div.catlinks::after { | ||
content: ""; | content: "" !important; | ||
position: absolute; | position: absolute !important; | ||
left: 0; | left: 0 !important; | ||
width: 100%; | width: 100% !important; | ||
height: 30px; | height: 30px !important; | ||
pointer-events: none; | pointer-events: none !important; | ||
transition: opacity 0.3s ease-in-out; | transition: opacity 0.3s ease-in-out !important; | ||
} | } | ||
div.catlinks::before { | div.catlinks::before { | ||
top: 0; | top: 0 !important; | ||
background: linear-gradient(to bottom, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)); | background: linear-gradient(to bottom, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)) !important; | ||
} | } | ||
div.catlinks::after { | div.catlinks::after { | ||
bottom: 0; | bottom: 0 !important; | ||
background: linear-gradient(to top, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)); | background: linear-gradient(to top, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)) !important; | ||
} | } |