Background image
This commit is contained in:
parent
d7220282b4
commit
d196d8ae32
3 changed files with 16 additions and 2 deletions
14
src/main.css
14
src/main.css
|
|
@ -16,6 +16,20 @@ body
|
|||
font-family: sans;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-image: url(/assets/back.webp);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.15;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 420px)
|
||||
{
|
||||
body
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ module.exports = Object.assign(
|
|||
{
|
||||
filename: "[path].gz[query]",
|
||||
algorithm: "gzip",
|
||||
test: [/\.js/, /^assets\.*/],
|
||||
test: [/\.js/, /\.svg/],
|
||||
threshold: 1000
|
||||
})
|
||||
],
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports = Object.assign(
|
|||
{
|
||||
filename: "[path].gz[query]",
|
||||
algorithm: "gzip",
|
||||
test: [/\.js/, /^assets\.*/],
|
||||
test: [/\.js/, /\.svg/],
|
||||
threshold: 1000
|
||||
})
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue