diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-10-19 22:17:49 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-10-19 22:17:49 +0200 |
commit | 3daca1d7774e1dc9856a8b2d1d79983e861dc8e6 (patch) | |
tree | c67588389e1d5147d87980587a82f3f040d99816 | |
parent | 1e9295c6546125f05953bf5338e8bd226d5b44f3 (diff) | |
download | coderay-3daca1d7774e1dc9856a8b2d1d79983e861dc8e6.tar.gz |
simplify HTML page layout (no border)
-rw-r--r-- | lib/coderay/encoders/html/output.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb index 298921e..9132d94 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -140,10 +140,18 @@ module Encoders text-decoration: inherit; color: inherit; } +body { + background-color: white; + padding: 0; + margin: 0; +} <%CSS%> +.CodeRay { + border: none; +} </style> </head> -<body style="background-color: white;"> +<body> <%CONTENT%> </body> |