From 399c50017ea66c4ad664278688013dfd7050d446 Mon Sep 17 00:00:00 2001 From: Johan Brook Date: Fri, 7 Jun 2024 16:46:11 +0200 Subject: [PATCH] CSS restructure (minor) --- src/_includes/css/components.css | 8 ++++++++ src/_includes/css/utils.css | 2 ++ src/johan.css | 7 +------ src/tags.njk | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 src/_includes/css/components.css diff --git a/src/_includes/css/components.css b/src/_includes/css/components.css new file mode 100644 index 000000000..5eed38da2 --- /dev/null +++ b/src/_includes/css/components.css @@ -0,0 +1,8 @@ +@import 'css/navigation.css'; +@import 'css/posts-list.css'; +@import 'css/prose.css'; +@import 'css/notes.css'; + +.TagCloud { + +} diff --git a/src/_includes/css/utils.css b/src/_includes/css/utils.css index 39e9c5ff9..ba0f78ac2 100644 --- a/src/_includes/css/utils.css +++ b/src/_includes/css/utils.css @@ -1,3 +1,5 @@ +@import 'css/excerpt.css'; + .skip-link { position: fixed; top: var(--inset); diff --git a/src/johan.css b/src/johan.css index b2f8ceb8b..c1f968a96 100644 --- a/src/johan.css +++ b/src/johan.css @@ -13,12 +13,7 @@ Just kidding. @import 'css/base.css'; @import 'css/layout.css'; -@import 'css/notes.css'; -@import 'css/navigation.css'; -@import 'css/notes.css'; -@import 'css/posts-list.css'; -@import 'css/prose.css'; -@import 'css/excerpt.css'; +@import 'css/components.css'; @import 'css/changelog.css'; @import 'css/oblique-strategies.css'; diff --git a/src/tags.njk b/src/tags.njk index 802e94e30..bc32c662c 100644 --- a/src/tags.njk +++ b/src/tags.njk @@ -3,8 +3,8 @@ title: All tags layout: layouts/page.njk --- -
    +
      {% for tag in search.values("tags") %} -
    1. {{ tag }}
    2. +
    3. {{ tag }} {{ search.pages(tag) | length }}
    4. {% endfor %}