added blog post tag filter buttons
This commit is contained in:
20
src/routes/blog/+layout.svelte
Normal file
20
src/routes/blog/+layout.svelte
Normal file
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children()}
|
||||
|
||||
<style>
|
||||
:global {
|
||||
.post-tag {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.8rem;
|
||||
background-color: var(--color-background-highlight-alt);
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
border-radius: 8px;
|
||||
line-height: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user