diff --git a/main.css b/main.css index c83732a..b9e8077 100644 --- a/main.css +++ b/main.css @@ -1,19 +1,64 @@ +.c-btn { + -webkit-appearance: none; + appearance: none; + display: inline-flex; + align-items: center; + justify-content: center; + width: 50%; + height: 50px; + padding: 0; + border: solid 1px; + outline: none; + font-size: 20px; + text-decoration: none; + background: silver; + cursor: pointer; +} +.p-quiz { + width: 600px; + margin: 50px auto; + text-align: center; +} +.p-ttl { + margin: 0 0 20px; +} +.p-quiz-ttl { + margin: 0 0 20px; + font-weight: normal; +} +.p-quiz-next { + width: 300px; + margin: auto; +} +.p-quiz-choices { + flex-wrap: wrap; + width: 200%; + margin: 0; + padding-left: 0; +} +.p-quiz-choices__item { + width: calc(50% - 10px); + list-style: none; + margin: 5px; +} #result { margin: 1em 0em; font-size: large; font-weight: bold; } - -.correct { - margin: 1em 0em; +.p-quiz-correct { color: red; + font-size: 30px; + font-weight: 500; } - -.incorrect { - margin: 1em 0em; +.p-quiz-incorrect { color: blue; + font-size: 30px; + font-weight: 500; } - +.p-quiz-commentary { + font-size: 20px; +} .none { display: none; } \ No newline at end of file diff --git a/quiz.html b/quiz.html index 27475d6..bb37ffa 100644 --- a/quiz.html +++ b/quiz.html @@ -4,18 +4,14 @@
問題文
- - - --