1
0
Fork 0

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
This commit is contained in:
Gary Murakami 2012-09-27 11:39:11 -04:00
parent a1e73b78ef
commit 73706ad02e
1 changed files with 8 additions and 4 deletions

View File

@ -15,7 +15,7 @@
} }
body { body {
font-size: 22pt; font-size: 18pt;
width: auto; width: auto;
height: auto; height: auto;
border: 0; border: 0;
@ -46,8 +46,8 @@ html {
/* SECTION 3: Set body font face, size, and color. /* SECTION 3: Set body font face, size, and color.
Consider using a serif font for readability. */ Consider using a serif font for readability. */
body, p, td, li, div, a { body, p, td, li, div {
font-size: 22pt; font-size: 18pt;
} }
/* SECTION 4: Set heading font face, sizes, and color. /* SECTION 4: Set heading font face, sizes, and color.
@ -155,4 +155,8 @@ ul, ol, div, p {
.reveal small a { .reveal small a {
font-size: 16pt !important; font-size: 16pt !important;
} }
pre {
font-size: 9pt !important;
}