Last active
December 15, 2015 13:28
-
-
Save jesgs/5267383 to your computer and use it in GitHub Desktop.
Print stylesheet from Jes.Gs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*------------------------------------------------------------------------------ | |
| Document : print | |
| Created on : Mar 22, 2013, 7:08:58 PM | |
| Author : Jess Green <jgreen at psy-dreamer.com> | |
| Description: Basic print stylesheet for single posts and pages | |
| ------------------------------------------------------------------------------*/ | |
| @page { | |
| margin: 1in; | |
| } | |
| body { | |
| font: 800 10pt/1.5 "Lato", sans-serif; | |
| color: #1d1b1c; | |
| padding: 0; | |
| } | |
| a { | |
| color: #000; | |
| text-decoration: none; | |
| } | |
| a[target=_blank]:after { | |
| color: #999; | |
| content:" <" attr(href) "> "; | |
| } | |
| ol, ul, img, p, h1, h2, h3, h4, h5, h6, table { | |
| page-break-inside: avoid; | |
| } | |
| .wrapper { | |
| margin: 0; | |
| text-align: left; | |
| } | |
| .wysiwyg h1, | |
| .wysiwyg h2, | |
| .wysiwyg h3, | |
| .wysiwyg h4, | |
| .wysiwyg h5, | |
| .wysiwyg h6 { | |
| margin-bottom: 0.5em; | |
| page-break-after: avoid; | |
| } | |
| .wysiwyg h1 { | |
| font-size: 1.5em; | |
| } | |
| .wysiwyg h2 { | |
| font-size: 1.25em; | |
| } | |
| .wysiwyg h3 { | |
| font-size: 1em; | |
| } | |
| .wysiwyg h4 { | |
| font-size: 0.75em; | |
| } | |
| .wysiwyg h5 { | |
| font-size: 0.625em; | |
| } | |
| .wysiwyg h6 { | |
| font-size: 0.5em; | |
| } | |
| .wysiwyg pre { | |
| word-wrap: break-word; | |
| overflow: visible; | |
| } | |
| .single-post-thumbnail { | |
| -webkit-filter: grayscale(100%); | |
| } | |
| .h1,.h2, .h3, .h4 { | |
| font-family: Lato, sans-serif; | |
| font-weight: 700; | |
| display: block; | |
| page-break-after: avoid; | |
| } | |
| .h1 { | |
| font-size: 3em; | |
| } | |
| .h2 { | |
| font-size: 2.5em; | |
| } | |
| .h3 { | |
| font-size: 1.5em; | |
| } | |
| .h4 { | |
| font-size: 1em; | |
| } | |
| .meta { | |
| font-size: 8pt; | |
| line-height: 1.5; | |
| } | |
| .meta .label { | |
| font-weight: bold; | |
| } | |
| #weather-drawer, | |
| .global-header, | |
| .global-footer, | |
| footer.meta, | |
| footer.meta-alt, | |
| .sharing-buttons, | |
| #feedlyMiniIcon, | |
| .categories, | |
| .response, | |
| .pagination { | |
| display: none !important; | |
| } | |
| .article-body { | |
| margin: 0; | |
| } | |
| .hentry header { | |
| border-bottom: 1px solid; | |
| margin-bottom: 1em; | |
| padding-bottom: 5pt | |
| } | |
| .hrecipe { | |
| border: 1px dashed #000000; | |
| padding: 20pt; | |
| page-break-inside: avoid; | |
| } | |
| .hrecipe .ingredients { | |
| list-style: none; | |
| margin-left: 0; | |
| } | |
| .hrecipe li { | |
| margin-bottom: 8pt; | |
| } | |
| .hrecipe ol { | |
| margin-bottom: 16pt; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment