Skip to content

Commit 3daca1d

Browse files
committed
simplify HTML page layout (no border)
1 parent 1e9295c commit 3daca1d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/coderay/encoders/html/output.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,18 @@ def apply target, replacement
140140
text-decoration: inherit;
141141
color: inherit;
142142
}
143+
body {
144+
background-color: white;
145+
padding: 0;
146+
margin: 0;
147+
}
143148
<%CSS%>
149+
.CodeRay {
150+
border: none;
151+
}
144152
</style>
145153
</head>
146-
<body style="background-color: white;">
154+
<body>
147155
148156
<%CONTENT%>
149157
</body>

0 commit comments

Comments
 (0)