mirror of
https://github.com/standardebooks/web.git
synced 2025-07-23 07:44:49 -04:00
Add 2x images and <picture> elements to homepage
This commit is contained in:
parent
12fc100041
commit
3ed5c8f189
25 changed files with 38 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue