aboutsummaryrefslogtreecommitdiff
path: root/static/css/theme.css
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-03-26 14:23:22 +0000
committerLouis Pilfold <louis@lpil.uk>2024-03-26 14:23:22 +0000
commit4584a2908610c4e57b912bb7b11c9a667f1e5a63 (patch)
treec9b6eb5068d300579f54ba8bf62e76efb2fcbc9e /static/css/theme.css
parente0d7e32903fdd4a52098dd442ed380c0f6f742a9 (diff)
downloadtour-4584a2908610c4e57b912bb7b11c9a667f1e5a63.tar.gz
tour-4584a2908610c4e57b912bb7b11c9a667f1e5a63.zip
Remove off brand transitions
Diffstat (limited to 'static/css/theme.css')
-rw-r--r--static/css/theme.css24
1 files changed, 0 insertions, 24 deletions
diff --git a/static/css/theme.css b/static/css/theme.css
index 2cec41e..1ca496a 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -53,27 +53,3 @@ html.theme-dark {
color-scheme: dark;
}
-/* Hide body while theme init is occurring (50ms) */
-html.theme-init body {
- opacity: 0
-}
-
-/*
-removes all transitions in the page during first theme render to avoid FOUC
-(the theme-init class is removed from DOM 1 frame after the page content loads)
-*/
-html.theme-init * {
- transition: none !important;
-}
-
-body {
- opacity: 1;
- transition: opacity 300ms ease-out 0s;
-}
-
-html * {
- transition-duration: 150ms, 300ms;
- transition-property: color, background;
- transition-timing-function: ease-out;
- transition-delay: 0;
-} \ No newline at end of file