Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-29 09:34:18 -05:00
parent af6c0ba6b8
commit 3f6c6ed615
2 changed files with 14 additions and 5 deletions

View File

@ -17,13 +17,9 @@ function psy_text(str)
return span_text("psy", str) return span_text("psy", str)
end end
function quotey_text(str)
return span_text("nazi", str)
end
-- generate extra markup -- generate extra markup
function memeposting(body, prefix) function memeposting(body, prefix)
body = string.gsub(body, "%(%(%((.-)%)%)%)", quotey_text) body = string.gsub(body, "%(%(%((.-)%)%)%)", function(str) return string.format("<div class='nazi' style='background-image: url(%sstatic/nazi.png);'>%s</div>", prefix, str) end)
body = string.gsub(body, "%[%[%[(.-)%]%]%]", wobble_text) body = string.gsub(body, "%[%[%[(.-)%]%]%]", wobble_text)
body = string.gsub(body, "//(.-)\\\\", explode_text) body = string.gsub(body, "//(.-)\\\\", explode_text)
body = string.gsub(body, "/@(.-)@\\", psy_text) body = string.gsub(body, "/@(.-)@\\", psy_text)

View File

@ -649,3 +649,16 @@ th > label {
animation: expl 0.5s infinite; animation: expl 0.5s infinite;
} }
.code {
font-family: monospace;
font-size: smaller;
background-color: #313131;
color: #fb9f26;
border-radius: 5px;
padding: 10px;
}
.nazi {
padding: 10px;
}