diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/script/transition.ts | 1 | ||||
-rw-r--r-- | web/style/themes.css | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/web/script/transition.ts b/web/script/transition.ts index 03338ca..5e8e9e2 100644 --- a/web/script/transition.ts +++ b/web/script/transition.ts @@ -70,6 +70,7 @@ function prepare_load(href: string, back?: boolean) { document.head.innerHTML = head document.body.outerHTML = body globalThis.dispatchEvent(new Event("DOMContentLoaded")) + globalThis.scrollTo({ top: 0 }); fade(true) } } diff --git a/web/style/themes.css b/web/style/themes.css index 10124b4..f405815 100644 --- a/web/style/themes.css +++ b/web/style/themes.css @@ -23,8 +23,8 @@ body.theme-Dark { --background-light: #1c1c1c; --background-very-light: #323232; --background-disable: rgb(128, 128, 128); - --background-prop: #5a5a5a85; - --font: rgb(218, 218, 218); + --background-prop: rgba(0, 0, 0, 0.8); + --font: #f1f1f1; --font-dark: rgb(122, 122, 122); --font-highlight: white; } @@ -63,8 +63,8 @@ body.theme-Purple { --background-light: #1c1c1c; --background-very-light: #323232; --background-disable: rgb(128, 128, 128); - --background-prop: #5a5a5a85; - --font: rgb(218, 218, 218); + --background-prop: rgba(0, 0, 0, 0.8); + --font: #f1f1f1; --font-dark: rgb(122, 122, 122); --font-highlight: white; } |