summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-04-06 00:02:38 +0200
committerAki <please@ignore.pl>2021-04-06 00:02:38 +0200
commit37a4c3286fb2a62a4946a85b7fc771d16a2491e6 (patch)
tree267e1bf399461158ce0f9d066d50b2c7a8578c1e
parent9306261368878626ec1520dcbf8295f1b99e341a (diff)
downloadderelict-prototype-37a4c3286fb2a62a4946a85b7fc771d16a2491e6.zip
derelict-prototype-37a4c3286fb2a62a4946a85b7fc771d16a2491e6.tar.gz
derelict-prototype-37a4c3286fb2a62a4946a85b7fc771d16a2491e6.tar.bz2
Made labels more distinct
-rw-r--r--style.css7
1 files 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;
}