90 lines
1.3 KiB
CSS
90 lines
1.3 KiB
CSS
|
|
.rate-container {
|
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
|
|
0 6px 20px 0 rgba(255,255, 255, 0.19);
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.flip-container {
|
|
perspective: 1000px;
|
|
display: inline-block;
|
|
width: 250px;
|
|
height: 250px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.flipper {
|
|
transition: transform 0.6s;
|
|
transform-style: preserve-3d;
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.flipped {
|
|
transform: rotateY(180deg);
|
|
}
|
|
|
|
.front, .back {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
.back {
|
|
transform: rotateY(180deg);
|
|
}
|
|
|
|
.badge {
|
|
width: 90px;
|
|
height: 30px;
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.statText {
|
|
position: relative;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dozing {
|
|
background-color: #fcdc5e;
|
|
}
|
|
|
|
.snoozing {
|
|
background-color: #4ce8ed;
|
|
}
|
|
|
|
.slumbering {
|
|
background-color: #4588fb;
|
|
}
|
|
|
|
.berries {
|
|
background-color: #24d86b;
|
|
}
|
|
|
|
.ingredients {
|
|
background-color: #fdbe4d;
|
|
}
|
|
|
|
.skills {
|
|
background-color: #47a0fc;
|
|
}
|
|
|
|
.finalScore {
|
|
width: 30px;
|
|
height: 30px;
|
|
color: white;
|
|
padding: 4px 8px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
border-radius: 3px;
|
|
}
|