Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 21:02
· 238 commits to master since this release

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/dl now 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 the cobalt and coral presets, each value
    verified at 4.5:1 or better against its page and card backgrounds. The
    underline keeps its unvisited tint: browsers let :visited change color
    and little else, text-decoration-color included, 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
    sha384 hash of the exact file it pins, plus crossorigin="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 the dl, ol, ul type selectors.
  • Buttons with a long unbroken label stay inside their container
    (gh#75): button-like controls cap at max-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 .group it 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