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 {
|
:root {
|
||||||
--background-body: #fff;
|
--background-body: #202122;
|
||||||
--text-main: #36393b;
|
--text-main: #fff;
|
||||||
--text-secondary: #6b6f72;
|
--text-secondary: #ccc;
|
||||||
--primary-color: #548e9b;
|
--primary-color: #548e9b;
|
||||||
--font-family-serif: Merriweather, serif;
|
--font-family-serif: Merriweather, serif;
|
||||||
--font-family-sans: 'Fira Sans', sans-serif;
|
--font-family-sans: 'Fira Sans', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@view-transition {
|
@view-transition {
|
||||||
navigation: auto;
|
navigation: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root.theme-dark {
|
|
||||||
--background-body: #202122;
|
|
||||||
--text-main: #fff;
|
|
||||||
--text-secondary: #ccc;
|
|
||||||
--primary-color: #548e9b;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
|||||||
Reference in New Issue
Block a user