Archived
1
0

add explode text

This commit is contained in:
Jeff Becker 2017-01-28 14:39:31 -05:00
parent 008cfb6db5
commit f1f9ae33d9
2 changed files with 17 additions and 1 deletions

View File

@ -9,8 +9,13 @@ function wobble_text(str)
return span_text("wobble", str)
end
function explode_text(str)
return span_text("explode", str)
end
-- generate extra markup
function memeposting(body, prefix)
body = string.gsub(body, "|(.-)|", wobble_text)
body = string.gsub(body, "//(.-)\\\\", explode_text)
return body
end

View File

@ -637,4 +637,15 @@ th > label {
animation: ebin 0.25s infinite;
animation-timing-function: linear;
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;
}