base: Add page footer

pull/1/head
Dustin 2021-03-08 23:10:15 -06:00
parent db9197fa2d
commit 16f3ac61ec
2 changed files with 27 additions and 0 deletions

View File

@ -6,6 +6,12 @@ body {
color: #ffffff; color: #ffffff;
} }
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
a:link, a:link,
a:visited { a:visited {
color: #ffffff; color: #ffffff;
@ -65,6 +71,7 @@ main.main-content {
max-width: 10in; max-width: 10in;
margin: 0 auto; margin: 0 auto;
color: #e8e8e8; color: #e8e8e8;
flex-grow: 1;
} }
.home h1.my-name { .home h1.my-name {
@ -118,3 +125,16 @@ article.post .post-title {
article.post .post-date { article.post .post-date {
margin-bottom: 3em; margin-bottom: 3em;
} }
/* Footer */
footer.page-footer {
font-size: 9pt;
text-align: center;
margin-top: 5em;
margin-bottom: 0.5em;
}
footer.page-footer hr {
margin-bottom: 1em;
width: 20%;
}

View File

@ -34,5 +34,12 @@
<main id="content" class="main-content" role="main"> <main id="content" class="main-content" role="main">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</main> </main>
<footer class="page-footer">
<hr />
<span class="copyright">Copyright © 20102021 Dustin C. Hatch</span>
<span>Built with <a href="https://www.getzola.org/">Zola</a><span>
</footer>
</body> </body>
</html> </html>