Files
portal/resources/sass/pages/games/hangman.scss

108 lines
1.8 KiB
SCSS
Vendored

.game-container {
max-width: 80rem;
margin: 0 auto;
}
.game-container-box {
padding: 2rem 3rem;
position: relative;
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
}
.dic-select {
min-height: 6rem;
}
.figure-container {
fill: transparent;
stroke: orange;
stroke-width: 4px;
stroke-linecap: round;
}
.figure-part {
display: none;
stroke: #7b341e;
}
.wrong-letters-container {
top: 4rem;
display: flex;
flex-direction: column;
text-align: right;
.wrong-letters {
height: 3.5rem;
}
p {
margin: 0 0 5px;
}
span {
font-size: 2.4rem;
}
}
.word {
@apply flex justify-center items-center;
bottom: 1rem;
.letter {
border-bottom: 3px solid #c05621;
display: inline-flex;
font-size: 30px;
align-items: center;
justify-content: center;
margin: 0 3px;
height: 50px;
width: 20px;
}
}
.popup-container {
position: absolute;
width: calc(100% - 6rem);
.popup {
background-color: #c05621;
border-radius: 5px;
color: #fbd38d;
min-height: 10rem;
padding: 20px;
text-align: center;
button {
cursor: pointer;
background-color: #fff;
color: #7b341e;
border: 0;
margin-top: 20px;
padding: 12px 20px;
font-size: 16px;
&:active {
transform: scale(0.98);
}
&:focus {
outline: 0;
}
}
}
}
.notification-container {
background-color: #ed8936;
border-radius: 2px;
padding: 1rem;
text-align: center;
margin-bottom: 6rem;
p {
margin: 0;
}
}