add explode text
This commit is contained in:
parent
008cfb6db5
commit
f1f9ae33d9
@ -9,8 +9,13 @@ function wobble_text(str)
|
|||||||
return span_text("wobble", str)
|
return span_text("wobble", str)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function explode_text(str)
|
||||||
|
return span_text("explode", str)
|
||||||
|
end
|
||||||
|
|
||||||
-- generate extra markup
|
-- generate extra markup
|
||||||
function memeposting(body, prefix)
|
function memeposting(body, prefix)
|
||||||
body = string.gsub(body, "|(.-)|", wobble_text)
|
body = string.gsub(body, "|(.-)|", wobble_text)
|
||||||
|
body = string.gsub(body, "//(.-)\\\\", explode_text)
|
||||||
return body
|
return body
|
||||||
end
|
end
|
||||||
|
@ -638,3 +638,14 @@ th > label {
|
|||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes expl {
|
||||||
|
0% { transform: scale(1,1); }
|
||||||
|
50% { transform: scale(1.5,1.5); }
|
||||||
|
100% { transform: scale(1,1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.explode {
|
||||||
|
animation: expl 0.5s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user