From: Paul Hänsch Date: Thu, 13 Oct 2022 13:47:52 +0000 (+0200) Subject: modified default header and footer X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=3635f9733d5834a9fe46b762a59292273494da3e;p=shellwiki modified default header and footer --- diff --git a/pages/[wiki]/footer/#page.md b/pages/[wiki]/footer/#page.md index da2b20f..e53de9f 100644 --- a/pages/[wiki]/footer/#page.md +++ b/pages/[wiki]/footer/#page.md @@ -1,3 +1,6 @@ ----- -Shellwiki +::: { .menu } + * <> + * [Register](./[register]) + * [Invite](./[Invite]) +::: Edit the Footer [here](/[wiki]/footer/[edit]) diff --git a/pages/[wiki]/header/#page.md b/pages/[wiki]/header/#page.md index 7d50e32..8624c9b 100644 --- a/pages/[wiki]/header/#page.md +++ b/pages/[wiki]/header/#page.md @@ -1,8 +1,9 @@ -# Shellwiki +[Shellwiki](/) +-------------- ::: { .menu } - * [Login]([login]) - * [Register]([register]) + * [Help](/[wiki]/) + * [Edit Style](/[wiki]/) ::: Edit the Header [here](/[wiki]/header/[edit]) diff --git a/themes/default.css b/themes/default.css index e21c919..a8bdfbc 100644 --- a/themes/default.css +++ b/themes/default.css @@ -17,6 +17,7 @@ header, footer { } footer { + padding-top: .5em; position: absolute; bottom: 0; } @@ -26,16 +27,21 @@ main > :last-child { margin-bottom: 0; } +header h1, header h2, -header .menu { +header .menu, +footer .menu { display: inline-block; } -header .menu { list-style: none; } +header .menu, +footer .menu { list-style: none; } -header .menu li { +header .menu li, +footer .menu li { display: inline-block; margin-right: .5em; + vertical-align: top; } main .pagemenu {