From 3dc55e372c9a6921308688982ff9b7f5118146fe Mon Sep 17 00:00:00 2001 From: adrien Date: Tue, 1 Apr 2025 17:38:11 +0200 Subject: [PATCH] style tweaks --- rj45-inverse.svg | 33 ++++++++++++++++++++++++++++----- rj45.svg | 28 +++++++++++++++++++++++++--- show.php | 6 +++--- style.css | 12 +++++++----- 4 files changed, 63 insertions(+), 16 deletions(-) diff --git a/rj45-inverse.svg b/rj45-inverse.svg index 052bdf2..c48c5c9 100644 --- a/rj45-inverse.svg +++ b/rj45-inverse.svg @@ -8,10 +8,33 @@ version="1.1" id="svg1" xml:space="preserve" + sodipodi:docname="rj45-inverse.svg" + inkscape:version="1.4 (86a8ad7, 2024-10-11)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + id="layer1-2" + transform="rotate(180,2.6458334,2.6458334)"> diff --git a/rj45.svg b/rj45.svg index 31905ec..43b1ea6 100644 --- a/rj45.svg +++ b/rj45.svg @@ -8,10 +8,32 @@ version="1.1" id="svg1" xml:space="preserve" + sodipodi:docname="rj45.svg" + inkscape:version="1.4 (86a8ad7, 2024-10-11)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + style="fill:#34495e;fill-opacity:1;stroke-width:0.070003" + d="M 0,0 V 5.2916667 H 5.2916667 V 0 H 2.8222222 Z m 2.2381957,0.19616086 h 0.9264484 c 0.1791197,0 0.3233547,0.15265851 0.3233547,0.37450931 v 0.0861369 h 1.1373691 c 0.2740052,0 0.4168283,0.1937523 0.4152798,0.53312043 l -0.01368,2.9981332 C 5.0254188,4.5274292 4.8856927,4.7209964 4.6116875,4.7209964 H 0.67997917 c -0.27400514,0 -0.41696486,-0.1935672 -0.41541633,-0.5329357 L 0.27824324,1.1899275 C 0.27979177,0.85055938 0.41965443,0.65680703 0.69365957,0.65680703 H 1.9148412 v -0.0861369 c 0,-0.2218508 0.1442347,-0.37450927 0.3233545,-0.37450927 z" + sodipodi:nodetypes="ccccccssscsscssssscss" /> diff --git a/show.php b/show.php index 3260cd6..d2d9b8b 100644 --- a/show.php +++ b/show.php @@ -108,11 +108,11 @@ echo ("-->");*/ - + \ No newline at end of file diff --git a/style.css b/style.css index 2bb1578..081590c 100644 --- a/style.css +++ b/style.css @@ -124,6 +124,7 @@ td { border-radius: 6px; background-color: #34495e; margin-bottom: 0.5rem; + print-color-adjust: exact; } .member-id { @@ -133,7 +134,7 @@ td { text-shadow: 0 1px 3px #fffb; font-weight: bold; border: 2px inset black; - font-family: "Small Fonts", "Courier", monospace; + font-family: monospace; margin: 1em 0.5em; padding: 0.12em 0.4em; } @@ -151,14 +152,15 @@ td { min-width: 2em; height: 2em; mix-blend-mode: darken; - print-color-adjust: exact; cursor: help; transition: 0.2s background-color; - border: 4px solid; + border: 2px inset #476079; + border-image-width: 4px; border-image-slice: 3; border-image-source: url(rj45.svg); border-image-repeat: stretch; background-color: white; + print-color-adjust: exact; } .member tr:nth-child(even) .interface { @@ -221,8 +223,8 @@ td { content: "⚡"; font-size: 0.7em; position: absolute; - top: -0.7em; - right: -0.7em; + top: -0.5em; + right: -0.5em; } .voice_vlan::after {