From 1f1acbe4c9dd353a37a193d9b0a7d09ff5fe2f9d Mon Sep 17 00:00:00 2001 From: Riya Chauhan <96919050+Riyachauhan11@users.noreply.github.com> Date: Sun, 10 Nov 2024 18:15:42 +0530 Subject: [PATCH] quizes styling updated --- assets/html/biographyq.html | 370 +++++++++++++++-------- assets/html/classicq.html | 585 +++++++++++++++++++++--------------- assets/html/fantasyq.html | 347 +++++++++++++-------- assets/html/historyq.html | 354 ++++++++++++++-------- assets/html/horrorq.html | 344 +++++++++++++-------- assets/html/romanceq.html | 355 ++++++++++++++-------- assets/html/scienceq.html | 350 +++++++++++++-------- assets/html/selfq.html | 360 ++++++++++++++-------- assets/html/suspenseq.html | 345 +++++++++++++-------- 9 files changed, 2164 insertions(+), 1246 deletions(-) diff --git a/assets/html/biographyq.html b/assets/html/biographyq.html index e9345bcd..2a0b61b4 100644 --- a/assets/html/biographyq.html +++ b/assets/html/biographyq.html @@ -1,191 +1,305 @@ - - - + + + Biography Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Biography Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Biography Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/classicq.html b/assets/html/classicq.html index e062b85d..c7c674af 100644 --- a/assets/html/classicq.html +++ b/assets/html/classicq.html @@ -1,298 +1,401 @@ - - - + + + Classic Literature Quiz + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - .option { - margin: 5px 0; - } - - .solution { - margin-top: 10px; - text-align: left; - } - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-

Classic Literature Quiz

-
+
+

Classic Literature Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/fantasyq.html b/assets/html/fantasyq.html index 86a3d0be..d957ac90 100644 --- a/assets/html/fantasyq.html +++ b/assets/html/fantasyq.html @@ -1,186 +1,283 @@ - - - + + + Fantasy Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Fantasy Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Fantasy Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/historyq.html b/assets/html/historyq.html index 3f8f6fcb..ba9abb95 100644 --- a/assets/html/historyq.html +++ b/assets/html/historyq.html @@ -1,187 +1,289 @@ - - - + + + Historical Fiction Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Historical Fiction Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Historical Fiction Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/horrorq.html b/assets/html/horrorq.html index 825515d0..da51b17f 100644 --- a/assets/html/horrorq.html +++ b/assets/html/horrorq.html @@ -1,187 +1,279 @@ - - - + + + Horror Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Horror Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Horror Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/romanceq.html b/assets/html/romanceq.html index a5672681..8b1526d3 100644 --- a/assets/html/romanceq.html +++ b/assets/html/romanceq.html @@ -1,186 +1,291 @@ - - - + + + Romance Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Romance Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Romance Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/scienceq.html b/assets/html/scienceq.html index a31e5015..9b8dc0be 100644 --- a/assets/html/scienceq.html +++ b/assets/html/scienceq.html @@ -1,186 +1,286 @@ - - - + + + Science Fiction Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Science Fiction Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Science Fiction Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/selfq.html b/assets/html/selfq.html index 2fe61e96..4b91f650 100644 --- a/assets/html/selfq.html +++ b/assets/html/selfq.html @@ -1,186 +1,296 @@ - - - + + + Self-Help Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Self-Help Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Self-Help Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + + diff --git a/assets/html/suspenseq.html b/assets/html/suspenseq.html index 33a84d5a..0449199e 100644 --- a/assets/html/suspenseq.html +++ b/assets/html/suspenseq.html @@ -1,186 +1,281 @@ - - - + + + Suspense Thriller Books Quiz - - + /* Option Button Styling */ + .option { + margin: 8px 0; + background-color: #f9f9fb; + border: 2px solid #dedfe2; + color: #333; + border-radius: 6px; + padding: 12px; + cursor: pointer; + font-size: 1rem; + transition: background-color 0.3s, color 0.3s, border-color 0.3s; + text-align: left; + font-weight: 700; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + } -
-

Suspense Thriller Books Quiz

-
+ .option:hover { + background-color: #f2e9e4; + color: #8e0013; + border-color: #8e0013; + font-weight: 600; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.1); + } + + .option:active { + background-color: #f7d8e1; + color: #8e0013; + border-color: #8e0013; + } + + /* Solution Display Styling */ + .solution { + margin-top: 15px; + text-align: left; + font-size: 0.9rem; + color: #5a5a5a; + border-top: 1px solid #ddd; + padding-top: 10px; + font-weight: 500; + } + + /* Result Display Styling */ + #quiz-result { + font-size: 1.2rem; + font-weight: 700; + color: #8e0013; + margin-top: 20px; + padding: 10px; + border-radius: 8px; + background-color: #fbe3e7; + box-shadow: 0 4px 12px rgba(142, 0, 19, 0.2); + } + + + +
+

Suspense Thriller Books Quiz

+
+
+ + + +
- - - - -
- - + } - + document.addEventListener("DOMContentLoaded", loadQuestion); + +