summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-08-23 18:55:42 +0000
committermurphy <murphy@rubychan.de>2010-08-23 18:55:42 +0000
commite4317b4cda2ebe38bd7139479c252123205b45de (patch)
tree7fc03c66da388001f4801aac17cc3ac92282ef01
parentdcde0149880777d75dcd17691d483d9bbc76a762 (diff)
downloadcoderay-e4317b4cda2ebe38bd7139479c252123205b45de.tar.gz
Added ! important rules for line numbers in the Alpha style.
-rw-r--r--lib/coderay/styles/alpha.rb5
1 files changed, 5 insertions, 0 deletions
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; }