Changeset 69a10e7 in Klonkt for src/assets/css


Ignore:
Timestamp:
06/28/2026 11:16:48 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
2f919c0
Parents:
2eca083
Message:

style(covers): subtle 0.4px blur on grid + timeline covers to smooth downscaled line-art

  • assets/css/style.css — .grid-tile-img + .post-list-cover img get filter: blur(.4px)
  • views/shell.ejs — style.css cache buster v59
File:
1 edited

Legend:

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

    r2eca083 r69a10e7  
    19371937    object-fit: cover;
    19381938    display: block;
     1939    filter: blur(.4px); /* subtle smoothing of downscaled line-art covers */
    19391940}
    19401941.post-list-body { display: flex; flex-direction: column; gap: .35rem; }
     
    23832384/* Cover as a real <img> (not background-image): browsers downsample <img> with the
    23842385   high-quality image pipeline, so high-res line-art covers don't go jagged when shrunk. */
    2385 .grid-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
     2386.grid-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: blur(.4px); }
    23862387.grid-tile:hover { transform: scale(0.98); }
    23872388.grid-tile-overlay {
Note: See TracChangeset for help on using the changeset viewer.