Center text in link boxes (tags/badges); keep subcategory icon gap

This commit is contained in:
Richard Zink
2026-09-10 12:32:28 +02:00
parent 2ed833d926
commit b894284fa8
+25
View File
@@ -527,3 +527,28 @@ a[href^="http://richard.familie-zink.org"]:not([class]) {
#content a[href^="http://richard.familie-zink.org"] {
padding-right: 0 !important;
}
/* ---------- Link boxes (tags, category/state badges): center the text ---------- */
a.tag,
a.blog-subcategory,
a.blog-post-category,
a.note-type,
a.note-state {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0 !important;
padding-right: 8px !important;
text-align: center;
}
{
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0 !important;
padding-right: 8px !important;
text-align: center;
}
/* subcategory keeps a small gap between its icon and label */
a.blog-subcategory { gap: 6px !important; }