aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/script/transition.ts1
-rw-r--r--web/style/themes.css8
2 files changed, 5 insertions, 4 deletions
diff --git a/web/script/transition.ts b/web/script/transition.ts
index 03338ca..26630ee 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"))
+ window.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;
}