Changeset a64d705 in Klonkt for src/views/partials/post-card.ejs
- Timestamp:
- 06/28/2026 05:25:46 PM (2 months ago)
- Branches:
- main
- Children:
- 600fbf3
- Parents:
- 201ec06
- File:
-
- 1 edited
-
src/views/partials/post-card.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/post-card.ejs
r201ec06 ra64d705 138 138 margin-right: calc(-1 * clamp(1.25rem, 4vw, 2rem)); 139 139 width: calc(100% + 2 * clamp(1.25rem, 4vw, 2rem)) !important; 140 background: var(--paper-2); 140 /* Accent-gradient placeholder shown while the cover loads (the image fades in over it). */ 141 background-image: linear-gradient(135deg, 142 color-mix(in srgb, var(--accent, #888) 22%, var(--paper-2)) 0%, 143 color-mix(in srgb, var(--accent, #888) 6%, var(--paper-2)) 100%); 141 144 } 142 145 .post-list-cover img { … … 144 147 object-fit: cover; 145 148 display: block; 146 } 149 transition: opacity .4s ease; 150 } 151 .post-list-cover img.is-loading { opacity: 0; } 147 152 148 153 /* Re-apply rounded corners on slightly larger phones */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)