2021-04-10 14:02:36 +00:00
|
|
|
:root {
|
|
|
|
--a-color: var(--red);
|
|
|
|
--b-color: var(--yellow);
|
|
|
|
--c-color: var(--green);
|
|
|
|
--d-color: var(--blue);
|
|
|
|
--question-country-color: var(--teal);
|
|
|
|
}
|
|
|
|
|
2021-04-11 14:04:52 +00:00
|
|
|
.correct {
|
2021-04-11 15:47:16 +00:00
|
|
|
animation: correct .5s;
|
2021-04-11 14:04:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.incorrect {
|
2021-04-11 15:47:16 +00:00
|
|
|
animation: incorrect .5s;
|
2021-04-11 14:04:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes correct {
|
|
|
|
0% { background: var(--default-bg); }
|
|
|
|
50% { background: var(--green); }
|
|
|
|
100% { background: var(--default-bg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes incorrect {
|
|
|
|
0% { background: var(--default-bg); }
|
|
|
|
50% { background: var(--red); }
|
|
|
|
100% { background: var(--default-bg); }
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#toprow {
|
2021-04-10 14:02:36 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px) {
|
2021-04-11 17:03:01 +00:00
|
|
|
#toprow {
|
2021-04-10 14:02:36 +00:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#question {
|
2021-04-10 14:02:36 +00:00
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#score {
|
2021-04-10 14:02:36 +00:00
|
|
|
--good: var(--green);
|
|
|
|
--okay: var(--yellow);
|
|
|
|
--bad: var(--red);
|
2021-04-11 17:03:01 +00:00
|
|
|
background: var(--good);
|
2021-04-10 14:02:36 +00:00
|
|
|
}
|
|
|
|
|
2021-06-05 11:11:00 +00:00
|
|
|
#previousQuestionAnswer { background: var(--green) }
|
|
|
|
|
2021-04-10 14:02:36 +00:00
|
|
|
#game .answer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game .answer .text {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game .answer .letter {
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 1em;
|
2021-05-04 19:29:17 +00:00
|
|
|
border: 0;
|
2021-04-10 14:02:36 +00:00
|
|
|
border-radius: 0.25em;
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#a {
|
2021-04-10 14:02:36 +00:00
|
|
|
background-color: var(--a-color);
|
|
|
|
border-color: var(--a-color);
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#b {
|
2021-04-10 14:02:36 +00:00
|
|
|
background-color: var(--b-color);
|
|
|
|
border-color: var(--b-color);
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#c {
|
2021-04-10 14:02:36 +00:00
|
|
|
background-color: var(--c-color);
|
|
|
|
border-color: var(--c-color);
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#d {
|
2021-04-10 14:02:36 +00:00
|
|
|
background-color: var(--d-color);
|
|
|
|
border-color: var(--d-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
span#questionCountry {
|
|
|
|
background-color: var(--question-country-color);
|
|
|
|
}
|
2021-04-11 14:04:52 +00:00
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#region_selector {
|
2021-04-11 14:04:52 +00:00
|
|
|
width: 100%;
|
|
|
|
background: var(--dark-bg);
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 1em;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#settings {
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:03:01 +00:00
|
|
|
#selector_results {
|
2021-04-11 14:04:52 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-04-11 17:03:01 +00:00
|
|
|
justify-content: center;
|
2021-04-11 14:04:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#settings .selector_result {
|
2021-04-11 17:03:01 +00:00
|
|
|
margin: 1em;
|
2021-04-11 14:04:52 +00:00
|
|
|
}
|