Skip to content

Commit bc49959

Browse files
committed
looks closer to the original
1 parent 8579cd3 commit bc49959

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/client/styles/style.scss

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,18 @@ body {
181181

182182
.player_hp {
183183
position: fixed;
184-
bottom: 70px;
184+
bottom: 75px;
185185
left: calc(50vw - 250px);
186186
display: block;
187187
}
188188

189+
.player_food {
190+
position: fixed;
191+
bottom: 75px;
192+
right: calc(50vw - 245px);
193+
display: block;
194+
}
195+
189196
:root {
190197
--mn: 1;
191198
--box: calc(9*3)px;
@@ -239,33 +246,27 @@ body {
239246
.xp_bar_empty,
240247
.xp_bar {
241248
position: fixed;
242-
bottom: 61px;
243-
left: calc(50vw - 250px);
244-
width: 500px;
245-
height: 14px;
249+
bottom: 65px;
250+
left: calc(50vw - 275px);
251+
width: 256*3px;
252+
height: 3*5px;
246253
background-image: url("../../assets/pack/assets/minecraft/textures/gui/icons.png");
247254
background-repeat: no-repeat;
248255
border: 0px;
249-
background-size: 703px auto;
256+
background-size: 256*3px auto;
250257
border: none;
251258
}
252259

253260
.xp_bar_empty {
254261
image-rendering: pixelated;
255-
background-position: 0px -176px;
262+
background-position: 0px -3*64px;
256263
}
257264

258265
.xp_bar {
259266
image-rendering: pixelated;
260-
background-position: 0px -189px;
267+
background-position: 0px -3*68px;
261268
}
262269

263-
.player_food {
264-
position: fixed;
265-
bottom: 70px;
266-
right: calc(50vw - 245px);
267-
display: block;
268-
}
269270

270271
.inv_window {
271272
z-index: 10;

0 commit comments

Comments
 (0)