CSS Improvements

Fixed a few aesthetic matters.
This commit is contained in:
Jacques Distler 2010-01-23 00:21:14 -06:00
parent 4dae13c567
commit 979ea7eca0
4 changed files with 29 additions and 10 deletions

View file

@ -91,6 +91,9 @@ module WikiHelper
{:class => 'navlink', :id => 'rollback', :rel => 'nofollow'})
end
def darken(s)
n=s.length/3
s.scan( %r(\w{#{n},#{n}}) ).collect {|a| (a.hex * 2/3).to_s(16).rjust(n,'0')}.join
end
end