aboutsummaryrefslogtreecommitdiff
path: root/ui/css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-02 16:42:17 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-02 16:42:17 +0200
commit8d2f3af3d5b88ac5b7186b23c4231d9cf00f3616 (patch)
treefac7364cfbd7f523147e838b425d576c33984e97 /ui/css
parent07b1d349d5a1f3cc69135cfe11e1fa46b048cd7b (diff)
new commands
Diffstat (limited to 'ui/css')
-rw-r--r--ui/css/style.css25
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 {