moved footer content to header

This commit is contained in:
Lynne Megido 2020-03-12 19:28:12 +10:00
parent af84da9604
commit 5bde8f7821
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
4 changed files with 18 additions and 8 deletions

View file

@ -1,3 +0,0 @@
<footer>
<a href='https://bune.city'>Blog</a><a href='https://github.com/lynnesbian'>GitHub</a><a href='https://git.bune.city/lynnesbian'>Gitea</a>
</footer>

View file

@ -1,5 +1,12 @@
<header>
<span class='internal'>
{%- if page.title != "Welcome!" -%}<a href='/'>Home</a>{% endif -%}
{%- if page.title != "Contact" -%}<a href='/contact.html'>Contact</a>{% endif -%}
{%- if page.title != "Projects" -%}<a href='/projects.html'>Projects</a>{% endif -%}
{%- if page.title != "Donate" -%}<a href='/donate.html'>Donate</a>{% endif -%}
</span>
<span class='external'>
<a href='https://bune.city'>Blog</a><a href='https://github.com/lynnesbian'>GitHub</a><a href='https://git.bune.city/lynnesbian'>Gitea</a>
</span>
</header>

View file

@ -13,8 +13,6 @@
<div id='main'>
{{ content }}
</div>
{% include footer.html %}
</body>
</html>

View file

@ -106,6 +106,11 @@ a {
header {
background: mediumpurple;
padding: 0 30px;
display: flex;
justify-content: space-between;
}
header span {
display: inline-block;
}
header a {
color: white;
@ -134,6 +139,9 @@ footer a:not(:last-child)::after, .subheading-links a:not(:last-child)::after {
p, footer, ul {
line-height: 1.6em;
}
header {
padding: 0;
}
h1 {
margin-top: 0;
}