Files
PetPet/Games/RockPaperScissors/style.css

83 lines
1.4 KiB
CSS

*{
padding: 0;
margin: 0;
box-sizing: border-box;
transition: .5s;
user-select: none;
}
body{
font-family: Arial, Helvetica, sans-serif;
text-align: center;
background: #333;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #fff;
background-image: url('./pc.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
transition: 0s;
}
img{
aspect-ratio: 1/1;
object-fit: contain;
filter: drop-shadow(1.5px 1.5px 6px #aaa);
}
h1{
filter: drop-shadow(1.5px 1.5px 6px #aaa);
}
#opponent-choice{
/*background: #fcda45;*/
margin-top: /*1*/0px;
}
#your-choice{
/*background: #4fdc5e;*/
margin-top: 20px;
}
#choices{
width: 240px;
height: 80px;
/*background: #f4a478;*/
margin: 0 auto;
margin-top: 10px;
}
#choices img{
width: 80px;
height: 80px;
}
.choiBACK{
padding: 2rem;
display: flex;
flex-direction: column;
backdrop-filter: blur(5px);
border-radius: 50px;
box-shadow:
inset 10px 10px 20px #fff,
10px 10px 20px #333;
}
.choices{
width: 240px;
height: 240px;
border-radius: 25px;
}
@media screen and (max-width: 500px){
body{
background-image: url("./mobile.jpg");
}
.choices{
width: 180px;
height: 180px;
}
.choiBACK{
}
}