Skip to content

Commit 7fe9294

Browse files
jamezpclaude
andcommitted
Fix oversized share buttons and add dark mode support
Constrains share icons to proper size (20px), adds subtle hover effects, and inverts icons in dark mode for proper visibility. Improves spacing with flexbox layout. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: James R. Perkins <jperkins@ibm.com>
1 parent 41893a0 commit 7fe9294

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

public/css/bootstrap-theme.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,50 @@ table tbody tr:last-child td,
884884
color: var(--resteasy-accent) !important;
885885
}
886886

887+
/* ============================================
888+
BLOG POST PAGE - Share Buttons
889+
============================================ */
890+
.share-page {
891+
display: inline-flex !important;
892+
align-items: center !important;
893+
gap: 0.5rem !important;
894+
margin-left: 1rem !important;
895+
}
896+
897+
.share-page a {
898+
display: inline-flex !important;
899+
align-items: center !important;
900+
justify-content: center !important;
901+
padding: 0.25rem !important;
902+
transition: all 0.15s ease !important;
903+
border-radius: 0.25rem !important;
904+
}
905+
906+
.share-page a:hover {
907+
background-color: var(--resteasy-bg-light) !important;
908+
transform: translateY(-1px) !important;
909+
}
910+
911+
.share-page .svg-icon {
912+
width: 20px !important;
913+
height: 20px !important;
914+
opacity: 0.7 !important;
915+
transition: opacity 0.15s ease !important;
916+
}
917+
918+
.share-page a:hover .svg-icon {
919+
opacity: 1 !important;
920+
}
921+
922+
/* Invert share icons in dark mode */
923+
[data-bs-theme="dark"] .share-page .svg-icon {
924+
filter: invert(1) brightness(0.9) !important;
925+
}
926+
927+
[data-bs-theme="dark"] .share-page a:hover {
928+
background-color: rgba(255, 255, 255, 0.1) !important;
929+
}
930+
887931
/* ============================================
888932
BOOKS PAGE - Book Cards
889933
============================================ */

0 commit comments

Comments
 (0)