add hi-dpi for missing page

This commit is contained in:
王邈 2020-02-28 23:07:12 +08:00
parent a46b9fd743
commit 94d672307e
11 changed files with 18 additions and 2 deletions

View File

@ -322,7 +322,15 @@ body {
.not-found {
height: 600px;
background-image: url(/static/img/missing-white.png);
background-image: url(/static/img/missing.png);
background-image: -webkit-image-set(url("/static/img/missing.png") 1x,
url("/static/img/missing@2x.png") 2x,
url("/static/img/missing@3x.png") 3x,
url("/static/img/missing@4x.png") 4x);
background-image: image-set(url("/static/img/missing.png") 1x,
url("/static/img/missing@2x.png") 2x,
url("/static/img/missing@3x.png") 3x,
url("/static/img/missing@4x.png") 4x);
background-repeat: no-repeat;
background-position: center;
@ -332,7 +340,15 @@ body {
align-items: center;
@include dark {
background-image: url(/static/img/missing-black.png);
background-image: url(/static/img/missing-dark.png);
background-image: -webkit-image-set(url("/static/img/missing-dark.png") 1x,
url("/static/img/missing-dark@2x.png") 2x,
url("/static/img/missing-dark@3x.png") 3x,
url("/static/img/missing-dark@4x.png") 4x);
background-image: image-set(url("/static/img/missing-dark.png") 1x,
url("/static/img/missing-dark@2x.png") 2x,
url("/static/img/missing-dark@3x.png") 3x,
url("/static/img/missing-dark@4x.png") 4x);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
static/img/missing-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
static/img/missing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
static/img/missing@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/img/missing@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
static/img/missing@4x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB