From 8d2f3af3d5b88ac5b7186b23c4231d9cf00f3616 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 2 Apr 2024 16:42:17 +0200 Subject: new commands --- ui/css/style.css | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'ui/css') diff --git a/ui/css/style.css b/ui/css/style.css index 8b2201a..1f51921 100644 --- a/ui/css/style.css +++ b/ui/css/style.css @@ -103,6 +103,7 @@ ul { width: calc(20% - 5px); height: calc(40% - 5px); background-color: #ccc; + position: relative; } .traffic-light { width: 20px; @@ -121,30 +122,10 @@ ul { left: 5px; } -/* Styles for the text inside the squares */ -.square-text-first-row { - position: absolute; - top: 5px; - left: 5px; -} - -.square-text-second-row{ - position: absolute; - top: 30px; - left: 5px; -} - -.square-text-third-row{ - position: absolute; - top: 55px; - left: 5px; -} - /* Styles for the inner content of the squares */ .inner-content { - position: relative; - width: 100%; - height: 100%; + position: absolute; + inset: 8px; } details { -- cgit v1.2.3