improve (button) links' contrast in alerts

fixes low contrast link for oauth legacy link in meta.sr.ht/oauth2 and
the confirmation link in user page for user admin.

retroactively applies the same CSS selector to other types of alerts,
hopefully this doesn't break something existing.
This commit is contained in:
Jackson Chen 2023-09-24 21:12:01 +02:00 committed by Drew DeVault
parent cc4467fcf4
commit 1dd2f363ce
1 changed files with 7 additions and 3 deletions

View File

@ -56,7 +56,7 @@ code {
border-color: darken(#bee5eb, 10);
color: black;
a:not(.btn) {
a, a.btn {
color: darken($primary, 20);
}
}
@ -65,6 +65,10 @@ code {
background-color: darken(#d4edda, 20);
border-color: darken(#c3e6cb, 10);
color: $black;
a, a.btn {
color: darken($primary, 20);
}
}
.alert-danger {
@ -72,7 +76,7 @@ code {
border-color: darken(#f5c6cb, 10);
color: $black;
a:not(.btn) {
a, a.btn {
color: darken($primary, 15);
}
}
@ -82,7 +86,7 @@ code {
border-color: darken(#ffeeba, 10);
color: $black;
a:not(.btn) {
a, a.btn {
color: darken($primary, 15);
}
}