-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some bugfixes (upscaling, preanimation, webp on char buttons, viewport layout) #202
Changes from 4 commits
3c98ae5
19287c6
8ba20bd
c959f01
e44929a
f126caa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,16 +206,21 @@ | |
#client_court_static { | ||
position: absolute; | ||
height: 100%; | ||
width: 100%; | ||
top: 0; | ||
left: 0; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
#client_court { | ||
position: absolute; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is a known trick to center stuff in css but it doesn't work in all situations, need to test this |
||
} | ||
|
||
#client_stitch_court { | ||
|
@@ -229,27 +234,32 @@ | |
#client_stitch_court>img { | ||
position: absolute; | ||
height: 100%; | ||
width: 100%; | ||
bottom: 0; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
#client_court_classic { | ||
position: absolute; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
.def_court { | ||
object-position: left; | ||
object-position: center; | ||
} | ||
|
||
.wit_court { | ||
object-position: center; | ||
} | ||
|
||
.pro_court { | ||
object-position: right; | ||
object-position: center; | ||
} | ||
|
||
#client_fullview { | ||
|
@@ -275,16 +285,20 @@ | |
bottom: 0; | ||
} | ||
|
||
|
||
.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 { | ||
left: 0; | ||
} | ||
|
@@ -311,17 +325,20 @@ | |
|
||
.client_bench { | ||
position: absolute; | ||
height: auto; | ||
width: 100%; | ||
height: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. some benches are only a picture of the bench and this way they would stretch the entire height of the viewport and block it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
width: 1; | ||
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 { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the old
top