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
+52 -2
View File
@@ -10,14 +10,64 @@
}
}
/* Уменьшение размера заголовков на страницах */
/* Заголовок страницы — убираем UPPERCASE, нормальный регистр */
.post header.major h1 {
font-size: 2.5rem !important;
line-height: 1.2 !important;
text-transform: none !important;
letter-spacing: 0.01em !important;
font-weight: 900 !important;
color: #1a252f !important;
margin-bottom: 1rem !important;
}
/* Описание под заголовком — читаемое, не тонкое */
.post header.major p {
font-size: 1rem !important;
font-weight: 400 !important;
line-height: 1.65 !important;
color: #555c63 !important;
font-family: 'Source Sans Pro', Helvetica, sans-serif !important;
text-align: left !important;
}
/* Выравнивание заголовка влево */
.post header.major {
text-align: left !important;
}
@media (max-width: 736px) {
.post header.major h1 {
font-size: 2rem !important;
font-size: 1.9rem !important;
}
}
/* Скруглённые углы — изображения в карточках постов */
a.image.main img,
a.image.fit img {
border-radius: 10px;
overflow: hidden;
}
a.image.main,
a.image.fit {
border-radius: 10px;
overflow: hidden;
display: block;
}
/* Скруглённые углы — белая подложка #main */
#main {
border-radius: 20px;
overflow: hidden;
margin-top: 1rem;
margin-bottom: 1.5rem;
}
@media (max-width: 736px) {
#main {
border-radius: 14px;
margin-top: 0.75rem;
margin-bottom: 1rem;
}
}