From a628aae17bde8dfee78356bb807f509bae54048d Mon Sep 17 00:00:00 2001 From: veyndan Date: Wed, 5 Jun 2024 23:44:12 +0200 Subject: [PATCH] Use semantic HTML to include logo Not only is the HTML semantically clearer with such a change, if one wanted to print the Welcome/Privacy Policy page, the logo would now be included in that printout (or PDF or whatever). --- webextension/css/welcome.css | 6 ------ webextension/welcome.html | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/webextension/css/welcome.css b/webextension/css/welcome.css index a56ef413..0ca35da2 100644 --- a/webextension/css/welcome.css +++ b/webextension/css/welcome.css @@ -48,7 +48,6 @@ p { } .welcome-logo { - background: url('../images/wayback-light.png') center/cover no-repeat; width: 375px; height: 150px; margin: 0 auto; @@ -73,9 +72,4 @@ p { .bottom-container { background-color: #333; } - - .welcome-logo { - background-image: url('../images/wayback-dark.png') - } - } diff --git a/webextension/welcome.html b/webextension/welcome.html index 13df45d2..254fd251 100644 --- a/webextension/welcome.html +++ b/webextension/welcome.html @@ -12,7 +12,10 @@
- + + + +

Welcome to the Internet Archive's
Wayback Machine Browser Extension