Skip to content

Commit

Permalink
CSS for "pulled quote" → we use H6
Browse files Browse the repository at this point in the history
  • Loading branch information
u451f committed Sep 26, 2023
1 parent 9d76ad6 commit 4d00abd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions print-automation/assets/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ h1, h2 {
page-break-before: always; /* starts a new page before this elm */
}

h1, h2, h3, h4, h5 { /* no page breaks in or after titles */
h1, h2, h3, h4, h5, h6 { /* no page breaks in or after titles */
page-break-inside: avoid;
page-break-after: avoid;
}
Expand All @@ -212,7 +212,7 @@ li:first-child { /* prevent orphan in lists */
* Element styles
* ***************/

h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5, h6 {
margin-bottom: 0;
font-weight: normal;
font-family: "SourceSans-Bold", sans-serif;
Expand All @@ -239,6 +239,18 @@ h3, h4, h5, figure, ol {
margin-left: 64mm;
}

h6 { /* aka "pulled quote" */
border-top: 1px solid;
padding-top: 1mm;
margin-top: -1mm;
margin-bottom: 0.25em;
font-size: 11.5pt;
line-height: 16pt;
letter-spacing: 0.01em;
float: left;
width: 54mm;
}

ul {
margin-left: 56.5mm;
list-style: none;
Expand Down

0 comments on commit 4d00abd

Please sign in to comment.