Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-28 11:29:57 -05:00
parent baf6e29473
commit 1d20cb3142
5 changed files with 17 additions and 3 deletions

View File

@ -1,8 +1,8 @@
-- simple replacements demo -- simple replacements demo
function span_text(str, class) function span_text(class, str)
return string.format("<span class='%s'>%s</span>", class, str) return string.format("<div class='%s'>%s</div>", class, str)
end end
function wobble_text(str) function wobble_text(str)
@ -11,6 +11,6 @@ end
-- generate extra markup -- generate extra markup
function memeposting(body, prefix) function memeposting(body, prefix)
body = string.gsub(body, "\[\[(%w+)\]\]", wobble_text) body = string.gsub(body, "|(.*)|", wobble_text)
return body return body
end end

View File

@ -626,3 +626,14 @@ th > label {
#censor-toggle, a { #censor-toggle, a {
color: #34345C; color: #34345C;
} }
@keyframes ebin {
0% {transform: rotate(-10deg);}
50% {transform: rotate(10deg);}
100% {transform: rotate(-10deg);}
}
.wobble {
animation: ebin 0.25s infinite;
animation-timing-function: linear;
}

View File

@ -17,6 +17,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1" /> <meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" /> <link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link id="current_theme" rel="stylesheet" href="{{board.Prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
<title>{{board.Board}}</title> <title>{{board.Board}}</title>

View File

@ -16,6 +16,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1" /> <meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" /> <link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link id="current_theme" rel="stylesheet" href="{{thread.Prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript"></script> <script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript"></script>
<title> {{thread.OP.Subject}} </title> <title> {{thread.OP.Subject}} </title>

View File

@ -10,6 +10,7 @@
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title> <title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
</head> </head>