From: Hidde Wieringa Date: Tue, 14 May 2024 18:00:03 +0000 (+0200) Subject: Convert welcome sprite to SVG X-Git-Tag: live~566^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b05e36223d0c329f574073339cda4af19347c49c Convert welcome sprite to SVG --- diff --git a/app/assets/images/welcome-sprite.png b/app/assets/images/welcome-sprite.png deleted file mode 100644 index 30d93d7e1..000000000 Binary files a/app/assets/images/welcome-sprite.png and /dev/null differ diff --git a/app/assets/images/welcome-sprite.svg b/app/assets/images/welcome-sprite.svg index 4af03a213..5381a2542 100644 --- a/app/assets/images/welcome-sprite.svg +++ b/app/assets/images/welcome-sprite.svg @@ -1,288 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - ? - - - § + + + + + + + + + + + + + + + + + + + + + diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 12d115073..6eafb89d1 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -894,7 +894,7 @@ div.secondary-actions { /* Rules for the "Welcome" page */ .site-welcome, .site-fixthemap { .sprite { - background-image: image-url("welcome-sprite.png"); + background-image: image-url("welcome-sprite.svg"); background-size: 500px 250px; display: block; } @@ -911,6 +911,7 @@ div.secondary-actions { .sprite.term { margin-right: 10px; vertical-align: middle; + display: inline-block; } .sprite.node {