From ba979363ee393d9915a10e637d04c7c360a30dec Mon Sep 17 00:00:00 2001 From: mgeld Date: Mon, 13 Jul 2026 02:38:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=B0=D1=80=D0=BA=D0=B0=D1=81=20=D0=B2?= =?UTF-8?q?=D0=B8=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D1=8B:=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D1=82=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=8D=D0=BA?= =?UTF-8?q?=D1=80=D0=B0=D0=BD,=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8,=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BC=D0=B5=D1=82=D0=BA=D0=B0=20=D1=82=D1=80=D1=91?= =?UTF-8?q?=D1=85=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++ index.html | 34 ++++++++++++++++++++++++ style.css | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 README.md create mode 100644 index.html create mode 100644 style.css diff --git a/README.md b/README.md new file mode 100644 index 0000000..739fc25 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Викторина + +Небольшая браузерная викторина: 10 вопросов, четыре варианта ответа, счёт в конце. + +Запуск: открыть `index.html` в браузере. + +Проверка данных вопросов: `python check_questions.py` diff --git a/index.html b/index.html new file mode 100644 index 0000000..3a9f71d --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ + + + + + + Викторина + + + +
+

Викторина

+ +
+

Десять вопросов, четыре варианта ответа. Таймера нет — думайте спокойно.

+ +
+ + + + +
+ + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..6b8e816 --- /dev/null +++ b/style.css @@ -0,0 +1,78 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: "Segoe UI", Arial, sans-serif; + background: #f4f5f7; + color: #222; + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; +} + +.wrap { + width: 100%; + max-width: 560px; + background: #fff; + border-radius: 12px; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); + padding: 32px; + margin: 24px; +} + +h1 { + font-size: 24px; + margin-bottom: 16px; +} + +h2 { + font-size: 19px; + margin-bottom: 16px; + line-height: 1.4; +} + +p { + line-height: 1.5; + margin-bottom: 16px; +} + +button { + font-size: 16px; + padding: 10px 22px; + border: none; + border-radius: 8px; + background: #2f6fed; + color: #fff; + cursor: pointer; +} + +button:hover { + background: #2558c4; +} + +#progress { + font-size: 13px; + color: #888; + margin-bottom: 12px; +} + +#q-options button { + display: block; + width: 100%; + text-align: left; + margin-bottom: 10px; + background: #eef1f6; + color: #222; +} + +#q-options button:hover { + background: #dce3ef; +} + +.hidden { + display: none; +}