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:
+87
-74
@@ -1,74 +1,87 @@
|
||||
/* Горизонтальное меню в футере */
|
||||
.footer-nav-links {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.footer-nav-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 0.75rem 1rem;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 400;
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.footer-nav-link:hover {
|
||||
color: #18bfef;
|
||||
background: rgba(24, 191, 239, 0.1);
|
||||
transform: translateY(-3px);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer-nav-link .icon {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 0.4rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.footer-nav-link:hover .icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.footer-nav-link span {
|
||||
color: #ffffff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Адаптивность для мобильных */
|
||||
@media (max-width: 768px) {
|
||||
.footer-nav-links {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.footer-nav-link {
|
||||
padding: 0.6rem 0.8rem;
|
||||
font-size: 0.8rem;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
.footer-nav-link .icon {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Стиль для заголовка секции */
|
||||
#footer h3 {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
}
|
||||
/* Меняем светлый фон футера (#f5f5f5) на тёмный под стиль сайта */
|
||||
#footer {
|
||||
background: rgba(0, 0, 0, 0.3) !important;
|
||||
backdrop-filter: blur(10px) !important;
|
||||
-webkit-backdrop-filter: blur(10px) !important;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 20px 20px 0 0 !important;
|
||||
}
|
||||
|
||||
/* Скрываем футер везде — навигация есть в #nav и мобильной панели */
|
||||
#footer {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Текст и заголовки в футере на тёмном фоне */
|
||||
#footer h3,
|
||||
#footer p,
|
||||
#footer a:not(.footer-nav-link) {
|
||||
color: rgba(255, 255, 255, 0.5) !important;
|
||||
border-bottom-color: transparent !important;
|
||||
}
|
||||
|
||||
#footer a:not(.footer-nav-link):hover {
|
||||
color: rgba(255, 255, 255, 0.85) !important;
|
||||
}
|
||||
|
||||
/* Footer nav — icon left + text, единый стиль с #nav */
|
||||
|
||||
#footer .footer-nav-links {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
#footer .footer-nav-link {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0 1.3rem;
|
||||
height: 3.5rem;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
text-decoration: none;
|
||||
border-bottom: none;
|
||||
font-family: 'Source Sans Pro', Helvetica, sans-serif;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
transition: color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
#footer .footer-nav-link:hover {
|
||||
color: #ffffff;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-bottom: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#footer .footer-nav-link .icon {
|
||||
font-size: 0.9rem;
|
||||
color: inherit;
|
||||
opacity: 0.7;
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
#footer .footer-nav-link:hover .icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#footer .footer-nav-link span {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Мобильные: скрываем footer nav — есть боковое меню */
|
||||
@media (max-width: 736px) {
|
||||
#footer .footer-nav-links {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user