Created
June 7, 2023 16:23
-
-
Save mellowcoffee/5e627ba51b52efac3271b47b0052156c to your computer and use it in GitHub Desktop.
Default style
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
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| ::selection { | |
| background-color: #21252b; | |
| } | |
| :root { | |
| font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
| --fg: #c9d1d9; | |
| --fg-50: hsla(210, 17%, 82%, 0.5); | |
| --bg: #0d1117; | |
| --bg-light: hsl(216, 15%, 15%); | |
| --link-50: hsla(203, 95%, 39%, 0.5); | |
| } | |
| body { | |
| width: min(65ch, 90%); | |
| min-height: 100vh; | |
| margin: 0 auto; | |
| padding-block: 2rem; | |
| color: var(--fg); | |
| background: var(--bg); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| body > * { | |
| margin-block: 0; | |
| } | |
| img { | |
| max-width: 100%; | |
| display: block; | |
| } | |
| h1, | |
| h2, | |
| h3 { | |
| line-height: 1.2; | |
| margin-block: 1rem; | |
| } | |
| h2 { | |
| font-size: 1.2rem; | |
| } | |
| p { | |
| margin: 0; | |
| } | |
| a[href*="//"] { | |
| color: var(--link); | |
| text-decoration-color: var(--link-50); | |
| } | |
| a[href*="//"]:hover { | |
| text-decoration-color: var(--fg); | |
| } | |
| a { | |
| color: var(--fg); | |
| text-decoration-color: var(--fg-50); | |
| } | |
| a:hover { | |
| text-decoration-color: var(--fg); | |
| } | |
| ul { | |
| margin-top: 0; | |
| margin-bottom: 1rem; | |
| padding-left: 1ch; | |
| } | |
| ul li { | |
| padding-left: 1ch; | |
| margin-bottom: 0.25rem; | |
| list-style-type: "–"; | |
| } | |
| blockquote { | |
| border-radius: 0.3rem; | |
| background-color: var(--bg-light); | |
| padding: 1rem; | |
| margin-inline: 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment