Webp the backgrounds

This commit is contained in:
2020-03-15 03:11:31 +01:00
parent 0860968446
commit 9417e1a11b
5 changed files with 21 additions and 2 deletions

View File

@ -55,7 +55,6 @@ body, html {
}
body {
background-image: url(../img/coreboot2.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
@ -63,6 +62,14 @@ body {
background-attachment: fixed;
}
.no-webp body {
background-image: url(../img/coreboot2.jpg);
}
.webp body {
background-image: url(../img/coreboot2.webp);
}
img {
background-image: none;
}
@ -467,6 +474,14 @@ nav ul li ul li a {
background-attachment: fixed;
}
.no-webp .members {
background-image: url(../img/flp-dark.jpg);
}
.webp .members {
background-image: url(../img/flp-dark.webp);
}
.members h1 {
text-align: center;
font-size: 60px;