summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay')
-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>