Last active
August 3, 2025 10:11
-
-
Save techcaotri/5a8c3f65d51c7fe9802aad663db54689 to your computer and use it in GitHub Desktop.
Calibre 8.7.0 CSS
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
| /* Font imports */ | |
| @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap'); | |
| @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); | |
| /* Base styles */ | |
| body { | |
| font-family: 'Noto Sans', 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif !important; | |
| font-size: 1rem !important; | |
| line-height: 1.6 !important; | |
| color: #111111 !important; | |
| background-color: rgba(200, 192, 177, .35)!important; | |
| margin: 1.25rem auto !important; /* Center the content and ensure margin on both sides */ | |
| } | |
| /* Headings style */ | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: 'Noto Serif', 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif !important; /* Use Roboto with system fallbacks for headings */ | |
| color: #292929 !important; | |
| margin-top: 1.25rem !important; | |
| margin-bottom: 0.7rem !important; | |
| line-height: 1.3 !important; | |
| } | |
| /* Monospaced font style */ | |
| code, pre { | |
| font-family: 'Noto Mono', 'Courier New', monospace !important; /* Use Roboto Mono with system fallbacks for monospace */ | |
| background-color: #F5F5F5 !important; | |
| border: 1px solid #CCCCCC !important; | |
| padding: 0.313rem !important; | |
| overflow: auto !important; | |
| } | |
| /* Blockquote styling for better visibility */ | |
| blockquote { | |
| border-left: 0.188rem solid #CCCCCC !important; | |
| margin: 0.625rem !important; | |
| padding-left: 0.95rem !important; | |
| font-style: italic !important; | |
| background-color: #F9F9F9 !important; | |
| } | |
| /* Paragraph styles */ | |
| p { | |
| text-rendering: optimizelegibility !important; | |
| letter-spacing: 0.03em !important; | |
| line-height: 1.6 !important; | |
| margin-bottom: 1rem !important; | |
| } | |
| /* Links */ | |
| a { | |
| color: #007bff !important; /* Change link color */ | |
| text-decoration: underline !important; /* Underline links */ | |
| } | |
| /* Lists */ | |
| ul, ol { | |
| margin-bottom: 1rem !important; | |
| margin-left: 1.25rem !important; /* Adjust list indentation */ | |
| } | |
| li { | |
| margin-bottom: 0.5rem !important; /* Adjust spacing between list items */ | |
| } | |
| /* Tables */ | |
| table { | |
| width: 100% !important; /* Ensure tables expand to fill available space */ | |
| border-collapse: collapse !important; /* Collapse table borders */ | |
| } | |
| th, td { | |
| border: 1px solid #ddd !important; /* Add borders to table cells */ | |
| padding: 0.5rem !important; /* Adjust cell padding */ | |
| } | |
| /* Footnotes */ | |
| sup { | |
| vertical-align: super !important; /* Position superscript for footnotes */ | |
| } | |
| .footnote { | |
| font-size: 0.8em !important; /* Adjust footnote text size */ | |
| color: #666 !important; /* Change footnote text color */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment