From 89e849481bead3dc6cb93dffd5b0b56d0eb068b5 Mon Sep 17 00:00:00 2001 From: zcorpan Date: Thu, 7 Nov 2024 22:03:44 +0100 Subject: [PATCH] Tweak alignment --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index e103560..18d30ca 100644 --- a/index.html +++ b/index.html @@ -82,7 +82,7 @@ th, td { padding: 0.5em; } td:first-child { padding-left: 6em; width: 0.5em; } tr.details > td { padding-top: 0; padding-bottom: 0; border-top: none; } - summary { position: relative; top: -2em; left: -5em; width: 5em; cursor: default; user-select: none; } + summary { position: relative; top: calc(-2em - 1px); left: -5em; width: 5em; cursor: default; user-select: none; } details > dl { margin-top: -1em; } details:not([open]) { height: 0; } details dl { margin-left: -5.5em; grid-template-columns: 6em auto; } @@ -97,8 +97,8 @@ tbody > tr:has( + :where(tr.details:hover)) { background-color: var(--row-hover-bg-color); } tbody > tr:target, tbody > tr:target + tr.details { background-color: var(--highlight-bg-color); color: var(--highlight-color); } - table img { width: auto; height: 24px; } - span.position { border-radius: 0.6em; padding: 0.25em 0.5em; font-size: 0.75em; border: 1px solid var(--position-border-color); white-space: nowrap; } + table img { width: auto; height: 24px; vertical-align: -2px; } + span.position { border-radius: 0.6em; padding: 0.25em 0.5em; vertical-align: 1px; font-size: 0.75em; border: 1px solid var(--position-border-color); white-space: nowrap; } span.positive { background-color: var(--positive-bg-color); color: var(--positive-color); } span.negative { background-color: var(--negative-bg-color); color: var(--negative-color); } span.neutral { border-color: currentColor; } @@ -146,7 +146,7 @@

Mozilla Sta Position Topics Venues - More Info + More info