Skip to content

Commit

Permalink
Make bottom footer right
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaegel committed Nov 3, 2023
1 parent ebe07f9 commit 353a458
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions themes/custom/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
--primary-focus: var(--secondary-focus);
}

body,
html {
margin: 0;
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto;
}

h1,
h2,
h3,
Expand Down Expand Up @@ -49,11 +57,8 @@ blockquote > p {
footer {
color: var(--muted-color);
font-size: 0.7em;
padding: 8px !important;
position: absolute;
bottom: 0;
left: 0;
text-align: center;
padding: 16px 0px !important;
}

.margin-t-32 {
Expand Down
4 changes: 2 additions & 2 deletions themes/custom/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
<main class="container">
{% block content %}{% endblock %}
</main>
<footer>
<span>Toni Mägel © 2023</span>
<footer class="container">
<span>© 2023 {{ AUTHOR }} · Website powered by <a href="https://getpelican.com/">Pelican</a></span>
</footer>
</body>
<script src="{{ SITEURL }}/theme/js/toggle_theme.js"></script>
Expand Down

0 comments on commit 353a458

Please sign in to comment.