Use webp and woff2 to reduce file size
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
39bc536d38
commit
2989ac9791
6 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Nintendo;
|
font-family: Nintendo;
|
||||||
src: url(/assets/ttf/Nintendo.ttf);
|
src: url(/assets/woff2/Nintendo.woff2);
|
||||||
}
|
}
|
|
@ -26,7 +26,7 @@
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
margin-top: -8px;
|
margin-top: -8px;
|
||||||
margin-left: -8px;
|
margin-left: -8px;
|
||||||
background: url(/assets/jpg/Urchin_Underpass.jpg);
|
background: url(/assets/webp/Urchin_Underpass.webp);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
animation: 750ms forwards ease-out onload-background-blur;
|
animation: 750ms forwards ease-out onload-background-blur;
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
BIN
assets/webp/Urchin_Underpass.webp
Normal file
BIN
assets/webp/Urchin_Underpass.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 939 KiB |
BIN
assets/woff2/Nintendo.woff2
Normal file
BIN
assets/woff2/Nintendo.woff2
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue