diff options
author | Gary Murakami <gary.murakami@10gen.com> | 2012-09-27 11:39:11 -0400 |
---|---|---|
committer | Gary Murakami <gary.murakami@10gen.com> | 2012-09-27 11:39:11 -0400 |
commit | 73706ad02ed2278626f7b9bc2a52afe6e62fabd6 (patch) | |
tree | 62a56df07cacb305165129d280e69beddb7049bf /css/print | |
parent | a1e73b78ef6ec05599794e7cfd0b91bd7a10eb88 (diff) | |
download | fosdem-2018-presentation-73706ad02ed2278626f7b9bc2a52afe6e62fabd6.tar fosdem-2018-presentation-73706ad02ed2278626f7b9bc2a52afe6e62fabd6.tar.gz |
Changes to make PDF output match the browser view more closely
font-size: 18pt; instead of fount-size: 22pt;
remove the "a" tag from def that forces font size, otherwise anchors in various contexts, e.g., headings, etc., will cause ugly rendering due to mismatched font size.
specify font size for "pre" tags so that code listings more closely match browser rendering
Diffstat (limited to 'css/print')
-rw-r--r-- | css/print/pdf.css | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css index 26bc142..ec03eda 100644 --- a/css/print/pdf.css +++ b/css/print/pdf.css @@ -15,7 +15,7 @@ } body { - font-size: 22pt; + font-size: 18pt; width: auto; height: auto; border: 0; @@ -46,8 +46,8 @@ html { /* SECTION 3: Set body font face, size, and color. Consider using a serif font for readability. */ -body, p, td, li, div, a { - font-size: 22pt; +body, p, td, li, div { + font-size: 18pt; } /* SECTION 4: Set heading font face, sizes, and color. @@ -155,4 +155,8 @@ ul, ol, div, p { .reveal small a { font-size: 16pt !important; -}
\ No newline at end of file +} + +pre { + font-size: 9pt !important; +} |