From e351cda99f5dbd0cd4c05f060a8a2b3f4e8fd595 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 18 Apr 2026 15:23:31 +0200 Subject: style: redesign social share widget with terminal-native aesthetic Replace generic card + h3 + round buttons with a minimal separator line, mono comment label, and square btn-share buttons that match the site's hacker identity. Icons scaled to 22px inside 50x50px touch targets. Hover/focus states use the site's accent glow pattern. --- .../layouts/partials/social-share.html | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'themes/danix-xyz-hacker/layouts/partials') diff --git a/themes/danix-xyz-hacker/layouts/partials/social-share.html b/themes/danix-xyz-hacker/layouts/partials/social-share.html index d7b6562..f631f30 100644 --- a/themes/danix-xyz-hacker/layouts/partials/social-share.html +++ b/themes/danix-xyz-hacker/layouts/partials/social-share.html @@ -3,25 +3,25 @@ {{ $url := $page.Permalink | urlquery }} {{ $title := $page.Title | urlquery }} -{{ $gridClass := "grid-cols-2 gap-2 justify-items-center" }} +{{ $gridClass := "grid-cols-2 gap-1" }} {{ if eq $mode "inline" }} - {{ $gridClass = "grid-cols-5 gap-2 justify-items-center" }} + {{ $gridClass = "flex flex-wrap justify-center gap-1" }} {{ end }} -
-

{{ i18n "share" }}

+