UX overhaul: glassmorphism nav/footer, forms redesign, mobile fixes

Navigation:
- Nav bar pill shape (border-radius: 100px), dark glass style
- Icons added to all nav items (FA4 outline variants, fixed-width alignment)
- Footer hidden on all devices (nav panel covers mobile)
- Footer nav icons + text added before removal

Forms (ask.md, plan.md):
- Full glassmorphism redesign: rounded card, blur backdrop
- Input borders visible (#b8c4ce), focus ring, proper placeholder colors
- Select: self-contained CSS, no backdrop-filter conflict, arrow fixed
- Submit button: gradient with shadow
- File upload button: .file-btn class, fa-arrow-down icon
- form-note styled as info callout with left border + ⓘ icon
- Footnotes sup.fn: circular badge, baseline positioning (no line-height jump)
- Footnote ¹ on both consent checkboxes, accordion = full legal text
- Dark mode: opaque dark card (rgba 22,26,34,0.88), proper contrast
- Dark mode success/error messages adapted
- Double checkmark bug fixed (removed ::after overlay)
- Italic removed from privacy-details text

Layout:
- #main rounded corners (20px all sides) + margin for visibility
- Post card images rounded (border-radius: 10px)
- Page titles: uppercase removed, font-weight 900, left-aligned
- "Подробнее" button hidden on post cards
- iOS background-attachment: fixed bug fixed (scroll on mobile)
- Pagination mobile: counter restored, buttons above footer

Content:
- Page titles uncommented in front matter (gallery, map, ask, plan)
- Duplicate rawhtml title blocks removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kirik
2026-03-24 00:44:57 +01:00
parent e5fc0fa4e4
commit 3de138ff41
15 changed files with 964 additions and 541 deletions
@@ -11,7 +11,7 @@
</div>
<div class="field">
<label for="email">{{ i18n "CONTACT_FORM_FIELD_EMAIL" . }}</label>
<input type="text" name="email" id="email" />
<input type="email" name="email" id="email" />
</div>
<div class="field">
<label for="message">{{ i18n "CONTACT_FORM_FIELD_MESSAGE" . }}</label>
@@ -52,25 +52,25 @@
{{ end }}
{{ with .plan}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-calendar"></i>
<i class="icon fa-calendar-o"></i>
<span>Хочу поехать</span>
</a></li>
{{ end }}
{{ with .map}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-map"></i>
<i class="icon fa-map-o"></i>
<span>Маршруты</span>
</a></li>
{{ end }}
{{ with .ask}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-question"></i>
<i class="icon fa-question-circle-o"></i>
<span>Спросить</span>
</a></li>
{{ end }}
{{ with .gallery}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-image"></i>
<i class="icon fa-picture-o"></i>
<span>Галерея</span>
</a></li>
{{ end }}