You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

87 lines
1.4 KiB

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600;700&display=swap');
*{
font-family: 'Cabin', sans-serif;
}
body
{
overflow: hidden;
}
/* ### Stapel-"Karte ziehen" ### */
.stack-draw
{
max-width: 25vh;
min-width: 20vh;
position: absolute;
top: 47vh;
right: min(90%, (53% + 10vh));
transform: translate(50%, -50%);
}
/* ### Stapel-"Karte legen" ### */
.stack-put
{
max-width: 25vh;
min-width: 20vh;
position: absolute;
top: 47vh;
left: min(90%, (53% + 10vh));
transform: translate(-50%, -50%);
}
#first-put-anim
{
top: 30vh;
opacity: 0;
}
#first-put
{
opacity: 0;
}
.playerDeck{
display: flex;
justify-content: center;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 30%;
}
.pictureCard
{
position: absolute;
width: 8vw;
box-shadow: 3px 3px rgba(0, 0, 0, 0.2);
background-color: rgb(0, 0, 0);
border: 0.2vw solid black;
border-radius: 1.5vw;
transition: top 0.5s, width 0.5s, transform 0.5s, left 0.5s, opacity 0.5s;
}
.pictureCard img{
width: 100%;
}
#sayUno{
position: absolute;
bottom: 0vh;
left: 3vh;
width: 100%;
}
.uno{
position: absolute;
bottom: 10.5vw;
left: 11vw;
width: 25vw;
transition: width ease-in-out 0.5s;
transform: translate(-50%, 50%);
}
#sayUno-glow{
opacity: 0.3;
transition: width ease-in-out 0.5s, opacity 0.5s;
}