summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-10-19 22:17:49 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-10-19 22:17:49 +0200
commit3daca1d7774e1dc9856a8b2d1d79983e861dc8e6 (patch)
treec67588389e1d5147d87980587a82f3f040d99816
parent1e9295c6546125f05953bf5338e8bd226d5b44f3 (diff)
downloadcoderay-3daca1d7774e1dc9856a8b2d1d79983e861dc8e6.tar.gz
simplify HTML page layout (no border)
-rw-r--r--lib/coderay/encoders/html/output.rb10
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>