New backup 2025-10-09 20:45:01

This commit is contained in:
Penelope Gwen 2025-10-09 20:45:01 -07:00
parent c5896dfc8c
commit b4a96ab374
2 changed files with 10 additions and 3 deletions

View file

@ -148,12 +148,15 @@ revealer.home {
box-shadow: inset 0 0 0px 2px $home-widget-border-color, 0px 0px 9px 0px $home-widget-bg-color; box-shadow: inset 0 0 0px 2px $home-widget-border-color, 0px 0px 9px 0px $home-widget-bg-color;
} }
.minecraft { .minecraft {
.server_image { .icon {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: cover; background-size: cover;
margin: 10px; margin: 10px;
} }
.details {
margin: 10px;
}
} }
.weather { .weather {
color: $home-button-fg-color; color: $home-button-fg-color;

View file

@ -23,22 +23,26 @@
:space-evenly true :space-evenly true
(for server in json (for server in json
(box (box
:class 'server'
:orientation 'h' :orientation 'h'
:space-evenly false :space-evenly false
(box (box
:class 'server_image' :class 'icon'
:width 75 :width 75
:height 75 :height 75
:style 'background-image: url("${server.icon_path}");' :style 'background-image: url("${server.icon_path}");'
) )
(box (box
:class 'details'
:orientation 'v' :orientation 'v'
(label (label
:text "${server.address}" :text "${server.address}"
) )
(label (label
:text "${replace(server.status.motd,'§.','')}" :text "${replace(server.status.motd,'§.','')}"
:truncate true :wrap true
:wrap-mode 'word'
; :truncate true
) )
) )
) )