From ea88991a9dc63d3a735dbf38a3091103b2def8d6 Mon Sep 17 00:00:00 2001 From: adrien Date: Tue, 6 May 2025 17:54:34 +0200 Subject: [PATCH] Revert "7 segments" This reverts commit 6258874114cd69d737d21e722d113ac41aa4d4b5. --- show.php | 3 +-- style.css | 12 +++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/show.php b/show.php index 7d727d8..c56417c 100644 --- a/show.php +++ b/show.php @@ -60,8 +60,7 @@ echo ("-->");*/

Interfaces

$lines) { - $member_7_segments = mb_convert_encoding("&#x" . dechex(0x1FBF0 + $member_id) . ";", 'UTF-8', 'HTML-ENTITIES'); - echo "
\n$member_7_segments\n\n\n"; + echo "
\n$member_id\n
\n\n"; foreach ($lines as $interfaces) { ksort($interfaces); echo "\n"; diff --git a/style.css b/style.css index 55894d3..34219f3 100644 --- a/style.css +++ b/style.css @@ -104,26 +104,24 @@ main { .member { display: flex; - align-items: baseline; + align-items: center; border: 6px outset #476079; border-radius: 4px; background-color: #34495e; margin-bottom: 0.5rem; print-color-adjust: exact; - justify-content: flex-start; } .member-id { - background: #666; + background: #888; align-content: center; color: lightgreen; - text-shadow: 0 1px 3px #fff5; + text-shadow: 0 1px 3px #fffb; font-weight: bold; border: 2px inset black; font-family: monospace; - margin: 0 0.5em; - padding: 0 0.3em; - font-size: 1.4em; + margin: 1em 0.5em; + padding: 0.12em 0.4em; } .interfaces {