Changeset 848b76d in Klonkt for src/assets


Ignore:
Timestamp:
06/24/2026 05:36:40 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
62dea30
Parents:
b2c3699
Message:

Prettier fediverse stats: monochrome line-icons + clean outline pills

Replace the multicolour emoji (star/repeat/speech) with consistent monochrome SVG
line-icons in subtle bordered pills, matching the site's aesthetic; the ⭐ like
hovers to the accent colour. style.css?v=48.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    rb2c3699 r848b76d  
    44684468
    44694469/* === Fediverse interactions — inherits the native .comment styling === */
    4470 .post-fediverse .fedi-stats { display: flex; gap: .55rem; margin: .25rem 0 1.25rem; align-items: center; }
    4471 .post-fediverse .fedi-stats span,
    4472 .post-fediverse .fedi-stats .fedi-stat-btn {
    4473   display: inline-flex; align-items: center; gap: .35rem;
    4474   padding: .2rem .65rem; border-radius: 999px; font-size: .82rem;
    4475   color: var(--ink-soft, #888);
    4476   background: color-mix(in srgb, currentColor 12%, transparent);
    4477 }
    4478 .post-fediverse .fedi-stats .fedi-stat-btn { border: 0; cursor: pointer; font-family: inherit; }
    4479 .post-fediverse .fedi-stats .fedi-stat-btn:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
     4470.post-fediverse .fedi-stats { display: flex; gap: .45rem; margin: .35rem 0 1.5rem; align-items: center; }
     4471.post-fediverse .fedi-stat {
     4472  display: inline-flex; align-items: center; gap: .4rem;
     4473  padding: .32rem .7rem; border-radius: 999px; font-size: .85rem; line-height: 1;
     4474  font-variant-numeric: tabular-nums;
     4475  color: var(--ink-muted); background: transparent;
     4476  border: 1px solid var(--rule);
     4477}
     4478.post-fediverse .fedi-stat svg { width: 15px; height: 15px; }
     4479.post-fediverse .fedi-stat-btn { cursor: pointer; font: inherit; line-height: 1; transition: color .15s, border-color .15s, background .15s; }
     4480.post-fediverse .fedi-stat-btn:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); background: var(--accent-tint); }
     4481.post-fediverse .fedi-stat-btn:hover svg { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
    44804482.post-fediverse .fedi-handle { color: var(--ink-soft, #888); font-size: .82rem; }
    44814483.post-fediverse .comment-content p { margin: .2rem 0; }
Note: See TracChangeset for help on using the changeset viewer.