From 37a4c3286fb2a62a4946a85b7fc771d16a2491e6 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 6 Apr 2021 00:02:38 +0200 Subject: Made labels more distinct --- style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 0c793b3..2440d71 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,7 @@ body { margin: 0; + font-family: sans-serif; + font-size: 12px; } .wreck { @@ -26,11 +28,12 @@ body { content: attr(data-label); color: #eee; position: absolute; - top: 0; + top: -0.2em; left: 107.5%; padding: 0.2em 0.5em; - background: #000a; + background: #000b; border-radius: 0.5em; + border: 1px solid #444; pointer-events: none; width: max-content; } -- cgit v1.1