commit c9409125facd2ece702b1edc3780ecdde6a00b49
parent bc6495a8fdb3451cb745e44eccc500f55c7922a1
Author: William Lindholm <william_lindholm@outlook.com>
Date: Mon, 20 Dec 2021 14:30:59 +0100
Re-centered footer and title.
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/index.php b/index.php
@@ -39,6 +39,6 @@
</body>
- <footer>© 2022 BoredButton3 | All rights reserved | By William ∧ Francisco</footer>
+ <footer>© 2022 BoredButton3 | All rights reserved | By William ∧ Francisco ∧ Ali</footer>
</html>
diff --git a/style.css b/style.css
@@ -41,9 +41,10 @@ canvas{
font-weight: bold;
top: 0;
text-align: center;
- left: 0;
+ left: 50%;
right: 0;
width: fit-content;
+ transform: translate(-50%, 0);
}
/* Fakta */
@@ -103,10 +104,11 @@ footer{
font-size: 1em;
position: fixed;
bottom: 0;
- left: 0;
+ left: 50%;
right: 0;
width: fit-content;
font-family: krublight;
+ transform: translate(-50%, 0);
}
/* Knappen */