Add 2x images and <picture> elements to homepage

This commit is contained in:
Alex Cabal 2020-11-19 20:15:11 -06:00
parent 12fc100041
commit 3ed5c8f189
25 changed files with 38 additions and 9 deletions

View file

@ -302,6 +302,7 @@ article > h1{
main.front-page h1{
text-align: center;
background: #29292b url("/images/book.jpg") center / cover;
background-image: image-set("/images/book.avif" type("image/avif"), "/images/book.jpg" type("image/jpeg"));
border-bottom: 1px solid var(--border);
box-shadow: 0 0 10px rgba(0, 0, 0, .75);
width: calc(100% + 4rem);