Files
kana-test/style.css
T
2021-10-14 15:06:15 +02:00

96 lines
1.3 KiB
CSS

/* noto-sans-regular - latin */
@import url('https://fonts.googleapis.com/css?family=Noto%20Sans&display=swap');
* {
box-sizing: border-box;
font-family: 'Noto Sans', Verdana, serif;
color: #424242;
}
html,
body {
margin: 0;
padding: 0;
height: 100vh;
max-width: 100%;
}
body {
background-color: #f5f5f5;
}
main {
padding: 1.5rem;
margin: auto;
background-color: #eeeeee;
min-height: 100%;
}
h1 {
margin-bottom: 0.5em;
}
table {
border-collapse: collapse;
width: 100%;
font-size: 0.9em;
}
@media only screen and (min-width: 768px) {
main {
max-width: 42rem;
}
table {
font-size: inherit;
}
}
#score {
text-align: center;
}
#question {
text-align: center;
font-size: 4em;
}
#question > span {
line-height: 1.5em;
}
#answers {
text-align: center;
}
.answer {
font-size: 1.5em;
width: 3.5em;
height: 2em;
text-align: center;
padding: 0;
margin: 0.2em;
border: 1px solid #424242;
border-radius: .1em;
display:inline-block;
line-height: 2em;
cursor: pointer;
background-color: #FAFAFA;
color: #424242;
}
.answer:hover {
background-color: #E0E0E0;
color: #424242;
}
.answer:active {
background-color: #757575;
color: #eeeeee;
}
.disabled {
background-color: #f44336;
color: #eeeeee;
cursor: default;
}