From e4317b4cda2ebe38bd7139479c252123205b45de Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 23 Aug 2010 18:55:42 +0000 Subject: Added ! important rules for line numbers in the Alpha style. --- lib/coderay/styles/alpha.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/coderay/styles') diff --git a/lib/coderay/styles/alpha.rb b/lib/coderay/styles/alpha.rb index bb46b4d..8047715 100644 --- a/lib/coderay/styles/alpha.rb +++ b/lib/coderay/styles/alpha.rb @@ -33,6 +33,11 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; } -moz-user-select: none; -webkit-user-select: none; } +.CodeRay .line_numbers a, .CodeRay .no a { + background-color: #{numbers_background} ! important; + color: gray ! important; + text-decoration: none ! important; +} .CodeRay .line_numbers a:target, .CodeRay .no a:target { color: blue; } .CodeRay .line_numbers .highlighted, .CodeRay .no .highlighted { color: red; } .CodeRay .no { padding: 0px 4px; } -- cgit v1.2.1