Files
PetPet/style.css

139 lines
2.6 KiB
CSS

*{
padding: 0;
margin: 0;
box-sizing: border-box;
text-align: center;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #333;
background-image: url("./img/pc.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
color: #fff;
}
img{
aspect-ratio: 1/1;
object-fit: contain;
}
main{
/*clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);*/
background: #333333aa;
padding: 1rem;
border-radius: 20px;
}
#anim{
width: 200px;
margin-top: 1rem;
filter: drop-shadow(2px 2px 5px #aaaaaaaa);
}
.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;
align-items: center;
justify-content: space-around;
padding: 1rem;
margin: .5rem;
gap: 10px;
background: #222222cc;
height: 100px;
width: 100px;
}
span p{
font-size: 20px;
/*-webkit-text-stroke: 0.5px #999999cc;*/
text-decoration: solid;
filter: drop-shadow(1.5px 1.5px 6px #aaa);
}
.games{
border-radius: .5rem;
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 1rem;
margin: .5rem;
background: #222222cc;
height: 80px;
}
.gamesPromo{
width: 69px; /* Mobile */
height: 48px;
}
.gamesText{
display: flex;
flex-direction: column;
justify-content: space-around;
}
.gamesText a{
color: red;
}
.actBTN{
display: block;
border: none;
height: 20px;
width: 50px;
text-align: center;
border-radius: 5px;
color: #fff;
background: #666666aa;
box-shadow:
inset 5px 5px 15px #777,
5px 5px 15px #555;
cursor: pointer;
transition: .5s;
}
.actBTN:hover{
background-color: #3c3;
transition: .1s;
}
.Lime{color: lime; user-select: none;}.Yellow{color: yellow; user-select: none;}.Orange{color: orange; user-select: none;}.Red{color: red; user-select: none;}.DarkRed{color: darkred; user-select: none;}
.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;
}
@media screen and (max-width: 500px){
body{
background-image: url("./img/mobile.jpg");
}
main{
border-radius: 0;
}
}