aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley L. <riley@e926.de>2024-11-04 10:47:17 +0100
committerRiley L. <riley@e926.de>2024-11-04 10:47:17 +0100
commit99bc1497563ded4f080283f70cf07fb40aa5f9d1 (patch)
treeb6de5667460ffe7e37af5b49d5a59505a8f1ba21
parenta432f03bee76a95ae0608b8f141892a165e930c7 (diff)
downloadabrechenbarkeit-99bc1497563ded4f080283f70cf07fb40aa5f9d1.tar
abrechenbarkeit-99bc1497563ded4f080283f70cf07fb40aa5f9d1.tar.bz2
abrechenbarkeit-99bc1497563ded4f080283f70cf07fb40aa5f9d1.tar.zst
Set text color of notif box correctly; flip Dinnerbone user page correctly
-rwxr-xr-xabrechenbarkeit.lua3
-rw-r--r--style.css4
2 files changed, 6 insertions, 1 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua
index 0768d4a..28bf1b8 100755
--- a/abrechenbarkeit.lua
+++ b/abrechenbarkeit.lua
@@ -64,7 +64,8 @@ local function get_user_theme(username)
end
c = c .. "\n}"
elseif username == "Dinnerbone" then
- c = "html { transform: scale(-1); } "
+ c = "html { transform: scale(-1); bottom: 0; position: absolute; right: 0;
+ width: 100%; } "
end
return c
end
diff --git a/style.css b/style.css
index e08f719..794681d 100644
--- a/style.css
+++ b/style.css
@@ -72,6 +72,10 @@ nav> :last-child {
border-radius: 4px;
}
+.notif > * {
+ color: black;
+}
+
.notif.error {
background-color: rgb(118, 13, 13);
}