From 7db3b09beaef1a7d8878967909c2baff8df3815a Mon Sep 17 00:00:00 2001 From: adrien <adrien@malingrey.fr> Date: Mon, 31 Mar 2025 14:16:23 +0200 Subject: [PATCH] tweak emojis --- show.php | 4 ++-- style.css | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/show.php b/show.php index 38f1f7e..502bc59 100644 --- a/show.php +++ b/show.php @@ -116,10 +116,10 @@ echo ("-->");*/ <label id="colorSliderLabel" for="colorSlider" class="no-print">Changer les couleurs</label> <input id="colorSlider" type="range" min="0" max="2000000" step="0.000000001" value="1353651.53435435" oninput="document.documentElement.style.setProperty('--k', this.value);" class="no-print"/> - <a href="<?=str_replace(__DIR__."/", "", $path) ?>" class="link no-print">Télécharger la configuration</a> + <a href="<?=str_replace(__DIR__."/", "", $path) ?>" target="_blank" class="link no-print">Télécharger la configuration</a> <a href="index.php" class="link no-print">← Retour à la liste</a> </footer> </div> </body> -</html> \ No newline at end of file +</html> diff --git a/style.css b/style.css index 19d9738..a407325 100644 --- a/style.css +++ b/style.css @@ -63,7 +63,7 @@ h2 { } .file-list a::before { - content: "📄 " + content: "📄 "; } .file-list a { @@ -142,7 +142,7 @@ td { min-width: 2em; height: 2em; mix-blend-mode: darken; - padding: 2px; + /*! padding: 0; */ print-color-adjust: exact; cursor: help; transition: 0.2s background-color; @@ -154,7 +154,7 @@ td { .vlan { color: #ecf0f1; - text-shadow: 0 1px 2px rgba(0,0,0,0.6); + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); background-color: hsl(calc(var(--k) * var(--pvid)) 97% 70%); } @@ -194,17 +194,17 @@ td { .poe::before { content: "⚡"; - font-size: 0.7em; + font-size: 0.65em; position: absolute; - top: 0; - left: 0; + top: -0.2em; + right: -0.25em; } .voice_vlan::after { content: "📞"; - font-size: 0.7em; + font-size: 0.65em; position: absolute; - bottom: 0; + bottom: -0.15em; left: 0; }