small changes uwu
parent
87c3da9169
commit
8dda6c132b
|
@ -7815,3 +7815,40 @@ body {
|
||||||
animation: 3s marseyfx-modifier-fallover infinite
|
animation: 3s marseyfx-modifier-fallover infinite
|
||||||
cubic-bezier(0.19, -0.02, 0.77, 0.16);
|
cubic-bezier(0.19, -0.02, 0.77, 0.16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-toptext-text, .marseyfx-modifier-bottomtext-text {
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
inset: 0;
|
||||||
|
font: Impact;
|
||||||
|
font-weight: 900;
|
||||||
|
font-size: 1.5em;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
text-justify: center;
|
||||||
|
text-shadow:
|
||||||
|
1px 1px black,
|
||||||
|
-1px -1px black,
|
||||||
|
1px -1px black,
|
||||||
|
-1px -1px black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-toptext-text {
|
||||||
|
bottom: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-bottomtext-text {
|
||||||
|
top: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-highcontrast {
|
||||||
|
filter: contrast(100)
|
||||||
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-enraged {
|
||||||
|
filter: sepia(1) hue-rotate(315deg) saturate(10)
|
||||||
|
}
|
||||||
|
|
||||||
|
.marseyfx-modifier-enraged-underlay {
|
||||||
|
background-color: red;
|
||||||
|
}
|
|
@ -62,7 +62,7 @@ class Modified:
|
||||||
|
|
||||||
# Using this instead of throwing everything in a string and then parsing it helps
|
# Using this instead of throwing everything in a string and then parsing it helps
|
||||||
# mitigate the risk of XSS attacks
|
# mitigate the risk of XSS attacks
|
||||||
def image_href(self, name: str):
|
def image(self, name: str):
|
||||||
image = self.soup.new_tag(
|
image = self.soup.new_tag(
|
||||||
'img',
|
'img',
|
||||||
loading='lazy',
|
loading='lazy',
|
||||||
|
@ -139,12 +139,12 @@ class Modified:
|
||||||
def enraged(self):
|
def enraged(self):
|
||||||
self.underlay(self.soup.new_tag(
|
self.underlay(self.soup.new_tag(
|
||||||
'div',
|
'div',
|
||||||
attrs={'class': 'marseyfx-enraged-underlay'}
|
attrs={'class': 'marseyfx-modifier-enraged-underlay'}
|
||||||
))
|
))
|
||||||
|
|
||||||
@heavy
|
@heavy
|
||||||
@modifier
|
@modifier
|
||||||
def corrupted(self):
|
def highcontrast(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@heavy
|
@heavy
|
||||||
|
@ -176,7 +176,7 @@ class Modified:
|
||||||
|
|
||||||
@modifier
|
@modifier
|
||||||
def spin(self, speed: NumberLiteralToken):
|
def spin(self, speed: NumberLiteralToken):
|
||||||
self.add_style('--marseyfx-spin-speed: ' + speed.value + ';')
|
self.add_style('--marseyfx-spin-peroid-multiplier: ' + (1/speed.value) + ';')
|
||||||
|
|
||||||
@modifier
|
@modifier
|
||||||
def triumphs(self, other: GroupToken):
|
def triumphs(self, other: GroupToken):
|
||||||
|
|
Loading…
Reference in New Issue