mirror of
https://github.com/MrEidam/PetPet.git
synced 2026-04-17 07:33:31 +00:00
219 lines
4.0 KiB
CSS
219 lines
4.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
|
|
*{
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
font-family: 'Ubuntu', sans-serif;
|
|
}
|
|
body{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100dvh;
|
|
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;
|
|
}
|
|
|
|
a{
|
|
color: #69f;
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
.moverSpace{
|
|
border-radius: .5rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
padding: 1rem;
|
|
margin: 1rem .5rem .5rem .5rem;
|
|
background: #222222cc;
|
|
height: 80px;
|
|
}
|
|
|
|
.gamesPromo{
|
|
width: 69px; /* Mobile */
|
|
height: 48px;
|
|
}
|
|
.gamesText{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.moverSpace .settingsText{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
|
|
.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: #ffa500; user-select: none;}.Red{color: red; user-select: none;}.DarkOrange{color: #ff5500; 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;
|
|
}
|
|
}
|
|
|
|
#blurs{
|
|
z-index: 68;
|
|
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 100%;
|
|
height: 100vmin;
|
|
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
#chui{
|
|
z-index: 69;
|
|
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 400px;
|
|
height: 400px;
|
|
|
|
padding: 1.5rem;
|
|
|
|
border: none;
|
|
border-radius: 1.5rem;
|
|
background-color: #333333dd;
|
|
color: #fff;
|
|
|
|
transition: .5s;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
#chui h2{
|
|
}
|
|
|
|
/*
|
|
#chui a{
|
|
color: #69f;
|
|
}*/
|
|
|
|
.animalChoose{
|
|
border: none;
|
|
border-radius: 50%;
|
|
background-color: #333;
|
|
box-shadow: 10px 10px 15px #444,
|
|
inset 7.5px 7.5px 10px #bbb;
|
|
width: 150px;
|
|
transition: .5s;
|
|
}
|
|
.animalChoose:hover{
|
|
border-radius: 25%;
|
|
transition: .25s;
|
|
transform: scale(1.2);
|
|
background-color: red;
|
|
background-color: var(--clr);
|
|
cursor: pointer;
|
|
}
|
|
.animalChoose:nth-child(1){
|
|
margin-right: 1.5rem;
|
|
} |