Skip to content

Commit a49fd50

Browse files
committed
fix footer
1 parent ccb6f85 commit a49fd50

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/build/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<body>
1414
{% block body %}{% endblock %}
1515
<footer class="site-footer">
16-
<p>Byggt av <a href="https://nikita.galaiko.rocks" target="_blank">Nikita Galaiko</a><span class="sep">·</span>Inspirerad av <a href="https://allekinos.de" target="_blank">allekinos.de</a> av <a href="https://tonsky.me" target="_blank">Nikita Tonsky</a><span class="sep">·</span>Filminformation från <a href="https://www.themoviedb.org/" target="_blank">TMDB</a><span class="sep">·</span><a href="https://github.com/ngalaiko/allabiografer.se" target="_blank">Källkod</a><span class="sep">·</span><a href="mailto:nikita@galaiko.rocks?subject=allabiografer.se">Frågor eller rättelser?</a></p>
16+
<p>Inspirerad av <a href="https://allekinos.de" target="_blank">allekinos.de</a><span class="sep">·</span>Filminformation från <a href="https://www.themoviedb.org/" target="_blank">TMDB</a><span class="sep">·</span><a href="https://github.com/ngalaiko/allabiografer.se" target="_blank">Källkod</a><span class="sep">·</span><a href="mailto:nikita@galaiko.rocks?subject=allabiografer.se">Frågor eller rättelser?</a></p>
1717
</footer>
1818
</body>
1919
</html>

static/i/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:target { scroll-margin-block: 5ex; }
55
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
66
p, h1, h2, h3 { overflow-wrap: break-word; }
7-
body { min-height: 100vh; }
7+
body { min-height: 100vh; display: flex; flex-direction: column; }
88

99
/** Shared **/
1010
:root {
@@ -84,7 +84,7 @@ h2 { font-size: var(--cap-height-13); font-weight: 600; margin-bottom: 7px; }
8484
p.e { background: #F5F5F5; }
8585

8686
/** Footer **/
87-
.site-footer { padding: 2em 20px; margin-top: 3em; color: #999; font-size: var(--cap-height-10); text-align: center; line-height: 2; position: sticky; left: 0; width: 100vw; }
87+
.site-footer { padding: 2em 20px 1em; margin-top: auto; color: #999; font-size: var(--cap-height-10); text-align: center; line-height: 2; }
8888
.site-footer a { color: #777; text-decoration: none; }
8989
.site-footer a:hover { color: #FF4F20; }
9090
.site-footer .sep { margin: 0 0.6em; color: #ccc; }

0 commit comments

Comments
 (0)