|
|
|
@ -89,7 +89,7 @@ |
|
|
|
--fs-lg: 1.8rem; |
|
|
|
--fs-xl: 2.8rem; |
|
|
|
--fs-2xl: 3.2rem; |
|
|
|
--fs-3xl: 5.6rem; |
|
|
|
--fs-3xl: 4.0rem; |
|
|
|
--fs-4xl: 9.0rem; |
|
|
|
|
|
|
|
--flip-deg: 0deg; |
|
|
|
@ -107,13 +107,15 @@ body { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
gap: 0; |
|
|
|
min-height: 100svh; |
|
|
|
justify-content: end; |
|
|
|
position: relative; |
|
|
|
min-height: 100svh; |
|
|
|
-webkit-font-smoothing: antialiased; |
|
|
|
touch-action: manipulation; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ul[class] { |
|
|
|
margin: 0 auto; |
|
|
|
padding: 0; |
|
|
|
@ -122,11 +124,9 @@ ul[class] { |
|
|
|
|
|
|
|
|
|
|
|
header { |
|
|
|
position: fixed; |
|
|
|
top: 1.2rem; |
|
|
|
left: 1.2rem; |
|
|
|
|
|
|
|
|
|
|
|
padding: 1.2rem; |
|
|
|
flex-grow: 0; |
|
|
|
|
|
|
|
& svg { |
|
|
|
width: 70px; |
|
|
|
height: auto; |
|
|
|
@ -219,7 +219,17 @@ footer { |
|
|
|
|
|
|
|
|
|
|
|
main { |
|
|
|
margin: 1.2rem 1.2rem 1.6rem 1.2rem; |
|
|
|
margin: 0 1.2rem 1.6rem 1.2rem; |
|
|
|
flex-grow: 1; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
justify-content: end; |
|
|
|
} |
|
|
|
|
|
|
|
@media (min-width: 474px) { |
|
|
|
main { |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.intro-container { |
|
|
|
@ -235,6 +245,14 @@ main { |
|
|
|
grid-template-columns: 1; |
|
|
|
grid-template-rows: auto; |
|
|
|
gap: 8px; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.intro-container, |
|
|
|
.question-container { |
|
|
|
max-width: 450px; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
|
|
|
|
.intro-content-header, |
|
|
|
@ -291,12 +309,7 @@ main { |
|
|
|
line-height: 1.4; |
|
|
|
padding: 1.6rem 1.2rem; |
|
|
|
|
|
|
|
& em { |
|
|
|
font-style: normal; |
|
|
|
background-color: var(--clr-text-highlight); |
|
|
|
padding: 1px 2px; |
|
|
|
margin-right: -2px; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
& input[type=radio] { |
|
|
|
position: absolute; |
|
|
|
@ -312,15 +325,39 @@ main { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.question-result { |
|
|
|
.question-container { |
|
|
|
& em { |
|
|
|
font-style: normal; |
|
|
|
background-color: var(--clr-text-highlight); |
|
|
|
padding: 1px 2px; |
|
|
|
margin-right: -2px; |
|
|
|
} |
|
|
|
|
|
|
|
& strong { |
|
|
|
font-weight: 700; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.question-result, .result-stats { |
|
|
|
background-color: var(--clr-medium-yellow); |
|
|
|
border-radius: 1.2rem; |
|
|
|
font-size: var(--fs-base); |
|
|
|
line-height: 1.4; |
|
|
|
padding: 1.6rem 1.2rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
& strong { |
|
|
|
font-weight: 700; |
|
|
|
.result-actions { |
|
|
|
display: grid; |
|
|
|
grid-template-columns: 1fr 1fr; |
|
|
|
gap: 0.8rem; |
|
|
|
|
|
|
|
& a { |
|
|
|
background-color: var(--clr-medium-yellow); |
|
|
|
border-color: var(--clr-medium-yellow); |
|
|
|
color: var(--clr-black) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -353,8 +390,20 @@ main { |
|
|
|
font-size: 4rem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.result-msg { |
|
|
|
background-color: var(--clr-white); |
|
|
|
border-radius: 1.2rem; |
|
|
|
font-size: var(--fs-base); |
|
|
|
line-height: 1.4; |
|
|
|
padding: 2.0rem 1.2rem; |
|
|
|
|
|
|
|
& h1 { |
|
|
|
font-size: var(--fs-3xl); |
|
|
|
line-height: 1.1; |
|
|
|
margin: 0 0 0.4em 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -395,7 +444,7 @@ label.question-answer { |
|
|
|
} |
|
|
|
|
|
|
|
main { |
|
|
|
margin: 2rem 3rem; |
|
|
|
margin: 0 2rem 3rem 2rem; |
|
|
|
} |
|
|
|
|
|
|
|
footer { |
|
|
|
|