diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 18:23:20 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 18:23:20 +0100 |
| commit | 5b85512ccd0d87cb61c30f73cea262c7a0545d37 (patch) | |
| tree | b186fd0b5f1fad48c5b0be6b78da3661ea6aa8c8 /static/deck.css | |
| parent | 624a7a845c601990f5550a3cb3db38b139feb5da (diff) | |
| download | deck-it-5b85512ccd0d87cb61c30f73cea262c7a0545d37.tar.gz deck-it-5b85512ccd0d87cb61c30f73cea262c7a0545d37.zip | |
feat(stats): an OS row with logo, kernel and uptime
The System card's small 'up Nh' line becomes a full-width tile: the
distro's Nerd Font logo, NAME and VERSION_ID from /etc/os-release in
large type, the codename and kernel release below, and the uptime
large on the right. An unknown distro gets Tux.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/static/deck.css b/static/deck.css index 4e9b753..b16ac7f 100644 --- a/static/deck.css +++ b/static/deck.css @@ -286,6 +286,10 @@ select { .msub { font-size: 0.857rem; color: var(--udt-subtext0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tablet .bars { height: 0.8em; margin-left: 6px; vertical-align: baseline; fill: var(--udt-surface2); } .tablet .bars .lit { fill: var(--udt-accent); } +.msys { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; } +.msys > i { flex: none; width: 3rem; font-size: 2.6rem; line-height: 1; color: var(--udt-accent); } +.msys > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; } +.msys .mup { margin-left: auto; align-items: flex-end; flex: none; } .mfoot { margin-top: 10px; font-size: 0.857rem; color: var(--udt-overlay0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .windows { display: flex; flex-direction: column; gap: 14px; } |
