summaryrefslogtreecommitdiffhomepage
path: root/style.css
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-04-09 20:37:30 +0200
committerAki <please@ignore.pl>2021-04-09 20:37:30 +0200
commitce34a9c255d12e3e985d224a6744af62daffeb9b (patch)
tree2b9c13b1fffbed07e0a6f8f0c9204655511084ad /style.css
parent8fa81a7134b595e3857d7719a8f45bb378d77b7e (diff)
downloadderelict-prototype-ce34a9c255d12e3e985d224a6744af62daffeb9b.zip
derelict-prototype-ce34a9c255d12e3e985d224a6744af62daffeb9b.tar.gz
derelict-prototype-ce34a9c255d12e3e985d224a6744af62daffeb9b.tar.bz2
Moved labels to separate elements
Diffstat (limited to 'style.css')
-rw-r--r--style.css6
1 files changed, 2 insertions, 4 deletions
diff --git a/style.css b/style.css
index a8afdcb..43242aa 100644
--- a/style.css
+++ b/style.css
@@ -42,14 +42,12 @@ body {
background: #14ea6a;
}
-.wreck::after {
- display: block;
- content: attr(data-label);
+.label {
color: #eee;
position: absolute;
top: -0.2em;
left: calc(100% + 0.4em);
- padding: 0.2em 0.5em;
+ padding: 0.2em 0.4em;
background: #000b;
border-radius: 0.5em;
border: 1px solid #444;