##// END OF EJS Templates
Even prettier trip codes!
neko259 -
r1301:fa8de7a8 default
parent child Browse files
Show More
@@ -25,6 +25,6 b' class Tripcode:'
25 return self.tripcode
25 return self.tripcode
26
26
27 def get_view(self):
27 def get_view(self):
28 return '<span title="{}" style="color: #{}; background: #{}">{}</span>'\
28 return '<span class="tripcode" title="{title}" style="border: solid 2px #{color}; border-left: solid 1ex #{color};">{text}</span>'\
29 .format(self.get_full_text(), self.get_color(), self.get_background(),
29 .format(title=self.get_full_text(), color=self.get_color(),
30 self.get_short_text())
30 text=self.get_short_text())
@@ -130,3 +130,7 b' textarea, input {'
130 .reply-to-message {
130 .reply-to-message {
131 display: none;
131 display: none;
132 }
132 }
133
134 .tripcode {
135 padding: 2px;
136 } No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now