mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
feat: add zachleat.com-inspired theme enhancements
- Add time-difference web component for relative dates - Add @zachleat/table-saw for responsive tables - Add webmention facepile styling with bookmarks support - Add OG image thumbnails to post navigation - Add @11ty/is-land for lazy widget hydration - Wrap sidebar widgets in is-land for deferred loading - Lazy-load webmention avatars with is-land - Add @zachleat/filter-container for blog archive filtering - Add posting frequency sparkline to blog header - Inline critical CSS and defer full stylesheet loading
This commit is contained in:
@@ -237,12 +237,16 @@
|
||||
@apply inline-block px-2 py-0.5 text-xs bg-primary-100 dark:bg-primary-900 text-primary-800 dark:text-primary-200 rounded;
|
||||
}
|
||||
|
||||
/* Webmention styles */
|
||||
.webmention-likes .avatar-row {
|
||||
@apply flex flex-wrap gap-1;
|
||||
/* Webmention facepile - overlapping avatar display */
|
||||
.facepile {
|
||||
@apply flex flex-wrap items-center;
|
||||
}
|
||||
|
||||
.webmention-likes img {
|
||||
.facepile-avatar {
|
||||
@apply inline-block -ml-2 first:ml-0 transition-transform hover:z-10 hover:scale-110;
|
||||
}
|
||||
|
||||
.facepile-avatar img {
|
||||
@apply w-8 h-8 rounded-full;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user