add 2x bg image
This commit is contained in:
parent
2caada2bdd
commit
389ce80df6
6 changed files with 14 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ FONTS = $(shell find fonts -type f)
|
|||
CSS = style.css where.css
|
||||
PAGES = index.html where.html pubkey.txt
|
||||
MEDIA = $(patsubst %,media/%, \
|
||||
mlem.gif mlem_static.png niss_uwu_bg_dim.png niss_uwu_bg.png \
|
||||
cybre.png donphan.png types.png \
|
||||
bg.png bg_2x.png bg_dim.png bg_2x_dim.png \
|
||||
mlem.gif mlem_static.png cybre.png donphan.png types.png \
|
||||
niss-nisse.mp3 niss-nisse.ogg \
|
||||
) \
|
||||
$(wildcard media/*.svg)
|
||||
|
|
BIN
media/bg.kra
Normal file
BIN
media/bg.kra
Normal file
Binary file not shown.
BIN
media/bg.png
(Stored with Git LFS)
Normal file
BIN
media/bg.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
media/bg_2x.png
(Stored with Git LFS)
Normal file
BIN
media/bg_2x.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
media/niss_uwu_bg.png
(Stored with Git LFS)
BIN
media/niss_uwu_bg.png
(Stored with Git LFS)
Binary file not shown.
|
@ -11,7 +11,9 @@ body {
|
|||
hsl(195deg, 100%, 67%),
|
||||
hsl(155deg, 70%, 62%)
|
||||
);
|
||||
--bg-image: url(media/niss_uwu_bg.png);
|
||||
--bg-image:
|
||||
image-set(url(media/bg.png) 1x,
|
||||
url(media/bg_2x.png) 2x);
|
||||
--size: 1.75rem;
|
||||
--weight: 600;
|
||||
|
||||
|
@ -233,7 +235,9 @@ h1, h2 { --around-image: url(media/sparkles.svg); }
|
|||
hsl(195deg, 60%, 44%),
|
||||
hsl(155deg, 60%, 55%)
|
||||
);
|
||||
--bg-image: url(media/niss_uwu_bg_dim.png);
|
||||
--bg-image:
|
||||
image-set(url(media/bg_dim.png) 1x,
|
||||
url(media/bg_2x_dim.png) 2x);
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
Loading…
Reference in a new issue