diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index 38d99ee..330ef41 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -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 diff --git a/contrib/static/site.css b/contrib/static/site.css index c9ab538..0ee3047 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -637,4 +637,15 @@ th > label { animation: ebin 0.25s infinite; animation-timing-function: linear; text-align: center; -} \ No newline at end of file +} + +@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; +} +