Added new CSS for Pillar environment.
This commit is contained in:
parent
9c5ded406a
commit
fd029c7ac7
28
PLR banner.css
Normal file
28
PLR banner.css
Normal file
@ -0,0 +1,28 @@
|
||||
@-moz-document domain("int.alkemics.com") {
|
||||
:root {
|
||||
--stripe-size: 100px;
|
||||
--color1: #752cf9;
|
||||
--color2: #6723e4;
|
||||
--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));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user