2016-11-22 00:22:00 +00:00
|
|
|
body {
|
2016-11-22 01:59:30 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-14 02:08:54 +00:00
|
|
|
body, input {
|
2017-12-25 20:29:51 +00:00
|
|
|
font-family: Amaranth, sans-serif;
|
2016-12-14 02:08:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#proceed svg {
|
|
|
|
display: inline-block;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
2016-12-15 22:50:32 +00:00
|
|
|
#proceed button {
|
|
|
|
border: none;
|
|
|
|
padding: 12px;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2016-11-22 01:59:30 +00:00
|
|
|
.questionOuter {
|
2016-12-14 02:08:54 +00:00
|
|
|
background: #a0c0a0;
|
2016-11-22 01:59:30 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#question {
|
|
|
|
padding-top: 40px;
|
|
|
|
font-size: 40px;
|
2016-11-26 16:45:32 +00:00
|
|
|
text-shadow: 2px 2px 4px #808080;
|
2016-11-22 01:59:30 +00:00
|
|
|
padding-bottom: 40px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
2017-12-25 16:48:32 +00:00
|
|
|
#explanation {
|
|
|
|
width: 960px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2016-11-22 01:59:30 +00:00
|
|
|
#input {
|
|
|
|
background: #eee;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#answer {
|
|
|
|
width: 100%;
|
2016-12-14 02:08:54 +00:00
|
|
|
height: 34px;
|
2016-11-22 01:59:30 +00:00
|
|
|
background: #eee;
|
|
|
|
border: 0;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 30px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#response {
|
|
|
|
width: 100%;
|
2016-12-14 02:08:54 +00:00
|
|
|
font-size: 30px;
|
|
|
|
height: 34px;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
2016-11-22 01:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#message {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#message > div {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.correct,
|
|
|
|
.incorrect {
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
font-size: 30px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.correct {
|
|
|
|
background: #8f8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.incorrect {
|
|
|
|
background: #f88;
|
2016-11-22 00:22:00 +00:00
|
|
|
}
|
2016-12-10 01:08:41 +00:00
|
|
|
|
|
|
|
div#history,
|
|
|
|
div#explanation {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.syllabary {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.syllabary td {
|
|
|
|
padding: 12px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: gray;
|
|
|
|
border: 1px solid gray;
|
|
|
|
text-align: center;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.syllabary td div:first-child {
|
|
|
|
color: black;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.syllabary td.empty {
|
|
|
|
background: #eee;
|
|
|
|
}
|
|
|
|
|
2017-12-25 16:48:32 +00:00
|
|
|
table.word td {
|
|
|
|
font-size: 36px;
|
|
|
|
color: black;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.word td div:first-child {
|
|
|
|
margin: 0;
|
|
|
|
color: #aaa;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart span.change,
|
|
|
|
table.word span.change {
|
|
|
|
color: #f06060;
|
|
|
|
}
|
|
|
|
|
2016-12-10 01:08:41 +00:00
|
|
|
.answer-correct {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.answer-wrong {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#history table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#history table th,
|
|
|
|
div#history table td {
|
|
|
|
padding: 8px;
|
|
|
|
border: 1px solid gray;
|
|
|
|
}:
|
|
|
|
|
|
|
|
div#history table th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2016-12-25 15:30:53 +00:00
|
|
|
div.options > * {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#splash > * {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
2017-03-19 00:16:23 +00:00
|
|
|
margin-bottom: 12px;
|
2016-12-25 15:30:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input#numQuestions {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
|
2016-12-25 15:51:49 +00:00
|
|
|
div.options ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
|
2016-12-10 01:08:41 +00:00
|
|
|
/* Tooltip from http://jsfiddle.net/AndreaLigios/jtLbpy62/ */
|
|
|
|
|
|
|
|
[tooltip]:before {
|
|
|
|
/* needed - do not touch */
|
|
|
|
content: attr(tooltip);
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
/* customizable */
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
color: #333;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
[tooltip]:hover:before {
|
|
|
|
/* needed - do not touch */
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
/* customizable */
|
2017-12-26 17:34:46 +00:00
|
|
|
margin-top: -12px;
|
2016-12-10 01:08:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[tooltip]:not([tooltip-persistent]):before {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2017-12-25 16:48:32 +00:00
|
|
|
|
2017-12-26 17:34:46 +00:00
|
|
|
/* Custom positions for furigana */
|
|
|
|
|
|
|
|
.tooltip-w1[tooltip]:before { font-size: 8px; margin-left: 4px; }
|
|
|
|
.tooltip-w2[tooltip]:before { font-size: 8px; margin-left: 0px; }
|
|
|
|
.tooltip-w3[tooltip]:before { font-size: 8px; margin-left: -4px; }
|
|
|
|
|
|
|
|
.tooltip-w1[tooltip]:hover:before,
|
|
|
|
.tooltip-w2[tooltip]:hover:before,
|
|
|
|
.tooltip-w3[tooltip]:hover:before { margin-top: -10px; }
|
|
|
|
|
|
|
|
#question .tooltip-w1[tooltip]:before { font-size: 12px; margin-left: 14px; }
|
|
|
|
#question .tooltip-w2[tooltip]:before { font-size: 12px; margin-left: 8px; }
|
|
|
|
#question .tooltip-w3[tooltip]:before { font-size: 12px; margin-left: 2px; }
|
|
|
|
|
|
|
|
#question .tooltip-w1[tooltip]:hover:before,
|
|
|
|
#question .tooltip-w2[tooltip]:hover:before,
|
|
|
|
#question .tooltip-w3[tooltip]:hover:before { margin-top: -12px; }
|
|
|
|
|
2017-12-25 16:48:32 +00:00
|
|
|
div#explanation p span {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-transform {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-transform > * {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.transform-arrow {
|
|
|
|
font-size: 32px;
|
|
|
|
color: #888;
|
|
|
|
margin: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
div.conjugation-chart {
|
|
|
|
border: 2px solid gray;
|
|
|
|
border-radius: 32px;
|
|
|
|
padding: 24px;
|
|
|
|
background: #fff8f0;
|
|
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.conjugation-chart h2 {
|
|
|
|
font-size: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.conjugation-chart > * {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart + table.chart {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart td {
|
|
|
|
border: 1px solid gray;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
background: white;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart td.break {
|
|
|
|
height: 1em;
|
|
|
|
border: 0;
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart th {
|
|
|
|
border: 1px solid gray;
|
|
|
|
background: gray;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.chart td.title {
|
|
|
|
border: 0;
|
|
|
|
background: inherit;
|
|
|
|
font-size: 22px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.horiz > * {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rules table.word td {
|
|
|
|
font-size: 24px;
|
|
|
|
color: black;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rules table.word td div:first-child {
|
|
|
|
margin: 0;
|
|
|
|
color: #aaa;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rules table.chart span.change {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rules table.word span.change {
|
|
|
|
color: #f06060;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rules .transform-arrow {
|
|
|
|
font-size: 16px;
|
|
|
|
color: #888;
|
|
|
|
margin: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.brace {
|
|
|
|
fill: none;
|
|
|
|
fill-rule: evenodd;
|
|
|
|
stroke: #ccc;
|
|
|
|
stroke-width: 0.5px;
|
|
|
|
stroke-linecap: butt;
|
|
|
|
stroke-linejoin: miter;
|
|
|
|
stroke-opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
margin-left: 16px;
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: orange;
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options li {
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.specials {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.explain-answer-as-list li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.explain-answer-as-list {
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
2017-12-25 20:29:51 +00:00
|
|
|
|
|
|
|
.centre {
|
|
|
|
display: table;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|