2021-01-02 20:06:57 +00:00
|
|
|
:root {
|
|
|
|
--primary-colour: #0060c0;
|
|
|
|
}
|
|
|
|
|
2016-12-14 02:08:54 +00:00
|
|
|
body, input {
|
2017-12-25 20:29:51 +00:00
|
|
|
font-family: Amaranth, sans-serif;
|
2020-07-22 18:00:42 +00:00
|
|
|
background: #eee;
|
|
|
|
|
|
|
|
--other: #4A2067;
|
|
|
|
--neutral-dark: #441f00;
|
|
|
|
--incorrect: #992a2a;
|
|
|
|
--correct: #217b21;
|
|
|
|
--neutral: #995c2a;
|
|
|
|
--question-furigana: white;
|
|
|
|
--input-background: white;
|
|
|
|
--input-shadow: #888;
|
|
|
|
--input-color: white;
|
2020-07-23 12:11:28 +00:00
|
|
|
--shake-level: 6px;
|
2016-12-14 02:08:54 +00:00
|
|
|
}
|
|
|
|
|
2016-11-22 01:59:30 +00:00
|
|
|
.questionOuter {
|
2020-07-22 18:00:42 +00:00
|
|
|
background: var(--other);
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#question {
|
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
2021-10-09 19:52:48 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
margin-left: 8px;
|
2020-10-24 19:53:35 +00:00
|
|
|
font-size: 16px;
|
2020-07-23 12:11:28 +00:00
|
|
|
text-shadow: 2px 2px 4px var(--neutral-dark);
|
2021-10-09 19:52:48 +00:00
|
|
|
text-align: center;
|
2020-07-23 12:11:28 +00:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2021-10-09 19:52:48 +00:00
|
|
|
#questionFirstHalf {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2020-07-23 12:11:28 +00:00
|
|
|
#questionFirstHalf,
|
|
|
|
#questionSecondHalf {
|
2016-11-22 01:59:30 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
2020-07-23 12:11:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#answer {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive text size */
|
|
|
|
|
2020-08-07 01:05:59 +00:00
|
|
|
@media (max-width: 575px) {
|
|
|
|
.navbar-brand {
|
|
|
|
font-size: 1.15rem;
|
|
|
|
}
|
|
|
|
}
|
2021-10-09 19:52:48 +00:00
|
|
|
/* Small devices (landscape phones, below 576px) */
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
#question {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
2020-07-23 12:11:28 +00:00
|
|
|
|
2021-10-09 19:52:48 +00:00
|
|
|
#answer, .correct, .incorrect {
|
|
|
|
font-size: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
font-size: 28px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
}
|
2020-07-23 12:11:28 +00:00
|
|
|
/* Small devices (landscape phones, 576px and up) */
|
|
|
|
@media (min-width: 576px) {
|
2020-08-07 01:05:59 +00:00
|
|
|
|
2020-07-23 12:11:28 +00:00
|
|
|
#question {
|
2021-10-09 19:52:48 +00:00
|
|
|
font-size: 32px;
|
2020-07-23 12:11:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#answer, .correct, .incorrect {
|
2021-10-09 19:52:48 +00:00
|
|
|
font-size: 32px;
|
2020-07-23 12:11:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
2021-10-09 19:52:48 +00:00
|
|
|
font-size: 32px;
|
|
|
|
line-height: 32px;
|
2020-07-23 12:11:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Medium devices (tablets, 768px and up) */
|
|
|
|
@media (min-width: 768px) {
|
2020-08-07 01:05:59 +00:00
|
|
|
|
2020-07-23 12:11:28 +00:00
|
|
|
#question {
|
2020-10-24 19:53:35 +00:00
|
|
|
font-size: 32px;
|
2020-07-23 12:11:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#answer, .correct, .incorrect {
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Large devices (desktops, 992px and up) */
|
|
|
|
@media (min-width: 992px) {
|
2020-08-07 01:05:59 +00:00
|
|
|
|
2020-07-23 12:11:28 +00:00
|
|
|
#question {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#answer, .correct, .incorrect {
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Extra large devices (large desktops, 1200px and up) */
|
|
|
|
@media (min-width: 1200px) {
|
2020-08-07 01:05:59 +00:00
|
|
|
|
2020-07-23 12:11:28 +00:00
|
|
|
#question {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#answer, .correct, .incorrect {
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
2020-07-22 18:00:42 +00:00
|
|
|
#inputArea {
|
|
|
|
background: var(--input-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
#inputArea, .correct, .incorrect {
|
|
|
|
box-shadow: 2px 2px 4px 0px var(--input-shadow);
|
|
|
|
width: calc(100vw - 32px);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: 16px;
|
|
|
|
margin-bottom: 16px;
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#answer {
|
2020-07-22 18:00:42 +00:00
|
|
|
background: var(--input-background);
|
2016-11-22 01:59:30 +00:00
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-07-22 18:00:42 +00:00
|
|
|
#answer, .correct, .incorrect {
|
|
|
|
height: 54px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#answer:focus {
|
|
|
|
outline-width: 0;
|
2021-10-08 18:15:02 +00:00
|
|
|
outline: none;
|
2020-07-22 18:00:42 +00:00
|
|
|
}
|
|
|
|
|
2016-11-22 01:59:30 +00:00
|
|
|
.correct,
|
|
|
|
.incorrect {
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
text-align: center;
|
2020-07-22 18:00:42 +00:00
|
|
|
color: var(--input-color);
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.correct {
|
2020-07-23 12:11:28 +00:00
|
|
|
background-color: var(--correct);
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.incorrect {
|
2020-07-23 12:11:28 +00:00
|
|
|
background-color: var(--incorrect);
|
|
|
|
}
|
|
|
|
|
|
|
|
#responseButton {
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
box-shadow: 2px 2px 4px 0px var(--input-shadow);
|
|
|
|
width: calc(100vw - 32px);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
color: var(--input-color);
|
2016-11-22 00:22:00 +00:00
|
|
|
}
|
2016-12-10 01:08:41 +00:00
|
|
|
|
|
|
|
.answer-correct {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.answer-wrong {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
2016-12-25 15:30:53 +00:00
|
|
|
input#numQuestions {
|
2021-10-08 18:13:33 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
select#questionFocus {
|
|
|
|
width: 100%;
|
2016-12-25 15:30:53 +00:00
|
|
|
}
|
|
|
|
|
2016-12-25 15:51:49 +00:00
|
|
|
div.options ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
|
2017-12-25 16:48:32 +00:00
|
|
|
.tag {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: orange;
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
2020-07-22 18:00:42 +00:00
|
|
|
|
2017-12-25 16:48:32 +00:00
|
|
|
.specials {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2020-07-22 18:00:42 +00:00
|
|
|
h2, h4 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 420px) {
|
|
|
|
|
|
|
|
#splash h2 {
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin-bottom: 1.0em
|
|
|
|
}
|
|
|
|
}
|
2020-07-23 12:11:28 +00:00
|
|
|
|
|
|
|
@keyframes shake {
|
|
|
|
0% { transform: translate(0px, 0px); }
|
|
|
|
12.5% { transform: translate(calc(0px - var(--shake-level)), 0px); }
|
|
|
|
25% { transform: translate(var(--shake-level), 0px); }
|
|
|
|
37.5% { transform: translate(calc(0px - var(--shake-level)), 0px); }
|
|
|
|
50% { transform: translate(var(--shake-level), 0px); }
|
|
|
|
62.5% { transform: translate(calc(0px - var(--shake-level)), 0px); }
|
|
|
|
75% { transform: translate(var(--shake-level), 0px); }
|
|
|
|
87.5% { transform: translate(calc(0px - var(--shake-level)), 0px); }
|
|
|
|
100% { transform: translate(0px, 0px); }
|
|
|
|
}
|
|
|
|
|
2020-08-07 01:05:59 +00:00
|
|
|
.shake {
|
2020-07-23 12:11:28 +00:00
|
|
|
animation: shake 0.75s;
|
|
|
|
animation-iteration-count: 1;
|
2020-08-07 01:05:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dl.questionOptions {
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl.questionOptions > div {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl.questionOptions dt {
|
|
|
|
font-weight: 400;
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl.questionOptions dd {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
2020-10-24 19:53:35 +00:00
|
|
|
|
|
|
|
#quizSection span.emphasis {
|
|
|
|
color: #c0c0ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#quizSection span.first,
|
|
|
|
#scoreSection span.first {
|
|
|
|
text-transform: capitalize;
|
2020-10-30 17:07:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ruby.furiganaHover rt, ruby.furiganaHover rp {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
ruby.furiganaHover:hover rt, ruby.furiganaHover:hover rp {
|
|
|
|
opacity: 100;
|
2020-10-31 17:30:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div#history {
|
|
|
|
height: calc(100vh - 11em);
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2021-01-02 20:06:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a, a:hover, a:visited, .breadcrumb-item.active {
|
|
|
|
color: var(--primary-colour);
|
|
|
|
}
|
|
|
|
|
|
|
|
button.btn.btn-primary {
|
|
|
|
background-color: var(--primary-colour);
|
|
|
|
border-color: var(--primary-colour);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.focus, .btn:focus {
|
|
|
|
box-shadow: 0 0 0 .2rem #0060c080;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary.focus, .btn-primary:focus {
|
|
|
|
box-shadow: 0 0 0 .2rem #0060c080;
|
|
|
|
}
|
2021-02-16 13:49:44 +00:00
|
|
|
|
|
|
|
#voiceSelectError {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2021-02-16 14:38:00 +00:00
|
|
|
#politePlainError {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2021-02-16 13:49:44 +00:00
|
|
|
div.halfSpeed {
|
|
|
|
font-size: 50%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-09-30 18:26:37 +00:00
|
|
|
|
|
|
|
.progressContainer {
|
|
|
|
width: 100vw;
|
|
|
|
height: 5px;
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressBar {
|
|
|
|
height: 5px;
|
|
|
|
background: white;
|
|
|
|
}
|