diff options
author | murphy <murphy@rubychan.de> | 2010-04-02 01:53:38 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-02 01:53:38 +0000 |
commit | b9377ad2633d5f7de92b339f1ad28b11942adfe3 (patch) | |
tree | 759095552fbebb6b01c2fcd9c8398d97237a5e81 /lib/coderay/styles/murphy.rb | |
parent | 1de8e57c915561e0c5ce7e98e8760c7e7ad0a38e (diff) | |
download | coderay-b9377ad2633d5f7de92b339f1ad28b11942adfe3.tar.gz |
New HTML Encoder option :line_number_anchors (closes #208).
Also removed the :list wrapping style, and made a lot of cleanup in the styles. See Changes.textile.
Diffstat (limited to 'lib/coderay/styles/murphy.rb')
-rw-r--r-- | lib/coderay/styles/murphy.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/coderay/styles/murphy.rb b/lib/coderay/styles/murphy.rb index 033d949..0610dd9 100644 --- a/lib/coderay/styles/murphy.rb +++ b/lib/coderay/styles/murphy.rb @@ -20,8 +20,6 @@ module Styles } .CodeRay pre { margin: 0px; } -div.CodeRay { } - span.CodeRay { white-space: pre; border: 0px; padding: 2px; } table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; } @@ -32,13 +30,9 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; } color: gray; text-align: right; } -.CodeRay .line_numbers tt { font-weight: bold; } +.CodeRay .line_numbers .highlighted, .CodeRay .no .highlighted { color: red; } .CodeRay .no { padding: 0px 4px; } .CodeRay .code { width: 100%; } - -ol.CodeRay { font-size: 10pt; } -ol.CodeRay li { white-space: pre; } - .CodeRay .code pre { overflow: auto; } MAIN |