mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 12:32:45 +00:00
fix: Remove web background
This commit is contained in:
parent
80f6351aaf
commit
f1db2b9781
1 changed files with 16 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
||||||
body, html {
|
body,
|
||||||
margin:0;
|
html {
|
||||||
height:100%;
|
margin: 0;
|
||||||
|
height: 100%;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
background-image: url("img/light-background.png");
|
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,28 +16,31 @@ body, html {
|
||||||
}
|
}
|
||||||
|
|
||||||
.contain {
|
.contain {
|
||||||
display:block;
|
display: block;
|
||||||
width:100%; height:100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stretch {
|
.stretch {
|
||||||
display:block;
|
display: block;
|
||||||
width:100%; height:100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cover {
|
.cover {
|
||||||
display:block;
|
display: block;
|
||||||
width:100%; height:100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
body {
|
||||||
margin:0;
|
margin: 0;
|
||||||
height:100%;
|
height: 100%;
|
||||||
background: #000000;
|
background: #000000;
|
||||||
background-image: url("img/dark-background.png");
|
background-image: url("img/dark-background.png");
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue