@font-face { font-family: "Monaspace Krypton", monospace; font-weight: 800; font-style: normal; font-display: swap; font-feature-settings: "calt", "liga", "ss01", "ss02", "ss03", "ss05", "ss07", "ss09"; src: url(https://cdn.jsdelivr.net/fontsource/fonts/monaspace-krypton@latest/latin-800-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/monaspace-krypton@latest/latin-800-normal.woff) format('woff'); } * { margin: 0; } :root { font-family: "Monaspace Krypton", ui-monospace, monospace; font-weight: 800; color: white; color-scheme: dark; } body { min-height: 100svh; place-content: center; text-align: center; background: black; } header { position: fixed; top: 1rem; left: 1rem; } /* ──── Path ─────────────────────────────────────────────── */ .path { text-align: left; } .path:has(input:checked) { border: solid 2px white; padding: 4px; margin: -6px; } .path:has(input:checked:hover)::first-line { text-decoration: underline; } .path>input, .path>ul { position: absolute; } .path input { left: 0; top: 0; height: 100%; width: 100%; z-index: 3; cursor: pointer; opacity: 0; } ul.path__item-list { background-color: transparent; list-style: none; padding: 4px; top: -4px; left: -7px; transform: translate(-100%, 0); width: 100%; z-index: 1; text-align: left; } ul.path__item-list li { padding: 0.25rem 0; transition: color 0.2s ease; } ul.path__item-list a { text-decoration: none; color: inherit; } ul.path__item-list a:hover { text-decoration: underline; } input:checked~.path__item-list { position: relative; inset: auto; transform: none; z-index: 4; padding: 0; } /* ──── Footer ───────────────────────────────────────────── */ footer { width: 100%; padding: 2rem 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; } .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; width: 100%; } .footer-bottom .footer-logo { grid-column: 1; justify-self: start; } .footer-bottom .copyright { grid-column: 2; } .footer-bottom .version { grid-column: 3; justify-self: end; } .footer-bottom .version, .footer-bottom .copyright { font-size: 0.875rem; } @media (max-width: 30rem) { .footer-bottom { grid-template-columns: 1fr; justify-items: center; gap: 0.5rem; } .footer-bottom .footer-logo, .footer-bottom .copyright, .footer-bottom .version { grid-column: auto; justify-self: center; } }