Add image cover

This commit is contained in:
Andros Fenollosa
2021-07-31 01:22:18 +02:00
parent 630d1614b1
commit 4a6654c22d
9 changed files with 162 additions and 139 deletions

View File

@@ -7,7 +7,7 @@
@font-face {
font-family: Newsreader;
src: url("static/fonts/Newsreader-VariableFont_opsz,wght.woff2");
src: url("../fonts/Newsreader-VariableFont_opsz,wght.woff2");
}
body {
@@ -15,6 +15,8 @@ body {
padding: 0;
font-family: Newsreader, serif;
color: var(--color-black);
background-image: url("../img/background.jpg");
background-size: 100%;
}
img {
object-fit: cover;