Changeset 1f0c85b in Klonkt for src/assets


Ignore:
Timestamp:
06/20/2026 01:28:36 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d188736
Parents:
dfc5379
Message:

ui(grid): show source site on hover on circle feed tiles

Grid tiles now show "from <site>" (post.source_name) in the hover overlay
(and on gradient tiles below the title), so in the circle feed it is clear
which site a post comes from. style.css?v=14.

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

File:
1 edited

Legend:

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

    rdfc5379 r1f0c85b  
    21822182    padding: .6rem;
    21832183    display: flex;
    2184     align-items: flex-end;
     2184    flex-direction: column;
     2185    justify-content: flex-end;
     2186    align-items: flex-start;
    21852187    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 50%);
    21862188    opacity: 0;
    21872189    transition: opacity .2s;
    21882190    pointer-events: none; /* klik moet naar de <a> eronder gaan, niet naar de overlay */
     2191}
     2192/* Bron-site (cirkel-feed): toont bij hover "van <site>" onder de titel. */
     2193.grid-tile-overlay-src {
     2194    color: #fff; opacity: .85;
     2195    font-size: .72rem; margin-top: .2rem;
     2196    display: inline-flex; align-items: center;
     2197}
     2198.grid-tile-overlay-src::before { content: "⛓"; margin-right: .25rem; font-size: .9em; }
     2199.grid-tile-gradient-src {
     2200    margin-top: .3rem; font-size: .72rem; opacity: .8;
    21892201}
    21902202.grid-tile-overlay strong {
Note: See TracChangeset for help on using the changeset viewer.