From 6d745e23f6c2b2dc777efb666ec2735329322d2e Mon Sep 17 00:00:00 2001 From: Deco Vander Date: Fri, 4 Jul 2025 13:06:39 -0400 Subject: [PATCH] Fix back button text color by excluding it from general link styles - Use :not(.back-link) selector to exclude back button from general link styling - Add more specific CSS selectors for back-link to increase specificity - Use both .privacy-content .back-link and a.back-link selectors - Ensure white text color overrides the blue link color from general rules - Prevent general link styling from interfering with button appearance --- public/privacy.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/privacy.html b/public/privacy.html index 1fb31ce..8229533 100644 --- a/public/privacy.html +++ b/public/privacy.html @@ -65,13 +65,13 @@ } /* Fix link visibility and styling */ - .privacy-content a { + .privacy-content a:not(.back-link) { color: var(--link-color) !important; text-decoration: underline !important; font-weight: 500; } - .privacy-content a:hover { + .privacy-content a:not(.back-link):hover { color: var(--link-hover) !important; text-decoration: underline !important; } @@ -86,7 +86,8 @@ color: var(--link-hover) !important; } - .back-link { + .privacy-content .back-link, + a.back-link { display: inline-block !important; margin-top: 30px !important; padding: 10px 20px !important; @@ -99,7 +100,8 @@ font-weight: 500 !important; } - .back-link:hover { + .privacy-content .back-link:hover, + a.back-link:hover { background-color: var(--primary-hover, #1976D2) !important; color: white !important; text-decoration: none !important;