From 3635f9733d5834a9fe46b762a59292273494da3e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 13 Oct 2022 15:47:52 +0200 Subject: [PATCH] modified default header and footer --- pages/[wiki]/footer/#page.md | 7 +++++-- pages/[wiki]/header/#page.md | 7 ++++--- themes/default.css | 12 +++++++++--- 3 files changed, 18 insertions(+), 8 deletions(-) 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 { -- 2.39.2