Webp the backgrounds
This commit is contained in:
17
css/main.css
17
css/main.css
@ -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;
|
||||
|
Reference in New Issue
Block a user