From 2c4a0b2524b8943ebbb28c69c858b3f86c238049 Mon Sep 17 00:00:00 2001 From: rhandos Date: Sun, 23 Nov 2025 17:48:53 +0100 Subject: [PATCH] added media query for use in club assistant --- static/main.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/static/main.css b/static/main.css index be452d9..8d44788 100644 --- a/static/main.css +++ b/static/main.css @@ -76,3 +76,33 @@ input.button_color { background-color: #ff00ff; color: #000000; } + +/* adjustments for display in club assistant. hacky WIP but should fix most display problems. +TODO: better recognition than max-width, full design parity to ha/lovelace*/ +@media only screen and (max-width: 600px) { + :root { + --bg-color: #1c1c1c; + --primary-color: #e1e1e1; + } + body { + width: 100%; + padding: 0px; + margin: 0px; + font-family: Roboto,Noto,sans-serif; + } + h1 { + display: none; + } + label { + display: inline; + } + .buttons { + width: 30%; + } + .colors { + width: 70%; + } + .controls { + width: 100%; + } +} \ No newline at end of file -- 2.50.1