added header for blog post filter tags
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
bannerAlt="View at a tram bridge rising and then curving to the left." />
|
bannerAlt="View at a tram bridge rising and then curving to the left." />
|
||||||
|
|
||||||
<!-- TODO descriptions on filter click -->
|
<!-- TODO descriptions on filter click -->
|
||||||
|
<p class="tag-filter-header"># filter posts by tag:</p>
|
||||||
<div class="tag-filter-container">
|
<div class="tag-filter-container">
|
||||||
{#each Object.values(BlogPostTag) as tag}
|
{#each Object.values(BlogPostTag) as tag}
|
||||||
{#if tag == filter}
|
{#if tag == filter}
|
||||||
@@ -47,10 +48,19 @@
|
|||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.tag-filter-header {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
/* margin-left: 10px;
|
||||||
|
margin-right: 10px; */
|
||||||
|
margin: 12px 10px 4px;
|
||||||
|
color: var(--color-text-highlight-alt);
|
||||||
|
}
|
||||||
|
|
||||||
.tag-filter-container {
|
.tag-filter-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px 12px;
|
gap: 8px 12px;
|
||||||
margin: 12px 10px 8px;
|
margin: 0 10px 8px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user