fix(контакты): тёмная версия картинки и системный шрифт страницы
На тёмной карточке белый прямоугольник выглядел заплаткой, а DejaVu не совпадал с системным шрифтом страницы. Теперь две картинки: светлая и тёмная цветом карточки (#211d17), обе набраны системным шрифтом — тем же, что страница берёт после Inter. Переключение по data-theme в стилях каждой страницы; тёмная версия без alt. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+8
-1
@@ -75,6 +75,12 @@ button { font-family: inherit; }
|
||||
.landing-hero h1 { font-size: 1.35rem; }
|
||||
}
|
||||
#login-form, #reset-form { background: var(--bg-card); padding: 2.5rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 340px; }
|
||||
/* Контакты: две картинки под темы. На тёмной карточке белый прямоугольник выглядел
|
||||
заплаткой (сказал Хозяин 18.11), поэтому тёмная версия нарисована цветом карточки. */
|
||||
.contacts-img { display: block; max-width: min(100%, 320px); height: auto; margin: .8rem auto .2rem; }
|
||||
.contacts-img.contacts-dark { display: none; }
|
||||
:root[data-theme="dark"] .contacts-img { display: none; }
|
||||
:root[data-theme="dark"] .contacts-img.contacts-dark { display: block; }
|
||||
.landing-login #login-form, .landing-login #reset-form { width: 100%; }
|
||||
#login-form h2, #reset-form h2 { margin-bottom: .3rem; text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--text); }
|
||||
#login-form .subtitle, #reset-form .subtitle { text-align: center; color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; display: block; }
|
||||
@@ -425,7 +431,8 @@ html { color-scheme: light; }
|
||||
<p class="register-link"><a href="#" id="forgot-link" onclick="return openReset(event)">Забыли пароль?</a></p>
|
||||
<p class="tg-line">Новости сервиса — в телеграме:
|
||||
<a id="tg-channel-login" class="tg-channel" href="https://t.me/infosmeta_ru" target="_blank" rel="noopener noreferrer">@infosmeta_ru</a></p>
|
||||
<img src="/static/contacts.png" alt="Связаться с исполнителем: телефон и электронная почта" width="496" height="102" style="display:block;max-width:100%;height:auto;margin:.8rem auto .2rem">
|
||||
<img class="contacts-img" src="/static/contacts.png" alt="Связаться с исполнителем: телефон и электронная почта" width="360" height="84">
|
||||
<img class="contacts-img contacts-dark" src="/static/contacts-dark.png" alt="" width="360" height="84">
|
||||
<p style="text-align:center;font-size:.66rem;color:var(--text-muted);opacity:.7;margin-top:.2rem;line-height:1.4">Самозанятый Казин Юрий Владимирович · ИНН 272404581280 · г. Хабаровск ·
|
||||
<a href="/static/privacy.html" target="_blank" rel="noopener">политика обработки данных</a> ·
|
||||
<a href="/static/terms.html" target="_blank" rel="noopener">условия и возврат</a> ·
|
||||
|
||||
Reference in New Issue
Block a user