##// END OF EJS Templates
#12 Fixed formatting of comments and links. Added a style for target post in the white theme.
neko259 -
r62:0e0d3099 default
parent child Browse files
Show More
@@ -53,11 +53,11 b' class CommentPattern(Pattern):'
53 53
54 54
55 55 class NeboardMarkdown(markdown.Extension):
56 AUTOLINK_PATTERN = r'(http://\S+)'
57 QUOTE_PATTERN = r'(>){1}(.+)'
56 AUTOLINK_PATTERN = r'(https?://\S+)'
57 QUOTE_PATTERN = r'^(>){1}(.+)'
58 58 REFLINK_PATTERN = r'((>){2}(\d+))'
59 59 SPOILER_PATTERN = r'%%(.+)%%'
60 COMMENT_PATTERN = r'(//(.+))'
60 COMMENT_PATTERN = r'^(//(.+))'
61 61
62 62 def extendMarkdown(self, md, md_globals):
63 63 autolink = AutolinkPattern(self.AUTOLINK_PATTERN, md)
@@ -196,4 +196,8 b' a:hover {'
196 196
197 197 .post:target {
198 198 border: solid 2px white;
199 }
200
201 pre{
202 white-space:pre-wrap
199 203 } No newline at end of file
@@ -211,4 +211,10 b' a {'
211 211 .last-replies > .post:last-child {
212 212 border-bottom: none;
213 213 padding-bottom: 0;
214 }
215
216 :target .post_id {
217 background: #182F6F;
218 color: #FFF;
219 text-decoration: none;
214 220 } No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now