Skip to content

Commit df22798

Browse files
committed
[css2] Included some rules from html2psrc, but protected them with @media.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401722
1 parent 0adb0af commit df22798

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

css2/style/default.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Style sheet for the CSS2 specification
3-
* $Id: default.css,v 2.14 1998-03-24 16:16:22 bbos Exp $
3+
* $Id: default.css,v 2.15 1998-05-13 11:01:30 bbos Exp $
44
*/
55

66
BODY {
@@ -21,6 +21,14 @@ H1 {
2121
text-align: center;
2222
}
2323

24+
@media print {
25+
P {
26+
margin-top: 0;
27+
margin-bottom: 0;
28+
text-indent: 1em;
29+
}
30+
}
31+
2432
PRE {
2533
font-family: monospace;
2634
margin-left: 1em;
@@ -158,3 +166,15 @@ SUP {
158166
vertical-align: super;
159167
font-size: 80%
160168
}
169+
170+
@media print {
171+
/* the following doesn't work for now,
172+
instead we rely on a patched version of html2ps which has this built-in */
173+
.dlink { display: none }
174+
175+
/* the following doesn't work for now,
176+
instead we rely on a patched version of html2ps which has this built-in */
177+
DIV.navbar {
178+
display: none;
179+
}
180+
}

0 commit comments

Comments
 (0)