mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-11 22:06:56 +00:00
remove flashing when initially loading the pages
This commit is contained in:
+3
-11
@@ -1,24 +1,16 @@
|
||||
:root {
|
||||
--background-body: #fff;
|
||||
--text-main: #36393b;
|
||||
--text-secondary: #6b6f72;
|
||||
--background-body: #202122;
|
||||
--text-main: #fff;
|
||||
--text-secondary: #ccc;
|
||||
--primary-color: #548e9b;
|
||||
--font-family-serif: Merriweather, serif;
|
||||
--font-family-sans: 'Fira Sans', sans-serif;
|
||||
}
|
||||
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
:root.theme-dark {
|
||||
--background-body: #202122;
|
||||
--text-main: #fff;
|
||||
--text-secondary: #ccc;
|
||||
--primary-color: #548e9b;
|
||||
}
|
||||
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
scroll-behavior: smooth;
|
||||
|
||||
Reference in New Issue
Block a user