diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-11-23 01:03:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 01:03:43 +0100 |
| commit | 0bde1984c08414688554dedfd5714a343dfbf76c (patch) | |
| tree | c99f282cdfcbfbd5fc3b74f8ced5b8bb32804f40 /webAO/styles/client.css | |
| parent | 26e3cd4bfe08a78e65935cf494c24193f59c8a7e (diff) | |
| parent | f126caa2931b4ca8e41364d23d48e4406e146362 (diff) | |
Merge pull request #202 from SymphonyVR/master
Some bugfixes (upscaling, preanimation, webp on char buttons, viewport layout)
Diffstat (limited to 'webAO/styles/client.css')
| -rw-r--r-- | webAO/styles/client.css | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/webAO/styles/client.css b/webAO/styles/client.css index 9671a9a..702766e 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -241,7 +241,7 @@ } .def_court { - object-position: left; + object-position: center; } .wit_court { @@ -249,7 +249,7 @@ } .pro_court { - object-position: right; + object-position: center; } #client_fullview { @@ -278,11 +278,11 @@ .client_char>img { position: absolute; height: 100%; - width: 100%; bottom: 0; - left: 0; - object-fit: cover; - object-position: 50% 0; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } #client_bench_classic { @@ -311,17 +311,19 @@ .client_bench { position: absolute; - height: auto; - width: 100%; + height: 100%; bottom: 0; + object-fit: contain; } #client_fg { position: absolute; height: 100%; - width: 100%; bottom: 0; left: 0; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } #client_evi { @@ -725,4 +727,4 @@ .hrtext:after { left: 0.5em; margin-right: -50%; -} +}
\ No newline at end of file |
