From 081aa6bca4c079db2ac200acb331319e93c788a1 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 2 Dec 2025 15:54:53 -0800 Subject: make likes and repost more compact --- .../posts/2025-12-01-hello-world/index.html | 267 +++++++++++++++++---- .../posts/2025-12-02-china-town-fair/index.html | 267 +++++++++++++++++---- 2 files changed, 432 insertions(+), 102 deletions(-) (limited to 'micro.pinapelz.moe/posts') diff --git a/micro.pinapelz.moe/posts/2025-12-01-hello-world/index.html b/micro.pinapelz.moe/posts/2025-12-01-hello-world/index.html index 2081599..4a957c0 100644 --- a/micro.pinapelz.moe/posts/2025-12-01-hello-world/index.html +++ b/micro.pinapelz.moe/posts/2025-12-01-hello-world/index.html @@ -140,27 +140,94 @@ AtProto allows you to host a PDS (Personal Data Server) which store margin-bottom: 1rem; } - .wm-list { display: flex; flex-direction: column; - gap: 0.75rem; + gap: 1.5rem; } +.wm-reactions { + margin-bottom: 1.5rem; +} + +.wm-reaction-group { + margin-bottom: 1rem; +} + +.wm-reaction-title { + font-size: 1.1rem; + font-weight: 600; + color: var(--titlecolor); + margin-bottom: 0.5rem; + text-transform: uppercase; + letter-spacing: 0.5px; +} + +.wm-avatar-grid { + display: flex; + flex-wrap: wrap; + gap: 4px; + align-items: center; +} + +.wm-avatar { + position: relative; + display: inline-block; +} + +.wm-avatar img { + width: 40px; + height: 40px; + border-radius: 50%; + border: 2px solid var(--hrcolor); + transition: transform 0.2s ease, box-shadow 0.2s ease; +} + +.wm-avatar:hover img { + transform: scale(1.1); + box-shadow: 0 4px 12px rgba(255, 140, 200, 0.4); +} + +.wm-avatar-tooltip { + position: absolute; + bottom: 120%; + left: 50%; + transform: translateX(-50%); + background: var(--blockquotecolor); + color: var(--titlecolor); + padding: 4px 8px; + border-radius: 4px; + font-size: 0.8rem; + white-space: nowrap; + opacity: 0; + pointer-events: none; + transition: opacity 0.2s ease; + z-index: 10; + border: 1px solid var(--hrcolor); +} + +.wm-avatar:hover .wm-avatar-tooltip { + opacity: 1; +} + + +.wm-regular { + display: flex; + flex-direction: column; + gap: 0.75rem; +} + .wm { display: flex; gap: 0.6rem; padding: 0.6rem 0.75rem; border-radius: 10px; - background: var(--alertbgcolor); border: 1px solid var(--hrcolor); - box-shadow: 0 0 6px rgba(255, 180, 220, 0.22); } - .wm-author img { width: 32px; height: 32px; @@ -168,13 +235,11 @@ AtProto allows you to host a PDS (Personal Data Server) which store box-shadow: 0 0 4px rgba(255, 140, 200, 0.35); } - .wm-body { flex: 1; font-size: 0.9rem; } - .wm-author-name a { font-weight: 600; color: var(--linkcolor); @@ -186,38 +251,45 @@ AtProto allows you to host a PDS (Personal Data Server) which store color: var(--titlecolor); } - .wm-content { margin-top: 4px; padding: 6px 8px; font-size: 0.9rem; - background: var(--blockquotecolor); border-left: 3px solid var(--hrcolor); border-radius: 6px; } - .wm-meta { margin-top: 3px; font-size: 0.75rem; opacity: 0.7; } +.wm-meta a { + color: var(--linkcolor); +} + -@media (max-width: 800px) { - .wm { - flex-direction: column; - text-align: left; +@media (max-width: 600px) { + .wm-avatar img { + width: 32px; + height: 32px; } - .wm-author img { - margin-bottom: 4px; + + .wm-avatar-grid { + gap: 3px; + } + + .wm-reaction-title { + font-size: 1rem; } }