comment_html("Note: there #{text} pending approval.", NOW)
end
com_section = <<-EOF
- <form class="comment" action="/cgi/comment" method="post">
- <input class="misc" type="text" name="url">
+ <form action="/cgi/comment" method="post">
+ <input class="misc-comment-input" type="text" name="url">
<input name="goto" type="hidden" value="#{rel_path}">
<textarea rows="10" name="comment" placeholder="markdown" maxlength="1000"></textarea>
<input type="submit" value="Leave a comment">
// https://github.com/necolas/normalize.css
@import "normalize";
@import "common";
+@import "subscribe-char";
+@import "code-highlight";
.cc-by-sa {
// It sits too high by default.
margin: 50px 0;
}
-div.comment {
+.comment {
// whitespace doesn't cut it to differentiate multiple comments,
// so use a line
border-top-color: $comment-br-color;
}
// if this is filled out, we can assume it's spam. common tactic.
-input.misc {
+.misc-comment-input {
display: none;
}
-
textarea {
// make the comment box be full width
width: 100%;
}
-
ul {
// i dun like the default bullet points
list-style-type: none;
color: $link-visited-color;
}
-@import "subscribe-char";
-@import "code-highlight";