From f643bfc311e0396411836c3922f8d3450ff07d7a Mon Sep 17 00:00:00 2001 From: EpicKiwi Date: Mon, 23 Dec 2024 11:06:06 +0100 Subject: [PATCH] LOL Closed on 25 and 31 of december --- css/style.css | 10 +++++++++- index.html | 2 +- js/status.js | 1 + status/24-12.fermé.html | 30 ++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 status/24-12.fermé.html diff --git a/css/style.css b/css/style.css index 3a48947..09f7347 100644 --- a/css/style.css +++ b/css/style.css @@ -189,11 +189,15 @@ main #description { align-items: center; column-gap: 5px; - border: solid 1px white; + border: solid 1px currentColor; background: black; padding: 15px; } +.status-container.no-icon { + grid-template-columns: min-content 1fr; +} + .status-container > * { grid-column: span 2; text-align: center; @@ -206,6 +210,10 @@ main #description { font-size: inherit; } +.status-container.no-icon > *:first-child:not(img) { + text-align: center; +} + .status-container .status-icon { grid-column: 1; grid-row: 1; diff --git a/index.html b/index.html index a55654f..dc41869 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,7 @@

Ouvert tous les mardis à partir de 19h

- Vérifier si le local est ouvert 🠖 + Vérifier si le local est ouvert 🠖
diff --git a/js/status.js b/js/status.js index 9a20425..1259a0f 100644 --- a/js/status.js +++ b/js/status.js @@ -37,6 +37,7 @@ async function insertStatus(containerEl){ containerEl.append(document.importNode(node, true)); } containerEl.className = main.className; + containerEl.setAttribute("style", main.getAttribute("style")) } insertStatus(document.getElementById("status")) \ No newline at end of file diff --git a/status/24-12.fermé.html b/status/24-12.fermé.html new file mode 100644 index 0000000..9371bfe --- /dev/null +++ b/status/24-12.fermé.html @@ -0,0 +1,30 @@ + + + + + + + Ouverture du local • Laboratoire Ouvert Lyonnais + + + + + + +
+ +
+ +
+

Le Laboratoire Ouvert Lyonnais
n'ouvrira pas le 24 et le 31 Decembre

+ +

De retour en 2025

+
+ + + + + +