From 4c3c4a9e2f6e3cd37b383adcad52835fe10d301f Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 31 Jan 2024 16:53:21 +0900 Subject: [PATCH] docs: use background-size to set pixel backgrounds for course banners --- website/src/css/custom.css | 7 ++++--- website/static/img/unleash-academy/beginner-pixels-l.svg | 5 ----- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 website/static/img/unleash-academy/beginner-pixels-l.svg diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 6f7c444af5..c3b2b47b8a 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -443,12 +443,13 @@ html[data-theme='light'] .course-banner-container { } .course-banner-container.beginners { - background-image: url('/img/unleash-academy/beginner-pixels-l.svg'); + background-image: url('/img/unleash-academy/beginner-pixels.svg'); + background-size: 108px; } .course-banner-container.advanced { - /* todo: rewrite this to use the large advanced pixels */ - background-image: url('/img/unleash-academy/beginner-pixels-l.svg'); + background-image: url('/img/unleash-academy/advanced-pixels.svg'); + background-size: 108px; } .course-banner-container > * + * { diff --git a/website/static/img/unleash-academy/beginner-pixels-l.svg b/website/static/img/unleash-academy/beginner-pixels-l.svg deleted file mode 100644 index df1f7f865b..0000000000 --- a/website/static/img/unleash-academy/beginner-pixels-l.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - -