v0.9.0
Cirth v0.9.0
Cirth v0.9.0 gives visited links a color of their own, fixes three
long-standing rendering bugs (nested list spacing, buttons with unbreakable
labels, search fields inside generic groups), and puts a Subresource
Integrity hash on the documented CDN snippets.
A minor, not a patch: nothing was removed or renamed, but two of the
changes below alter how pages that already exist will render.
Before you upgrade
- Visited links change color. Content links that the reader has already
followed now paint in--cirth-link-visited-color, a neutral drawn from
the same palette. Navigation, dropdown menus, and.secondary/.contrast
links are left alone. To opt out entirely, point the token back at the
accent:--cirth-link-visited-color: var(--cirth-primary);. - Nested lists sit tighter. A nested
ul/ol/dlnow gets a small top
margin and no bottom margin, which is what the framework always intended
and never applied. Pages with nested lists get slightly shorter.
Added
- A color for visited links (gh#58):
--cirth-link-visited-color, new
in both color schemes and in thecobaltandcoralpresets, each value
verified at 4.5:1 or better against its page and card backgrounds. The
underline keeps its unvisited tint: browsers let:visitedchange color
and little else,text-decoration-colorincluded, so that a page cannot
work out where the reader has been. - Subresource Integrity on the documented CDN snippets (gh#33): the
jsDelivr<link>in the README and on Get Started now carries the
sha384hash of the exact file it pins, pluscrossorigin="anonymous".
A CDN response that isn't the published stylesheet is refused by the
browser instead of applied.
Fixed
- Nested lists no longer leave a gap before the next parent item
(gh#76): the rule meant to clear their bottom margin was written with
:where()on both compounds, so it had zero specificity and always lost
to thedl, ol, ultype selectors. - Buttons with a long unbroken label stay inside their container
(gh#75): button-like controls cap atmax-width: 100%, so a URL, token,
or hash wraps inside the button instead of carrying it past its
container. Busy buttons wrap too. - Search fields inside a generic group match the group's corners
(gh#69):[type="search"]keeps its pill radius on its own and inside a
[role="search"]group, but inside a generic.groupit now takes the
radius the group is drawn with.
See the Changelog
for the complete, itemized list.
Full Changelog: v0.8.5...v0.9.0