diff options
Diffstat (limited to 'src/index.css')
-rw-r--r-- | src/index.css | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..f613760 --- /dev/null +++ b/src/index.css @@ -0,0 +1,51 @@ +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"); + +:root { + font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + sans-serif; + line-height: 1.5; + font-weight: 400; + color-scheme: dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +html { + scroll-behavior: smooth; + width: 100%; +} + +body { + margin: 0; + min-width: 100%; + min-height: 100vh; + width: 100%; +} + +/* Custom scrollbar */ +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +::-webkit-scrollbar-thumb { + background: #888; + border-radius: 5px; +} + +::-webkit-scrollbar-thumb:hover { + background: #555; +} + +/* Selection color */ +::selection { + background: var(--primary-color); + color: white; +} |