Skip to content

Commit f5cf49b

Browse files
committed
[css2] Removed some padding from BODY to get more text on the page.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403258
1 parent 9efcc3c commit f5cf49b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

css2/style/default.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,16 @@ div.issue, p.issue {border: thin solid red; padding: 0.5em}
190190
*/
191191

192192
@page {
193-
margin: 2cm 1.5cm
193+
margin: 1.5cm 1.5cm 2cm 1.5cm
194194
}
195195

196196
@media print {
197+
HTML > BODY {
198+
padding-top: 0; /* Override /StyleSheets/TR/W3C-REC.css */
199+
padding-right: 0; /* Override /StyleSheets/TR/W3C-REC.css */
200+
padding-bottom: 0; /* Override /StyleSheets/TR/W3C-REC.css */
201+
}
202+
197203
P {
198204
margin-top: 0;
199205
margin-bottom: 0;
@@ -206,7 +212,7 @@ P {
206212

207213
/* the following doesn't work for now,
208214
instead we rely on a patched version of html2ps which has this built-in */
209-
DIV.navbar {
215+
DIV.navbar, HR.navbar {
210216
display: none;
211217
}
212218

0 commit comments

Comments
 (0)