Created
July 25, 2026 20:45
-
-
Save Gravifer/ffb26706d40e35ec874d680c721ccdbe to your computer and use it in GitHub Desktop.
Bearblog sakura with auto dark
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://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css"); | |
| :root { | |
| color-scheme: light; | |
| --width: 720px; | |
| --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; | |
| --font-secondary: Verdana, sans-serif; | |
| --font-scale: 1.2em; | |
| --background-color: #f9f9f9; | |
| --heading-color: #4a4a4a; | |
| --text-color: #4a4a4a; | |
| --link-color: #1d7484; | |
| --visited-color: #144f5a; | |
| --code-background-color: #f1f1f1; | |
| --code-color: #4a4a4a; | |
| --blockquote-color: #4a4a4a; | |
| --hover-color: #982c61; | |
| --hover-border-color: #4a4a4a; | |
| --font-mono: | |
| "Fira Code VF", | |
| "Fira Code", | |
| ui-monospace, | |
| "Cascadia Code", | |
| "SFMono-Regular", | |
| Consolas, | |
| monospace; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| color-scheme: dark; | |
| --background-color: #120c0e; | |
| --heading-color: #d9d8dc; | |
| --text-color: #d9d8dc; | |
| --link-color: #eb99a1; | |
| --visited-color: #e26f7a; | |
| --code-background-color: #40363a; | |
| --code-color: #d9d8dc; | |
| --blockquote-color: #d9d8dc; | |
| --hover-color: #e26f7a; | |
| --hover-border-color: #d9d8dc; | |
| } | |
| } | |
| body { | |
| font-family: var(--font-secondary); | |
| font-size: var(--font-scale); | |
| margin: auto; | |
| padding: 20px; | |
| max-width: var(--width); | |
| text-align: left; | |
| background-color: var(--background-color); | |
| word-wrap: break-word; | |
| overflow-wrap: break-word; | |
| line-height: 1.5; | |
| color: var(--text-color); | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: var(--font-main); | |
| color: var(--heading-color); | |
| } | |
| a { | |
| color: var(--link-color); | |
| cursor: pointer; | |
| text-decoration: none; | |
| } | |
| a:hover { | |
| color: var(--hover-color); | |
| border-bottom: 2px solid var(--hover-border-color); | |
| margin-bottom: -2px; | |
| } | |
| nav a { | |
| margin-right: 8px; | |
| } | |
| strong, b { | |
| color: var(--heading-color); | |
| } | |
| button { | |
| margin: 0; | |
| cursor: pointer; | |
| } | |
| main { | |
| line-height: 1.6; | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| th, | |
| td { | |
| padding: 0.35em 0.5em; | |
| vertical-align: top; | |
| border: 1px solid color-mix( | |
| in srgb, | |
| var(--text-color) 18%, | |
| transparent | |
| ); | |
| } | |
| hr { | |
| border: 0; | |
| border-top: 1px solid var(--link-color); | |
| } | |
| img { | |
| max-width: 100%; | |
| } | |
| code, | |
| pre, | |
| kbd, | |
| samp { | |
| font-family: var(--font-mono); | |
| font-variant-ligatures: contextual; | |
| font-feature-settings: "calt" 1; | |
| } | |
| code { | |
| padding: 2px; | |
| font-size: 0.95em; | |
| background-color: var(--code-background-color); | |
| color: var(--code-color); | |
| } | |
| pre { | |
| font-size: 0.95em; | |
| } | |
| pre code { | |
| font-size: 1em; | |
| } | |
| blockquote { | |
| border-left: 5px solid var(--link-color); | |
| padding: 0 15px; | |
| margin: 15px 0; | |
| line-height: 1.6; | |
| font-size: 16px; | |
| background-color: var(--code-background-color); | |
| color: var(--code-color); | |
| } | |
| footer { | |
| padding: 25px 0; | |
| text-align: center; | |
| } | |
| .title h1 { | |
| color: var(--link-color); | |
| } | |
| .title h1:hover { | |
| color: var(--hover-color); | |
| } | |
| .inline { | |
| width: auto !important; | |
| } | |
| .highlight, .code { | |
| padding: 1px 15px; | |
| background-color: var(--code-background-color); | |
| color: var(--code-color); | |
| border-radius: 3px; | |
| margin-block-start: 1em; | |
| margin-block-end: 1em; | |
| overflow-x: auto; | |
| } | |
| /* blog post list */ | |
| ul.blog-posts { | |
| list-style-type: none; | |
| padding: unset; | |
| } | |
| ul.blog-posts li { | |
| display: flex; | |
| } | |
| ul.blog-posts li span { | |
| min-width: 150px; | |
| } | |
| ul.blog-posts li a:visited { | |
| color: var(--visited-color); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment