Willkommen zum WIAI-Weihnachtsquiz!
+ +WIAI-Weihnachtsquiz
+Score: {{score}} Punkte
+WIAI-Weihnachtsquiz
+Wir sind fertig.
+Score: {{score}} Punkte
+diff --git a/.gitignore b/.gitignore index 144585f..5806b44 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,5 @@ typings/ # FuseBox cache .fusebox/ +# Sass +css/.sass-cache \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..cacc192 --- /dev/null +++ b/css/style.css @@ -0,0 +1,67 @@ +body { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + font-family: Roboto; } + body .screen { + width: 800px; + min-height: 60vh; + background-color: #efefef; } + body .start-screen { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; } + body .start-screen .btn-start { + padding: 0.25em; + border: 1px solid lightgray; + border-radius: 0; + width: 25%; } + body .start-screen h1 { + margin-top: 0; } + body h1 { + font-family: "Kaushan Script"; + font-size: 200%; } + body h2 { + font-weight: regular; } + +.ingame-header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 2rem; + background-color: black; + color: white; } + .ingame-header h1 { + margin: 0; + padding: 0; } + +.question { + padding: 2rem; } + .question.revealed .answer { + background-color: lightgray; } + .question.revealed .answer.chosen { + background-color: red; } + .question.revealed .answer.correct { + background-color: limegreen; } + .question.revealed .answer.correct.chosen { + background-color: green; + color: white; } + .question .question-answers .answer { + display: block; + padding: 0.5rem; + width: 100%; + margin-bottom: 2px; + border: 1px solid lightgray; + border-radius: 0; + text-align: left; } + .question .btn-continue { + display: block; + margin-top: 1rem; + width: 100%; + border-radius: 0; + border: 1px solid lightgray; + padding: 0.5rem; } + +/*# sourceMappingURL=style.css.map */ diff --git a/css/style.css.map b/css/style.css.map new file mode 100644 index 0000000..c9718da --- /dev/null +++ b/css/style.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAAA,IAAI;EACF,UAAU,EAAE,KAAK;EACjB,OAAO,EAAE,IAAI;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EAAE,CAAC;IAChB,MAAM,EAAE,mBAAmB;IAC3B,OAAO,EAAE,MAAK", +"sources": ["style.sass"], +"names": [], +"file": "style.css" +} \ No newline at end of file diff --git a/css/style.sass b/css/style.sass new file mode 100644 index 0000000..8101a98 --- /dev/null +++ b/css/style.sass @@ -0,0 +1,80 @@ +body + min-height: 100vh + display: flex + align-items: center + justify-content: center + font-family: Roboto + + .screen + width: 800px + min-height: 60vh + background-color: #efefef + + .start-screen + display: flex + align-items: center + justify-content: center + flex-direction: column + + .btn-start + padding: .25em + border: 1px solid lightgray + border-radius: 0 + width: 25% + + h1 + margin-top: 0 + + h1 + font-family: 'Kaushan Script' + font-size: 200% + + h2 + font-weight: regular + +.ingame-header + display: flex + justify-content: space-between + align-items: center + padding: 1rem 2rem + background-color: black + color: white + + h1 + margin: 0 + padding: 0 + +.question + padding: 2rem + + &.revealed + + .answer + background-color: lightgray + + &.chosen + background-color: red + + &.correct + background-color: limegreen + &.chosen + background-color: green + color: white + + .question-answers + .answer + display: block + padding: .5rem + width: 100% + margin-bottom: 2px + border: 1px solid lightgray + border-radius: 0 + text-align: left + + .btn-continue + display: block + margin-top: 1rem + width: 100% + border-radius: 0 + border: 1px solid lightgray + padding: .5rem diff --git a/index.html b/index.html new file mode 100644 index 0000000..8a47563 --- /dev/null +++ b/index.html @@ -0,0 +1,48 @@ + + +
+ + +Score: {{score}} Punkte
+Wir sind fertig.
+Score: {{score}} Punkte
+