From f20d3fdd959d410c79a7084892ef89def3d5a725 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:33:04 +0800 Subject: [PATCH] Improve badge wrapper --- src/_includes/main/badges.njk | 10 +++++----- src/assets/css/home.css | 8 ++++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/_includes/main/badges.njk b/src/_includes/main/badges.njk index d77ff68a..02f4d938 100644 --- a/src/_includes/main/badges.njk +++ b/src/_includes/main/badges.njk @@ -3,11 +3,11 @@
Valid Atom 1.0 Coffee powered -
- -
+
+
+
diff --git a/src/assets/css/home.css b/src/assets/css/home.css index d96ea1eb..adbc2dd9 100644 --- a/src/assets/css/home.css +++ b/src/assets/css/home.css @@ -114,6 +114,10 @@ gap: 2em; margin-top: 1.5em; } - .webrings h3 { font-size: 1.5rem; } -.home__badges { gap: 0.5em; } \ No newline at end of file + +.home__badges { + --badge-gap: 0.5em; + gap: var(--badge-gap); + margin-bottom: var(--badge-gap); +} \ No newline at end of file