additional eir site rework changes
This commit is contained in:
parent
2816ace0f5
commit
47ae3a9e10
@ -23,7 +23,7 @@ html
|
||||
if req && req.headers && req.headers.cookie && req.headers.cookie.includes("dark=1")
|
||||
- dark = true
|
||||
if !(req && isMobile(req))
|
||||
script(type="text/javascript" res-root="/static" src="https://eir-nya.gay/res/js/cursors.js")
|
||||
script(type="text/javascript" res-root="/static" src="https://eir-nya.gay/static/js/cursors.js")
|
||||
script(type="module" src=getStaticURL("html", "/static/js/dark-mode.js"))
|
||||
meta(name="darkreader-lock")
|
||||
|
||||
|
@ -71,7 +71,7 @@ $theme: map.merge($theme, (
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url("https://eir-nya.gay/static/images/background/night_sky.png");
|
||||
background-image: url("https://eir-nya.gay/static/images/background/sunset.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: 50% 0%;
|
||||
@ -82,11 +82,7 @@ body {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
body.dark {
|
||||
background: url("https://eir-nya.gay/res/images/cubes-dark.png"), linear-gradient(rgba(130, 88, 88, 0.875), rgba(130, 88, 88, 0.5));
|
||||
background: url("https://eir-nya.gay/res/images/cubes-dark.png"), -webkit-linear-gradient(rgba(130, 88, 88, 0.875), rgba(130, 88, 88, 0.5));
|
||||
background: url("https://eir-nya.gay/res/images/cubes-dark.png"), -moz-linear-gradient(rgba(130, 88, 88, 0.875), rgba(130, 88, 88, 0.5));
|
||||
background: url("https://eir-nya.gay/res/images/cubes-dark.png"), -o-linear-gradient(rgba(130, 88, 88, 0.875), rgba(130, 88, 88, 0.5));
|
||||
background: url("https://eir-nya.gay/res/images/cubes-dark.png"), -ms-linear-gradient(rgba(130, 88, 88, 0.875), rgba(130, 88, 88, 0.5));
|
||||
background-image: url("https://eir-nya.gay/static/images/background/night_sky.png");
|
||||
}
|
||||
|
||||
/* Light toggle */
|
||||
|
Loading…
x
Reference in New Issue
Block a user