moved footer content to header
This commit is contained in:
parent
af84da9604
commit
5bde8f7821
4 changed files with 18 additions and 8 deletions
|
@ -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>
|
|
|
@ -1,5 +1,12 @@
|
||||||
<header>
|
<header>
|
||||||
{%- if page.title != "Welcome!" -%}<a href='/'>Home</a>{% endif -%}
|
<span class='internal'>
|
||||||
{%- if page.title != "Contact" -%}<a href='/contact.html'>Contact</a>{% endif -%}
|
{%- if page.title != "Welcome!" -%}<a href='/'>Home</a>{% endif -%}
|
||||||
{%- if page.title != "Projects" -%}<a href='/projects.html'>Projects</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>
|
</header>
|
|
@ -13,8 +13,6 @@
|
||||||
<div id='main'>
|
<div id='main'>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include footer.html %}
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -106,6 +106,11 @@ a {
|
||||||
header {
|
header {
|
||||||
background: mediumpurple;
|
background: mediumpurple;
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
header span {
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
header a {
|
header a {
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -134,6 +139,9 @@ footer a:not(:last-child)::after, .subheading-links a:not(:last-child)::after {
|
||||||
p, footer, ul {
|
p, footer, ul {
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
header {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
h1 {
|
h1 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue