Update nostr-contact.html

black text
This commit is contained in:
inpharmaticist
2026-03-27 19:47:07 -07:00
committed by GitHub
parent ede860141d
commit 0160b74c88

View File

@@ -4,6 +4,7 @@
max-width: 600px; max-width: 600px;
margin: 2rem 0; margin: 2rem 0;
font-family: inherit; font-family: inherit;
color: #000; /* Force black text */
} }
.nostr-contact-wrapper .form-group { .nostr-contact-wrapper .form-group {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
@@ -13,6 +14,7 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-weight: 600; font-weight: 600;
font-size: 0.9rem; font-size: 0.9rem;
color: #000; /* Black labels */
} }
.nostr-contact-wrapper input, .nostr-contact-wrapper input,
.nostr-contact-wrapper textarea { .nostr-contact-wrapper textarea {
@@ -22,16 +24,22 @@
border-radius: 0.375rem; border-radius: 0.375rem;
background: white; background: white;
font-size: 1rem; font-size: 1rem;
color: #000; /* Black input text */
}
.nostr-contact-wrapper input::placeholder,
.nostr-contact-wrapper textarea::placeholder {
color: #6b7280; /* Keep placeholders grey */
} }
.nostr-contact-wrapper input:focus, .nostr-contact-wrapper input:focus,
.nostr-contact-wrapper textarea:focus { .nostr-contact-wrapper textarea:focus {
outline: 2px solid #3b82f6; outline: 2px solid #3b82f6;
outline-offset: -1px; outline-offset: -1px;
color: #000;
} }
.nostr-contact-wrapper small { .nostr-contact-wrapper small {
display: block; display: block;
margin-top: 0.25rem; margin-top: 0.25rem;
color: #6b7280; color: #374151; /* Darker grey for helper text (was #6b7280) */
font-size: 0.875rem; font-size: 0.875rem;
} }
.nostr-contact-wrapper button { .nostr-contact-wrapper button {