mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Globalise inline list styling
This commit is contained in:
parent
a73a9457c3
commit
0842a693a2
@ -6,7 +6,7 @@ const tags = frontMatterConfig['frontMatter.taxonomy.tags'];
|
||||
---
|
||||
|
||||
<BlogSubpage title="tags" description="all tags of maciej's blog posts">
|
||||
<ul id="tags">
|
||||
<ul class="inline-list">
|
||||
{
|
||||
tags.sort().map((tag) => (
|
||||
<li>
|
||||
@ -16,16 +16,3 @@ const tags = frontMatterConfig['frontMatter.taxonomy.tags'];
|
||||
}
|
||||
</ul>
|
||||
</BlogSubpage>
|
||||
|
||||
<style>
|
||||
#tags {
|
||||
margin-top: 0.25rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem 1rem;
|
||||
}
|
||||
|
||||
#tags > li::before {
|
||||
content: '';
|
||||
}
|
||||
</style>
|
||||
|
@ -177,3 +177,14 @@ nav > a {
|
||||
header {
|
||||
margin: 0em 0 2em;
|
||||
}
|
||||
|
||||
.inline-list {
|
||||
margin-top: 0.25rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem 1rem;
|
||||
}
|
||||
|
||||
.inline-list > li::before {
|
||||
content: '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user