Commit 1b1523f9 authored by Rafael Masoni's avatar Rafael Masoni
Browse files

Removing brackets from CSS

parent 7e080d1b
......@@ -32,12 +32,6 @@
display: inline
font-weight: bold
.scope:after
content: "]"
.scope:before
content: "["
.nick
&:after
......
......@@ -40,11 +40,11 @@ class Message
when %r[/(ooc) (.*)]i
self['login'] = user.login
self['classes'] = [ $1 ]
self['scope'] = 'OOC'
self['scope'] = '[OOC]'
self['body'] = "#{user.login}: #{$2}"
when %r[/(npc) ([^:]*): *(.*)$]i
self['classes'] = [ $1 ]
self['scope'] = 'NPC'
self['scope'] = '[NPC]'
self['nick'] = $2
self['body'] = $3
when %r[/(tell) (.*)]i
......@@ -53,12 +53,12 @@ class Message
when %r[/roll (\d+)d *(\d+)?]i
dices = Dice.roll($1, $2)
self['classes'] = 'dice'
self['scope'] = 'Dice'
self['scope'] = '[Dice]'
self['body'] = "#{user.login} rolls #{$1}d#{$2}: #{dices.join(' + ')} = **#{dices.inject {|s,d| s + d }}**"
else
self['login'] = user.login
self['classes'] = [ 'ooc' ]
self['scope'] = 'OOC'
self['scope'] = '[OOC]'
self['body'] = "#{user.login}: #{plain}"
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment