Fixes , inverts the navbar button color ()

This commit is contained in:
Merlijn 2025-05-03 04:44:45 +02:00 committed by GitHub
parent d6c77cdabf
commit 7a0c19e39b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,6 +80,15 @@ nav a.nav-link:hover {
color: var(--bs-secondary-bg);
}
/* Bootstrap v5.3.3 fixes for our inverted navbar */
[data-bs-theme="dark"] nav span.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-bs-theme="light"] nav span.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28222, 222, 222, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
footer {
background-color: var(--bs-tertiary-bg);
}