diff options
| author | Fuwn <[email protected]> | 2026-01-24 13:09:50 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-24 13:09:50 +0000 |
| commit | 396acf3bbbe00a192cb0ea0a9ccf91b1d8d2850b (patch) | |
| tree | b9df4ca6a70db45cfffbae6fdd7252e20fb8e93c /src/styles | |
| download | umami-main.tar.xz umami-main.zip | |
Created from https://vercel.com/new
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/global.css | 43 | ||||
| -rw-r--r-- | src/styles/variables.css | 4 |
2 files changed, 47 insertions, 0 deletions
diff --git a/src/styles/global.css b/src/styles/global.css new file mode 100644 index 0000000..e9fca9f --- /dev/null +++ b/src/styles/global.css @@ -0,0 +1,43 @@ +html, +body { + font-family: var(--font-family), sans-serif; + color: var(--font-color); + font-size: var(--font-size); + background-color: var(--base-color-2); + width: 100%; + min-height: 100vh; +} + +html[style*="padding-right"] { + padding-right: 0 !important; +} + +a, +a:active, +a:hover { + color: var(--font-color); + text-decoration: none; +} + +::-webkit-scrollbar { + width: 15px; + background: transparent; +} + +::-webkit-scrollbar-track { + border: 7px solid rgba(0, 0, 0, 0); + background-color: var(--base-color-4); + background-clip: padding-box; +} + +::-webkit-scrollbar-thumb { + border: 7px solid rgba(0, 0, 0, 0); + background-color: var(--base-color-9); + border-radius: var(--border-radius-full); + background-clip: padding-box; +} + +::-webkit-scrollbar-thumb:hover { + border: 4px solid rgba(0, 0, 0, 0); + background-clip: padding-box; +} diff --git a/src/styles/variables.css b/src/styles/variables.css new file mode 100644 index 0000000..f7ebb02 --- /dev/null +++ b/src/styles/variables.css @@ -0,0 +1,4 @@ +html body { + --primary-color: #147af3; + --primary-font-color: var(--light-color); +} |