diff options
Diffstat (limited to 'ui/css/style.css')
-rw-r--r-- | ui/css/style.css | 25 |
1 files changed, 3 insertions, 22 deletions
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 { |