diff options
author | Aki <please@ignore.pl> | 2021-04-09 20:37:30 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-04-09 20:37:30 +0200 |
commit | ce34a9c255d12e3e985d224a6744af62daffeb9b (patch) | |
tree | 2b9c13b1fffbed07e0a6f8f0c9204655511084ad /style.css | |
parent | 8fa81a7134b595e3857d7719a8f45bb378d77b7e (diff) | |
download | derelict-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.css | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |