1
0
forked from Chaospott/site

Adjust the Pride Month styling to blend in better with the existing page design. CCC/Chaospott logo wall is no longer covered up, the Repair Café logo no longer clashes with the pride background, and the whole thing is a bit easier on the eyes.

This commit is contained in:
m11
2026-06-20 17:00:48 +02:00
parent 78dd873bab
commit 361147d6f8
5 changed files with 431 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
(function () {
var month = Number(
new Intl.DateTimeFormat("de-DE", {
timeZone: "Europe/Berlin",
month: "numeric"
}).format(new Date())
);
if (month !== 6) {
return;
}
document.querySelectorAll("img[data-pride-src]").forEach(function (img) {
img.src = img.getAttribute("data-pride-src");
});
})();