mirror of
https://github.com/MrEidam/PetPet.git
synced 2026-04-17 15:43:31 +00:00
61 lines
1.1 KiB
CSS
61 lines
1.1 KiB
CSS
*{
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
}
|
|
body{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background: #333;
|
|
color: #fff;
|
|
}
|
|
#anim{
|
|
width: 200px;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
.activ{
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.item{
|
|
/*border: red solid 2px;*/
|
|
border-radius: .5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
margin: .5rem;
|
|
gap: 10px;
|
|
background: #222222cc;
|
|
height: 100px;
|
|
width: 100px;
|
|
|
|
}
|
|
main{
|
|
/*clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);*/
|
|
}
|
|
.Lime{color: lime;}.Yellow{color: yellow;}.Orange{color: orange;}.Red{color: red;}.DarkRed{color: darkred;}
|
|
|
|
.cash{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
background: #222222cc;
|
|
padding: .5rem;
|
|
border-radius: 0 0 1rem 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
}
|
|
|
|
.cash img{
|
|
margin-right: .5rem;
|
|
} |