style: DRY footer btn CSS, add trailing newline, drop wrong section ordinal

This commit is contained in:
daniel-c-harvey
2026-06-19 16:59:01 -04:00
parent 64379c8901
commit 280dbbcbc9
3 changed files with 9 additions and 15 deletions
@@ -34,4 +34,4 @@
private void OpenPrivacy() => _privacyOpen = true; private void OpenPrivacy() => _privacyOpen = true;
private void ClosePrivacy() => _privacyOpen = false; private void ClosePrivacy() => _privacyOpen = false;
} }
@@ -38,7 +38,8 @@
padding: 0; padding: 0;
} }
.deepdrft-footer-links a { .deepdrft-footer-links a,
.deepdrft-footer-links button {
font-family: var(--deepdrft-font-mono); font-family: var(--deepdrft-font-mono);
font-size: 0.62rem; font-size: 0.62rem;
letter-spacing: 0.18em; letter-spacing: 0.18em;
@@ -48,7 +49,8 @@
transition: color 0.2s; transition: color 0.2s;
} }
.deepdrft-footer-links a:hover { color: var(--deepdrft-navy); } .deepdrft-footer-links a:hover,
.deepdrft-footer-links button:hover { color: var(--deepdrft-navy); }
.deepdrft-footer-copy { .deepdrft-footer-copy {
font-family: var(--deepdrft-font-mono); font-family: var(--deepdrft-font-mono);
@@ -57,26 +59,18 @@
color: var(--deepdrft-muted); color: var(--deepdrft-muted);
} }
/* PRIVACY trigger — visually matches the footer <a> links (same font, size, casing, colour). /* PRIVACY trigger — reset button chrome so it reads as a link, not a button element.
Reset all button chrome so it reads as a link, not a button element. */ Typography/colour shared with footer <a> links via the grouped selector above. */
.deepdrft-footer-privacy-btn { .deepdrft-footer-privacy-btn {
font-family: var(--deepdrft-font-mono);
font-size: 0.62rem;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--deepdrft-muted);
text-decoration: none;
transition: color 0.2s;
background: none; background: none;
border: none; border: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
line-height: inherit; line-height: inherit;
font-family: inherit;
} }
.deepdrft-footer-privacy-btn:hover { color: var(--deepdrft-navy); }
@media (max-width: 440px) { @media (max-width: 440px) {
.deepdrft-footer { .deepdrft-footer {
padding: 1.5rem; padding: 1.5rem;
@@ -919,7 +919,7 @@ body:has(.deepdrft-queue-overlay) {
} }
/* ============================================================================= /* =============================================================================
17. PRIVACY OVERLAY PRIVACY OVERLAY
Screen-centered modal following the same MudOverlay idiom as the visualizer Screen-centered modal following the same MudOverlay idiom as the visualizer
controls and queue overlays. MudOverlay portals to body — CSS isolation cannot controls and queue overlays. MudOverlay portals to body — CSS isolation cannot
reach portaled content, so chrome lives here in the global sheet. reach portaled content, so chrome lives here in the global sheet.