Add support for custom background colors

This commit is contained in:
nuttylmao
2025-03-27 04:27:47 +11:00
parent 8774d44397
commit 93caa5b36d
4 changed files with 44 additions and 3 deletions
+14 -3
View File
@@ -62,12 +62,23 @@ html {
line-height: 1.7em;
width: 100%;
text-align: center;
bottom: calc(-1 * var(--margin) - 2em);
}
#background {
position: absolute;
bottom: 0;
right: 50%;
transform: translateX(50%);
width: 100%;
height: 1.7em;
background: var(--background);
bottom: calc(-1 * var(--margin));
z-index: -100;
}
@keyframes showAlertBox {
0% {
bottom: calc(-1 * var(--margin) - 2em);
bottom: calc(-1 * var(--margin) - 1.7em);
}
100% {
bottom: 0px;
@@ -79,7 +90,7 @@ html {
bottom: 0px;
}
100% {
bottom: calc(-1 * var(--margin) - 2em);
bottom: calc(-1 * var(--margin) - 1.7em);
}
}