MediaWiki:Gadget-absurdIntro.css: различия между версиями
Ланселот (обсуждение | вклад) Новая страница: «#absurd-intro-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; z-index: 9999; pointer-events: none; background: transparent; animation: absurdIntroFade 5s ease-in-out forwards; } #absurd-intro-overlay img { max-width: 60vw; max-height: 60vh; object-fit: contain; opacity: 1; animation: absurdIntroZoom 5s eas...» |
Ланселот (обсуждение | вклад) Нет описания правки |
||
| (не показаны 4 промежуточные версии этого же участника) | |||
| Строка 1: | Строка 1: | ||
/* Стили для гаджета-пасхалки */ | |||
/* Идут в связке с [[MediaWiki:Gadget-absurdIntro.js]] */ | |||
/* Лицензия: MIT (opensource.org/license/mit) ==> 2026, absurdopedia.wiki */ | |||
#absurd-intro-overlay { | #absurd-intro-overlay { | ||
position: fixed; | position: fixed; | ||
| Строка 42: | Строка 46: | ||
opacity: 0; | opacity: 0; | ||
} | } | ||
} | |||
/* Убираем подложку под картинкой заставки в любой теме */ | |||
#absurd-intro-overlay img { | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
} | |||
#absurd-intro-overlay img::before, | |||
#absurd-intro-overlay img::after { | |||
display: none !important; | |||
background: transparent !important; | |||
} | |||
#absurd-intro-overlay { | |||
background: transparent !important; | |||
} | } | ||