more
This commit is contained in:
parent
baf6e29473
commit
1d20cb3142
@ -1,8 +1,8 @@
|
||||
|
||||
-- simple replacements demo
|
||||
|
||||
function span_text(str, class)
|
||||
return string.format("<span class='%s'>%s</span>", class, str)
|
||||
function span_text(class, str)
|
||||
return string.format("<div class='%s'>%s</div>", class, str)
|
||||
end
|
||||
|
||||
function wobble_text(str)
|
||||
@ -11,6 +11,6 @@ end
|
||||
|
||||
-- generate extra markup
|
||||
function memeposting(body, prefix)
|
||||
body = string.gsub(body, "\[\[(%w+)\]\]", wobble_text)
|
||||
body = string.gsub(body, "|(.*)|", wobble_text)
|
||||
return body
|
||||
end
|
||||
|
@ -626,3 +626,14 @@ th > label {
|
||||
#censor-toggle, a {
|
||||
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;
|
||||
}
|
@ -17,6 +17,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<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 id="current_theme" rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{board.Board}}</title>
|
||||
|
@ -16,6 +16,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<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 id="current_theme" rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
|
||||
<script src="{{thread.Prefix}}static/nntpchan.js" type="text/javascript"></script>
|
||||
<title> {{thread.OP.Subject}} </title>
|
||||
|
@ -10,6 +10,7 @@
|
||||
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
|
||||
<meta charset="utf-8" />
|
||||
<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" />
|
||||
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user