diff --git a/css/main.css b/css/main.css index f29f3bb..7be35fc 100644 --- a/css/main.css +++ b/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; diff --git a/img/coreboot2.webp b/img/coreboot2.webp index 05f4562..c96c715 100644 Binary files a/img/coreboot2.webp and b/img/coreboot2.webp differ diff --git a/img/flp-dark.webp b/img/flp-dark.webp index b253d6f..ca0edc6 100644 Binary files a/img/flp-dark.webp and b/img/flp-dark.webp differ diff --git a/index.html b/index.html index 0de670d..7bb116e 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,7 @@ + @@ -302,7 +303,7 @@ -
+

We're looking for new members!

diff --git a/js/modernizer.js b/js/modernizer.js new file mode 100644 index 0000000..8d260b2 --- /dev/null +++ b/js/modernizer.js @@ -0,0 +1,3 @@ +/*! modernizr 3.6.0 (Custom Build) | MIT * + * https://modernizr.com/download/?-webp-setclasses !*/ + !function(e,n,A){function o(e,n){return typeof e===n}function t(){var e,n,A,t,a,i,l;for(var f in r)if(r.hasOwnProperty(f)){if(e=[],n=r[f],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(A=0;A