Weighted tag cloud: size reflects piece count (garden#9)
Custom taxonomy template: tags sorted by count, font-size scaled 80-200% based on weight. Heavy tags (essay: 29) are large and violet. Light tags are small and faint. Mono font, flex-wrapped, breathable spacing. Replaces the flat card grid on /tags/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a3a04a0343
commit
b610f20797
4 changed files with 534 additions and 449 deletions
|
|
@ -278,6 +278,30 @@ pre {
|
|||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ── Tag cloud — weighted, not flat ───────────────────────── */
|
||||
.tag-cloud {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
gap: var(--size-2) var(--size-3);
|
||||
padding: var(--size-4) 0;
|
||||
line-height: 1.8;
|
||||
}
|
||||
.tag-weight {
|
||||
text-decoration: none;
|
||||
font-family: var(--font-mono);
|
||||
transition: color 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tag-weight:hover {
|
||||
color: var(--garden-dialogue) !important;
|
||||
}
|
||||
.tag-weight small {
|
||||
font-size: 0.6em;
|
||||
opacity: 0.4;
|
||||
margin-left: 0.15em;
|
||||
}
|
||||
|
||||
/* ── Footer ───────────────────────────────────────────────── */
|
||||
footer {
|
||||
color: var(--garden-text-faint);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue