Created
September 9, 2022 07:01
-
-
Save iamsahebgiri/5fdcf76d4befca4a004d42b80a8c3ae5 to your computer and use it in GitHub Desktop.
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=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"); | |
| :root { | |
| --bg: #f4f5f7; | |
| --paper: #fff; | |
| --text-color: #172b4d; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: "Space Mono", monospace; | |
| background-color: var(--bg); | |
| height: 100vh; | |
| width: 100vw; | |
| display: grid; | |
| place-items: center; | |
| margin: 0; | |
| } | |
| .container { | |
| background-color: var(--paper); | |
| padding: 21px 32px; | |
| max-width: 1024px; | |
| border-radius: 8px; | |
| margin: 12px; | |
| color: var(--text-color); | |
| box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); | |
| } | |
| a { | |
| text-decoration: underline 2px #00b8d9; | |
| color: var(--text-color); | |
| font-weight: 700; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --bg: #091e42; | |
| --text-color: #fff; | |
| --paper: #253858; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment