From a5133ab81c498065ada422a54e060285a951ae22 Mon Sep 17 00:00:00 2001 From: Nekobit Bitneko Date: Wed, 14 Dec 2022 06:29:57 -0500 Subject: [PATCH] Fistmas: Add lights effect --- files/events/assets/css/blizzard.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/files/events/assets/css/blizzard.css b/files/events/assets/css/blizzard.css index aa7f3b98b..83227772e 100644 --- a/files/events/assets/css/blizzard.css +++ b/files/events/assets/css/blizzard.css @@ -243,3 +243,23 @@ color: #7a7a7a !important; position: absolute; right: 0; } + +.navbar:after { + content: ""; + background-image: url('/assets/images/event/lights.png'); + position: fixed; + top: 60px; + left: 0; + width: 100%; + height: 74px; + /* Prevents clicks, to simulate an "overlay", see @nekobit's CSS */ + pointer-events: none; + background-repeat: repeat-x; + background-size: 220px 70px; +} + +@media (max-width: 767.98px) { + .navbar:after { + top: 40px; + } +}