28 lines
863 B
CSS
28 lines
863 B
CSS
@-moz-document domain("stream.alkemics.com") {
|
|
:root {
|
|
--stripe-size: 100px;
|
|
--color1: #005564;
|
|
--color2: rgb(0, 0, 0);
|
|
--duration: 10s;
|
|
}
|
|
.Navbar::before {
|
|
z-index: -10;
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: calc(-1 * var(--stripe-size));
|
|
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));
|
|
}
|
|
}
|
|
} |