Blue navbar (#833)

Part of the identity.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/833
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
This commit is contained in:
Gusted 2026-07-09 15:46:01 +02:00 committed by Gusted
parent 93003332aa
commit 3c1f8948e5

View file

@ -20,6 +20,19 @@
--admonition-icon-dimension: 20px; --admonition-icon-dimension: 20px;
--pagefind-ui-text: var(--bs-link-color) !important; --pagefind-ui-text: var(--bs-link-color) !important;
--color-nav-bg: #2185d0;
}
.sidebar,
.navbar-brand {
--bs-sidebar-brand-color: var(--bs-white);
--bs-navbar-brand-color: var(--bs-white);
}
.btn-close {
filter: var(--bs-btn-close-white-filter);
--bs-btn-close-opacity: 1;
} }
.content :not(img, pre) { .content :not(img, pre) {
@ -218,6 +231,7 @@ a.show-on-focus:focus {
.docs-navbar { .docs-navbar {
min-height: 55px; min-height: 55px;
border-bottom: var(--bs-border-width) solid var(--bs-content-border-color); border-bottom: var(--bs-border-width) solid var(--bs-content-border-color);
background-color: var(--color-nav-bg);
} }
.filter-docs { .filter-docs {
@ -238,11 +252,6 @@ a.show-on-focus:focus {
color: hsla(var(--bs-emphasis-color-hsl), 0.9); color: hsla(var(--bs-emphasis-color-hsl), 0.9);
} }
[data-bs-theme='light'] .sidebar-brand img,
[data-bs-theme='light'] .navbar-brand img {
content: url(https://design.codeberg.org/logo-kit/icon.svg);
}
.alert-heading { .alert-heading {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }