diff options
| author | sD <stoned@derpymail.org> | 2020-04-13 18:50:51 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-04-13 18:50:51 +0200 |
| commit | f9715cc1a7869c8ade47052659dd31b8b4d6cc27 (patch) | |
| tree | 62b02f212eddacd850b504afb5f6af6a0622a46a /webAO/styles | |
| parent | 8c4a0224fcf1f9993cce7a539845ad5d1502ee9e (diff) | |
finally center yttd nametag
Diffstat (limited to 'webAO/styles')
| -rw-r--r-- | webAO/styles/chatbox/yttd.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webAO/styles/chatbox/yttd.css b/webAO/styles/chatbox/yttd.css index 8eddeb0..936c5ac 100644 --- a/webAO/styles/chatbox/yttd.css +++ b/webAO/styles/chatbox/yttd.css @@ -46,6 +46,7 @@ #client_name { display: block; + position: absolute; top: 0; left: 0; height: 27%; @@ -53,14 +54,13 @@ min-width: 10%; background-color: rgba(0, 0, 0, 0.5); border-style: double; - border-color: #ffa500; - position: absolute; + border-color: #ffa500; + padding: 0 2%; z-index: 1; } #client_name p{ - margin: 0; - padding: 2% 3%; + line-height: 1em; color: #fef9ad; } |
