~chambln/cosine.blue

d68fba29e0aa426a8b223a258a71da5e690d0a7d — Gregory Chamberlain 2 months ago 42821d4
Add “Skip to content” link
3 files changed, 6 insertions(+), 1 deletions(-)

M bin/make
M share/header.html
M share/style.css
M bin/make => bin/make +1 -1
@@ 69,7 69,7 @@ html() {
                    fi
                } | x header
                cat
            } | x main
            } | x 'main id="content"'
            x small < share/footer.html | x footer
        } | x body
    } | x 'html lang="en-GB"'

M share/header.html => share/header.html +1 -0
@@ 1,3 1,4 @@
<a id="skip" href="#content">Skip to content</a>
<h1><a href="/">cosine.blue</a></h1>

<nav>

M share/style.css => share/style.css +4 -0
@@ 142,6 142,10 @@
    }
}

#skip {
    display: none;
}

small {
    color: var(--fg-faded);
}