diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-18 16:44:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-18 16:44:36 +0200 |
| commit | d32f02478a44d34aa0ee20a1bd55f14dcb94e4e3 (patch) | |
| tree | 4130498fdfff09972b2e16b0c8e0dbb756eb5dd8 /themes/danix-xyz-hacker/layouts/partials/social-share.html | |
| parent | f9be8321e1d020fbe4b86be8092a35aff42d6638 (diff) | |
| download | danixxyz-d32f02478a44d34aa0ee20a1bd55f14dcb94e4e3.tar.gz danixxyz-d32f02478a44d34aa0ee20a1bd55f14dcb94e4e3.zip | |
style: unify sidebar widget styling with bash comment prefix
All sidebar widgets (author, share, related posts) now use:
- Unified .sidebar-widget container (no box, only top border via <hr>)
- .sidebar-widget-label with # prefix (bash comment style)
- Monospace, dimmed, small text for consistency
Previously, share widget used a different style (full box with borders).
Author and Related Posts widgets now match the hacker aesthetic.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/social-share.html')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/social-share.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/social-share.html b/themes/danix-xyz-hacker/layouts/partials/social-share.html index 20977a8..9e9be43 100644 --- a/themes/danix-xyz-hacker/layouts/partials/social-share.html +++ b/themes/danix-xyz-hacker/layouts/partials/social-share.html @@ -8,8 +8,8 @@ {{ $gridClass = "flex flex-wrap justify-center gap-1" }} {{ end }} -<div class="share-widget mb-6"> - <p class="share-label">// {{ i18n "share" }}</p> +<div class="sidebar-widget"> + <p class="sidebar-widget-label"># {{ i18n "share" }}</p> <nav aria-label="{{ i18n "share" }}"> <div class="{{ $gridClass }}"> |
