tgd-frontend/src/app/components/question/question.component.scss
2024-10-31 01:31:47 +04:00

53 lines
No EOL
987 B
SCSS

@import "../../../styles.scss";
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
section {
margin-top: 10vh;
display: flex;
flex-flow: column;
min-height: 100%;
height: 100%;
.question-container {
flex: 1;
h1 {
text-align: center;
color: $thg_brown;
}
.question-text {
font-family: 'Inter', sans-serif;
}
.question-number {
font-size: 2.9em;
color: rgba($thg_brown,0.8);
}
.answer {
margin: 15px;
background: $yellow_gradient;
font-size: 1.5em;
padding: 20px 10px 10px;
border-radius: 23px;
p {
text-align: center;
}
}
}
}
.countdown {
&.warn {
color: $thg_red;
transition: color 2000ms linear, font-size 5000ms ease;
border-radius: 10px;
font-size: 3em;
}
min-width: 40px;
position: absolute;
bottom: 60px;
right: 20px;
span {
font-size: 3em;
font-weight: bold;
}
color: $thg_brown;
}