hugo-theme-termlite/assets/css/099_taxonomy_list.css
Eryn Wells f7928c2190 Clean up the taxonomy list
Make the name of the taxonomy copyable by putting it in the dom, rather than in
the CSS content:.
2024-10-08 21:58:57 -07:00

43 lines
729 B
CSS

/***************************
* COMPONENT: TAXONOMY LIST
***************************/
.taxonomy-list {
display: flex;
gap: 1ch;
font-family: var(--font-family-monospace);
.taxonomy-list__name {
color: var(--text-color-secondary);
text-transform: uppercase;
&::after {
content: " =";
}
}
.taxonomy-list__terms {
--spacing: 1ch;
display: flex;
gap: var(--spacing);
list-style-type: none;
margin-block: 0;
padding-inline-start: 0;
li {
padding-inline-start: 0;
}
li:not(:last-child)::after {
color: var(--text-color-secondary);
content: ":";
margin-inline-start: var(--spacing);
}
}
}