diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..1163199 Binary files /dev/null and b/.DS_Store differ diff --git a/pages/.DS_Store b/pages/.DS_Store new file mode 100644 index 0000000..9dac593 Binary files /dev/null and b/pages/.DS_Store differ diff --git a/pages/quiz.html b/pages/quiz.html index 1d25899..9f84b73 100644 --- a/pages/quiz.html +++ b/pages/quiz.html @@ -5,11 +5,26 @@ Wiki Fantasy : Quiz - + + -
+ +

▶ Quiz ◀

+ +
+

Question 1

+

“Tu es un sorcier Harry”

+ + +
+ + + + +
+ +
+ +
-

Wiki Fantasy

diff --git a/pages/quizz.html b/pages/quizz.html new file mode 100644 index 0000000..6955adc --- /dev/null +++ b/pages/quizz.html @@ -0,0 +1,211 @@ + + + + + + + + Wiki Fantasy : Quizz + + + + + + + +
+
+ + +
+ user +
+
+
+ + +

▶ Quizz ◀

+ +
+

Question 1

+

“Tu es un sorcier Harry”

+ + +
+ + + + +
+ +
+ +
+
+ + + + + diff --git a/styles/styleQuiz.css b/styles/styleQuiz.css new file mode 100644 index 0000000..a457836 --- /dev/null +++ b/styles/styleQuiz.css @@ -0,0 +1,154 @@ +@import url(./style.css); + +@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap'); + +body, html { + height: 100%; + overflow: hidden; +} + +/* ====== DARK MODE ====== */ +body.dark-mode h1, body.dark-mode h2, body.dark-mode p { + color: white; + font-family: "Lemon", serif; + text-align: center; +} + +body.dark-mode .quiz { + background-color: black; + height: 60%; + width: 80%; + margin: 3% auto; + padding: 2%; + border-radius: 25px; + border: 2px solid transparent; +} + +body.dark-mode .answers { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + + row-gap: 80px; +} + +body.dark-mode .answer { + background-color: #1b0048; + color: white; + border: none; + border-radius: 25px; + width: 35%; + padding: 35px; + font-size: 30px; + text-align: center; + cursor: pointer; +} + +body.dark-mode .answer:hover { + background-color: #6100ff; +} + +body.dark-mode .submit-button { + text-align: center; + margin-top: 80px; + +} + +body.dark-mode .buttonSudmite { + background: linear-gradient(90deg, #6100ff 0%, #1b0048 100%); + font-family: "Lemon", serif; + border: none; + color: white; + padding: 10px 20px; + border-radius: 25px; + font-size: 30px; + cursor: pointer; +} + +/* ====== LIGHT MODE ====== */ +body.light-mode h1, body.light-mode h2, body.light-mode p { + color: black; + font-family: "Lemon", serif; + text-align: center; +} + +body.light-mode .quiz { + background-color: white; + width: 50%; + height: 90%; + margin: 3% auto; + padding: 2%; + border-radius: 25px; + border: 2px solid black; +} + +body.light-mode .answers { + display: flex; + flex-wrap: wrap; + justify-content: space-around; + gap: 1000px; + height: 90%; +} + +body.light-mode .answer { + background-color: #fff1f1; + color: black; + border: 1px solid black; + border-radius: 25px; + width: 45%; + padding: 10px; + font-size: 18px; + text-align: center; + cursor: pointer; +} + +body.light-mode .answer:hover { + background-color: #c7f6c4; +} + +body.light-mode .submit-button { + text-align: center; + margin-top: 20px; +} + +body.light-mode .buttonSudmite { + background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%); + font-family: "Lemon", serif; + border: none; + color: black; + padding: 10px 20px; + border-radius: 25px; + font-size: 20px; + cursor: pointer; +} + +/* ====== OTHER ====== */ +.container { + width: 100%; + height: 100px; + background-color: transparent; + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 50px; +} + +.header { + display: flex; + width: 100%; + justify-content: space-between; + align-items: center; +} + +.nav img { + margin-right: 10px; +} + +.logo img { + display: block; + margin: 0 auto; +} + +.user img { + margin-left: 10px; +} \ No newline at end of file