Make footer stick to the bottom of the page

This commit is contained in:
Primrose 2023-12-02 22:08:12 -05:00
parent 2889eb633c
commit 9097c6b38b
2 changed files with 8 additions and 23 deletions

View file

@ -24,27 +24,6 @@
<h2>Welcome</h2>
<p>Welcome to my home sweet home, darling. Take a look around, if you so desire.</p>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="footer">
<h2>Friends 💖</h2>
<a href="https://speedie.site"><img src="https://snowcake.me/assets/images/speedie.png" title="speedie - speedie.site"></a>
@ -54,4 +33,4 @@
<p>See <a href="https://git.snowcake.me/primrose/snowcake-website/src/branch/main/LICENSE">this</a> document for copyright and licensing details</p>
</div>
</body>
</html>
</html>

View file

@ -59,6 +59,12 @@ a {
cursor: pointer;
}
.footer {
position: fixed;
bottom: 0px;
width: 100%;
}
@media (prefers-color-scheme: dark) {
body {
background-image: radial-gradient(circle, #8e009f, #6b0077, #470050);
@ -87,4 +93,4 @@ a {
a {
color: #ffffff;
}
}
}