From 533bd5b3d6c376dc33508f368c661695b58f1579 Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 3 Dec 2026 11:19:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=83=D0=B1=D0=BB=D0=B8=D1=87=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=BE=D0=BF=D1=80=D0=BE=D1=81:=20=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=81=D0=BC=D0=BE=D1=82=D1=80=20=D1=80=D0=B5=D0=B7=D1=83=D0=BB?= =?UTF-8?q?=D1=8C=D1=82=D0=B0=D1=82=D0=BE=D0=B2=20=D0=B8=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=B2=D1=91=D1=80=D1=81=D1=82=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - quiz-public.js/html: детальный разбор ответов после прохождения с отметками верно/неверно, баллами, правильными вариантами и текстом ответа; новые CSS-классы .qp-result-* и переменные --qp-* - index.html: имя и группа в одной строке (.fields-row), убран padding у .photo-card, перевод строки в конце файла --- public/index.html | 26 ++++++----- public/js/quiz-public.js | 99 ++++++++++++++++++++++++++++++++++------ public/quiz-public.html | 51 +++++++++++++++++---- 3 files changed, 143 insertions(+), 33 deletions(-) diff --git a/public/index.html b/public/index.html index 7b34df1..f1c5e07 100644 --- a/public/index.html +++ b/public/index.html @@ -18,7 +18,7 @@ h1{font-size:1.5rem;font-weight:600;margin-bottom:8px;letter-spacing:-.02em;text @media(max-width:760px){.form{grid-template-columns:1fr;max-width:480px}} .photo-col{display:flex;flex-direction:column;gap:16px} -.photo-card{border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:16px;align-items:center} +.photo-card{border-radius:var(--radius);padding:0px;display:flex;flex-direction:column;gap:16px;align-items:center} .photo-btns{display:flex;flex-direction:column;gap:12px;width:100%} .photo-btns button{width:100%;border-radius:var(--radius);padding:14px 16px;font-size:.95rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--card);color:var(--text);transition:border .15s,background .15s} .photo-btns button:hover{border-color:var(--accent)} @@ -52,6 +52,8 @@ h1{font-size:1.5rem;font-weight:600;margin-bottom:8px;letter-spacing:-.02em;text .remove-photo.show{display:block} .fields-col{display:flex;flex-direction:column;gap:20px} +.fields-row{display:grid;grid-template-columns:1fr 1fr;gap:20px} +@media(max-width:520px){.fields-row{grid-template-columns:1fr}} .field{display:flex;flex-direction:column;gap:6px} label{font-size:.8rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.04em} input,select,textarea{background:var(--card);border:1px solid var(--border);color:var(--text);border-radius:var(--radius);padding:14px 16px;font-size:.95rem;outline:none;transition:border .15s} @@ -159,16 +161,18 @@ nav a:hover{color:var(--text)}
-
- - -
+
+
+ + +
-
- - +
+ + +