style: integrate CHRNX navigation and footer

This commit is contained in:
chrnx committed 2026-08-12 15:08:07 -05:00
1 parent 5a49cc5137
commit c7de54995f
8 files changed
+437 -26

No files matched your search

+5 -18
View File
@@ -70,6 +70,7 @@ html[data-theme="light"] header.wp-block-template-part {
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.chrnx-skip-link {
@@ -257,17 +258,18 @@ main#chrnx-main {
footer.wp-block-template-part {
margin-top: var(--wp--preset--spacing--60);
border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--muted) 40%, transparent);
border-top: 2px solid var(--chrnx-line);
background: var(--chrnx-surface);
}
html[data-theme="light"] footer.wp-block-template-part {
border-top-color: var(--wp--preset--color--border);
border-top-color: var(--chrnx-line);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) footer.wp-block-template-part {
border-top-color: var(--wp--preset--color--border);
border-top-color: var(--chrnx-line);
}
}
@@ -455,21 +457,6 @@ html[data-theme="light"] footer.wp-block-template-part {
min-height: 44px;
white-space: normal;
}
html[data-theme="light"] .chrnx-header-search button:focus-visible,
html[data-theme="light"] .chrnx-theme-control > [data-chrnx-theme-button]:focus-visible,
html[data-theme="light"] .chrnx-mobile-menu-toggle:focus-visible {
outline-color: var(--wp--preset--color--light-green);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) .chrnx-header-search button:focus-visible,
:root:not([data-theme]) .chrnx-theme-control > [data-chrnx-theme-button]:focus-visible,
:root:not([data-theme]) .chrnx-mobile-menu-toggle:focus-visible {
outline-color: var(--wp--preset--color--light-green);
}
}
}
@media (prefers-reduced-motion: reduce) {