Skip to content

Commit

Permalink
CSS restructure (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Jun 7, 2024
1 parent 30d6e4e commit 399c500
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/_includes/css/components.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import 'css/navigation.css';
@import 'css/posts-list.css';
@import 'css/prose.css';
@import 'css/notes.css';

.TagCloud {

}
2 changes: 2 additions & 0 deletions src/_includes/css/utils.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'css/excerpt.css';

.skip-link {
position: fixed;
top: var(--inset);
Expand Down
7 changes: 1 addition & 6 deletions src/johan.css
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions src/tags.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: All tags
layout: layouts/page.njk
---

<ol>
<ol class="TagCloud">
{% for tag in search.values("tags") %}
<li><a href="/tags/{{ tag }}">{{ tag }}</a></li>
<li><a href="/tags/{{ tag }}">{{ tag }}</a> {{ search.pages(tag) | length }}</li>
{% endfor %}
</ol>

0 comments on commit 399c500

Please sign in to comment.