Update the print style rules to correct line spacing issues on the side heading elements

This commit is contained in:
Craig Davis 2012-03-22 11:33:32 -05:00
parent bb13d4f099
commit e0e11658d7
3 changed files with 27 additions and 29 deletions

View File

@ -1,5 +1,6 @@
body.pdf { body.pdf {
color: black; color: black;
a { a {
text-decoration: none; text-decoration: none;
color: black; color: black;
@ -25,9 +26,25 @@ body.pdf {
h1 { h1 {
letter-spacing: 0; letter-spacing: 0;
margin-top: 0;
font-size: 48px;
text-transform: uppercase;
font-weight: normal;
} }
h2 { h2 {
letter-spacing: 0; letter-spacing: 0;
text-transform: uppercase;
font-style: italic;
font-weight: normal;
}
h3 {
float: left;
width: 16%;
font-style: normal;
}
h3+p {
float: left;
width: 84%;
} }
blockquote { blockquote {
@ -35,37 +52,18 @@ body.pdf {
right: 50px; right: 50px;
position: absolute; position: absolute;
} }
h1 {
margin-top: 0;
font-size: 48px;
text-transform: uppercase;
font-weight: normal;
}
h2 {
text-transform: uppercase;
font-style: italic;
font-weight: normal;
}
h3 {
float: left;
width: 16%;
}
h3+p {
float: left;
width: 84%;
}
ul li { ul li {
width: 28%; width: 28%;
float: left; float: left;
} }
ul dl { ul dl {
margin: 0;
padding: 0.3em 0 0;
dt { dt {
font-size: 122%; font-size: 122%;
font-weight: normal; font-weight: normal;
margin-bottom: .75em; margin: 0 0 .75em;
} }
dd { dd {
padding: 0 4em 0 0; padding: 0 4em 0 0;
@ -75,7 +73,7 @@ body.pdf {
ol { ol {
float: left; float: left;
width: 84%; width: 84%;
margin: .6em 0 0; margin: .7em 0 0;
} }
ol li { ol li {
@ -90,7 +88,7 @@ body.pdf {
} }
dl { dl {
margin: .5em 0 0; margin: .7em 0 0;
dt { dt {
} }
dd { dd {

View File

@ -62,6 +62,7 @@ hr {
font-size: 1px; font-size: 1px;
line-height: 0; line-height: 0;
overflow: visible; overflow: visible;
page-break-after: avoid;
} }
h1 { h1 {
@ -82,7 +83,7 @@ h2 {
h3 { h3 {
margin: 0; margin: 0;
padding: 0; padding: 0 0 .5em;
font-size: 150%; font-size: 150%;
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
@ -124,7 +125,7 @@ ul dl {
ol { ol {
margin: 0; margin: 0;
padding: 0; padding: 0 0 .75em;
width: 84%; width: 84%;
display: inline-block; display: inline-block;
} }
@ -151,7 +152,7 @@ dl {
dt { dt {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 150%; font-size: 140%;
} }
dd { dd {
margin: 0 0 1.5em; margin: 0 0 1.5em;
@ -165,7 +166,7 @@ dl {
em { em {
display: block; display: block;
font-size: 110%; font-size: 110%;
margin-bottom: .5em; margin: .15em 0 .5em;
font-style: bold; font-style: bold;
} }

View File

@ -7,7 +7,6 @@
*/ */
@media screen and (min-width: 15em) { @media screen and (min-width: 15em) {
} }