Added .glow and .transcendent
parent
7ab305b3a8
commit
ed3a2ee77b
|
@ -8084,4 +8084,62 @@ body {
|
|||
50% {
|
||||
transform: rotate(95deg) scale(0.7) translate(25%, -45%);
|
||||
}
|
||||
}
|
||||
|
||||
.marseyfx-modifier-glow {
|
||||
filter: drop-shadow(0px 0px 5px green) invert(22%) sepia(75%) hue-rotate(69deg) brightness(96%) contrast(150%);
|
||||
animation: marseyfx-modifier-glow 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes marseyfx-modifier-glow {
|
||||
0%, 100% {
|
||||
filter: drop-shadow(0px 0px 4px green) invert(22%) sepia(75%) hue-rotate(97deg) brightness(96%) contrast(150%);
|
||||
}
|
||||
|
||||
50% {
|
||||
filter: drop-shadow(0px 0px 7px green) invert(22%) sepia(75%) hue-rotate(90deg) brightness(96%) contrast(150%);
|
||||
}
|
||||
}
|
||||
|
||||
.marseyfx-modifier-transcendent-self:not(.marseyfx-modifier-transcendent-clone) {
|
||||
transform: scale(0.5);
|
||||
z-index: 6;
|
||||
}
|
||||
|
||||
.marseyfx-modifier-transcendent-clone {
|
||||
animation: marseyfx-modifier-transcendent 1.8s infinite linear, marseyfx-modifier-transcendent-opacity 1.8s infinite linear;
|
||||
}
|
||||
|
||||
.marseyfx-modifier-transcendent-clone-1 {
|
||||
animation-delay: -0s;
|
||||
}
|
||||
|
||||
.marseyfx-modifier-transcendent-clone-2 {
|
||||
animation-delay: -0.6s;
|
||||
}
|
||||
|
||||
.marseyfx-modifier-transcendent-clone-3 {
|
||||
animation-delay: -1.2s;
|
||||
}
|
||||
|
||||
@keyframes marseyfx-modifier-transcendent {
|
||||
0% {
|
||||
transform: scale(0.5);
|
||||
z-index: 5
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
z-index: 1
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes marseyfx-modifier-transcendent-opacity {
|
||||
10%, 80% {
|
||||
opacity: 0.4
|
||||
}
|
||||
|
||||
0%, 100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
|
@ -62,13 +62,13 @@ class Modified:
|
|||
|
||||
def add_class(self, class_: str):
|
||||
if not 'class' in self.container.attrs:
|
||||
self.container.attrs['class'] = ''
|
||||
self.container.attrs['class'] = [class_]
|
||||
else:
|
||||
self.container.attrs['class'].append(' ' + class_)
|
||||
|
||||
def add_child_class(self, class_: str):
|
||||
if not 'class' in self.child.attrs:
|
||||
self.child.attrs['class'] = ''
|
||||
self.child.attrs['class'] = [class_]
|
||||
else:
|
||||
self.child.attrs['class'].append(' ' + class_)
|
||||
|
||||
|
@ -312,4 +312,18 @@ class Modified:
|
|||
@modifier
|
||||
def fucks(self, other: GroupToken):
|
||||
other = self.create_other(other)
|
||||
self.container.append(other)
|
||||
self.container.append(other)
|
||||
|
||||
@heavy
|
||||
@modifier
|
||||
def glow(self):
|
||||
pass
|
||||
|
||||
@heavy
|
||||
@modifier
|
||||
def transcendent(self):
|
||||
for i in range(1, 4):
|
||||
tag = copy.copy(self.child)
|
||||
tag.attrs['class'] = tag.attrs['class'].copy()
|
||||
tag.attrs['class'].append(f'marseyfx-modifier-transcendent-clone marseyfx-modifier-transcendent-clone-{i}')
|
||||
self.container.append(tag)
|
Loading…
Reference in New Issue