diff --git a/_includes/fixed.html b/_includes/fixed.html new file mode 100644 index 0000000..f62ebb4 --- /dev/null +++ b/_includes/fixed.html @@ -0,0 +1,4 @@ + + + + diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index cc78dc9..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/_layouts/blog.html b/_layouts/blog.html index 3bbc92d..807b7d8 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -31,7 +31,7 @@ {{ content }} diff --git a/_layouts/guide.html b/_layouts/guide.html index 6bb9bf7..c740968 100644 --- a/_layouts/guide.html +++ b/_layouts/guide.html @@ -25,7 +25,7 @@ {{ content }} diff --git a/_layouts/index.html b/_layouts/index.html index 20233f6..4c58bab 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -32,7 +32,7 @@ {{ content }} - {% include footer.html %} + {% include fixed.html %} diff --git a/_layouts/post.html b/_layouts/post.html index b2cad39..6a51eb1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -22,7 +22,7 @@

Contribute to Radicle as a 🌱 seeder, 🧙 developer or by 🪞 mirroring your repositories on the Radicle network.

Join our community on 💬 Zulip and discuss your ideas to improve Radicle.

- {% include footer.html %} + {% include fixed.html %} diff --git a/assets/css/page.css b/assets/css/page.css index 13a36fa..4fea895 100644 --- a/assets/css/page.css +++ b/assets/css/page.css @@ -274,7 +274,6 @@ body > header { body > footer { display: flex; color: var(--color-fg-dim); - border-top: 1px solid var(--color-border-hint); padding: 0 0.5rem; white-space: nowrap; width: 100%; @@ -322,11 +321,19 @@ nav .cta { } #logo { - position: absolute; + position: fixed; + top: 0.5rem; left: 0.5rem; z-index: 99; } +.toggle { + position: fixed; + bottom: 0.5rem; + right: 0.5rem; + z-index: 99; +} + #ribbon { position: absolute; float: right; @@ -393,6 +400,7 @@ img.banner { @media (max-width: 800px) { body > main { padding: 1rem; + padding-top: 2.5rem; /* Make space for #logo */ } nav { display: block;