From 1871b272c08df15e7b72723eaed981d0af27ee62 Mon Sep 17 00:00:00 2001 From: Simon Priet Date: Thu, 18 Nov 2021 14:54:24 +0100 Subject: [PATCH] Added a custom banner for PPR (keep cyan colors) --- PPR banner | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 PPR banner diff --git a/PPR banner b/PPR banner new file mode 100644 index 0000000..56b702f --- /dev/null +++ b/PPR banner @@ -0,0 +1,28 @@ +@-moz-document domain("ppr-stream.alkemics.com") { + :root { + --stripe-size: 100px; + --color1: #166a83; + --color2: #157e9e; + --duration: 30s; + } + .Navbar::before { + z-index: -10; + content: ""; + position: absolute; + top: 0; + left: 0; + width: calc(100% + var(--stripe-size)); + height: 100%; + background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%); + background-size: var(--stripe-size) var(--stripe-size); + animation: stripeTransform var(--duration) linear infinite; + } + @keyframes stripeTransform { + 0% { + transform: translateX(0); + } + 100% { + transform: translateX(calc(var(--stripe-size) * -1)); + } + } +} \ No newline at end of file