MediaWiki:Gadget-SpoilerWarning.css

/* Styles for Template:Spoiler */

.spoiler { position: relative; }

.spoiler-content { transition: 0.5s; }

.spoiler-hidden .spoiler-content { filter: blur(15px); }

.spoiler-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; background: no-repeat center/contain url(/images/2/26/HP_Graphic_SpoilerWarning_DesktopLight.png); }

.dark .spoiler-overlay { background-image: url(/images/f/f8/HP_Graphic_SpoilerWarning_DesktopDark.png); } .mobile .spoiler-overlay { background: no-repeat space center/contain url(/images/e/e8/HP_Graphic_SpoilerWarning_MobileLight.png); } .dark.mobile .spoiler-overlay { background-image: url(/images/4/42/HP_Graphic_SpoilerWarning_MobileDark.png); }