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.
 
 
 

140 lines
2.3 KiB

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600;700&display=swap');
*{
font-family: 'Cabin', sans-serif;
font-size: large;
color: white;
}
body
{
overflow: hidden;
background-image: url('../img/Bg.png');
background-size: cover;
}
/* ### 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%;
opacity: 0;
}
.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;
}
.selectColor {
display: flex;
align-items: center;
opacity: 0;
}
.cc{
position: absolute;
width: 10vw;
z-index: 1000;
}
#cc-blue{
top: 20vw;
left: 50vw;
transition: top 0.5s, left 0.5s;
}
#cc-green{
top: 20vw;
right: 50vw;
transition: top 0.5s, right 0.5s;
}
#cc-yellow{
top: 10vw;
right: 50vw;
transition: top 0.5s, right 0.5s;
}
#cc-red{
top: 10vw;
left: 50vw;
transition: top 0.5s, left 0.5s;
}
#cc-blue:hover{
top: calc(20vw + 15px);
left: calc(50vw + 15px);
}
#cc-red:hover{
top: calc(10vw - 15px);
left: calc(50vw + 15px);
}
#cc-yellow:hover{
top: calc(10vw - 15px);
right: calc(50vw + 15px);
}
#cc-green:hover{
top: calc(20vw + 15px);
right: calc(50vw + 15px);
}