refine: enhance responsive design for footer and facts grid
Deploy / validate-dispatch (push) Successful in 39s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / changes (push) Successful in 5s
Deploy / app-quality (push) Successful in 1m16s
Deploy / secret-scan (push) Successful in 10s
Deploy / security-deps (push) Successful in 15s
Deploy / context (push) Successful in 1s
Deploy / app-image (push) Successful in 1m6s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 14s

This commit is contained in:
Per Hoener
2026-09-20 11:43:28 +02:00
parent b88d46c1b6
commit 41718c1936
2 changed files with 73 additions and 19 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ a:focus-visible,button:focus-visible { outline:3px solid var(--gold-500); outlin
.municipality-footer { padding-block:3rem; background:#061f30; color:white; } .footer-grid { display:flex; justify-content:space-between; gap:2rem; } .footer-brand { font-size:1.2rem; font-weight:700; margin-bottom:.2rem; } .footer-grid nav { display:flex; flex-wrap:wrap; gap:1.5rem; align-items:center; } .footer-grid a { text-underline-offset:5px; }
.footer-grid nav{max-width:660px;justify-content:flex-end}
@media(max-width:980px){ .menu-button{display:inline-flex;align-items:center;gap:.6rem;padding:.6rem;cursor:pointer}.menu-icon{display:grid;gap:4px}.menu-icon i{display:block;width:22px;height:2px;background:currentColor}.primary-navigation{display:none;position:absolute;inset:88px 0 auto;padding:1.3rem max(1.25rem,calc((100vw - 1180px)/2));background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch}.primary-navigation[data-open="true"]{display:flex}.primary-navigation a{padding:.6rem 0;font-size:1rem}.municipality-hero__grid{min-height:500px;padding-block:5rem}}
@media(max-width:700px){.header-bar{min-height:74px}.brand-mark{height:50px}.primary-navigation{top:74px}.municipality-hero{background-position:center center}.municipality-hero__grid{min-height:460px;padding-block:3.7rem}.facts__grid{grid-template-columns:1fr 1fr}.fact:nth-child(odd){border-left:0}.fact{border-bottom:1px solid rgb(255 255 255 / 18%)}.quick-grid{grid-template-columns:1fr}.quick-card{min-height:190px}.footer-grid{flex-direction:column}}
@media(max-width:700px){.header-bar{min-height:74px}.brand-mark{height:50px}.primary-navigation{top:74px}.municipality-hero{background-position:center center}.municipality-hero__grid{min-height:460px;padding-block:3.7rem}.facts__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fact{min-height:132px;border-bottom:0}.fact:nth-child(odd){border-left:0}.fact:nth-child(-n+2){border-bottom:1px solid rgb(255 255 255 / 18%)}.fact:last-child{border-right:0}.quick-grid{grid-template-columns:1fr}.quick-card{min-height:190px}.footer-grid{flex-direction:column}}
@media(max-width:360px){.facts__grid{grid-template-columns:1fr}.fact{min-height:112px;border-left:0}.fact:nth-child(-n+2){border-bottom:0}.fact:not(:last-child){border-bottom:1px solid rgb(255 255 255 / 18%)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}