Skip to content

Commit

Permalink
regular push updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RatCheese1608 committed Jun 22, 2023
1 parent eb8b947 commit 8f01c40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,19 @@
<img src="Resources/golden rat.jpg" alt="Enemy Sprite">
</div>
<div class="status">
<p id="enemy-name" class="username">
Golden Rat
</p>
<div class="healthbar">
<div class="hpdisplay"></div>
</div>
</div>
</div>
<div id="player-container" class="sprite-container">
<div class="status">
<p id="player-name" class="username">
You, The Regular Rat
</p>
<div class="healthbar">
<div class="hpdisplay"></div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,13 @@ div {
align-items: flex-end;
}

.healthbar {
.status {
width: 30%;
min-width: 130px;
height: 40px;
}

.healthbar {
border-radius: 10px;
overflow: hidden;
}
Expand Down Expand Up @@ -188,7 +191,6 @@ div {
}

#answer > * {
/* flex-basis: 18%;*/
margin: auto;
height: 40%;
aspect-ratio: 4;
Expand Down

0 comments on commit 8f01c40

Please sign in to comment.