Created
December 11, 2025 13:52
-
-
Save crh0831/520f3b521f2b84527b8d0fcea7436913 to your computer and use it in GitHub Desktop.
Calibre CSS Averia Paperback
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
| @import url('https://fonts.googleapis.com/css2?family=Averia+Gruesa+Libre&family=Fragment+Mono:ital@0;1&display=swap'); | |
| body.calibre-viewer-paginated { | |
| font-family: "Averia Gruesa Libre", "Fragment Mono" !important; | |
| font-size: 125%; | |
| text-indent: 2em !important; | |
| line-height: 125% !important; | |
| padding: 10px; | |
| word-wrap: break-word; | |
| } | |
| p, p.footnote { | |
| font-family: "Averia Gruesa Libre", "Fragment Mono" !important; | |
| font-size: 100%; | |
| word-wrap: break-word; | |
| } | |
| strong, emi, i { | |
| color: #ffffcc; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: "Averia Gruesa Libre", serif; | |
| font-weight: 600; | |
| line-height: 150% !important; | |
| text-align: left; | |
| color: #ffcc00; | |
| } | |
| /* Target ALL blockquotes that are descendants of another blockquote */ | |
| blockquote blockquote, | |
| blockquote blockquote blockquote, | |
| blockquote blockquote blockquote blockquote { | |
| /* Reset visual properties of the nested quotes */ | |
| margin: 0; | |
| padding: 0; | |
| border: none; | |
| background: none; | |
| display: inline; /* Or 'contents' in modern browsers */ | |
| } | |
| /* Quotes and Text Blocks */ | |
| blockquote { | |
| border-left: 5px groove; | |
| padding-left: 1em; | |
| margin-left: 1em; | |
| margin-right: 1em; | |
| font-style: italic; | |
| } | |
| span {display: inline;} | |
| img {max-width: 100%;} | |
| hr {border: 2px solid; border-radius: 2px;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment