From c6f909a04222c18f79eec0a3f875a37816719eda Mon Sep 17 00:00:00 2001 From: Kirik Date: Wed, 12 Nov 2025 20:56:04 +0100 Subject: [PATCH] Fix accessibility: Improve footer contrast and text visibility - Add explicit white color and bold weight to footer navigation spans - Increase seasonal info opacity from 50% to 85% for better contrast - Ensures footer text meets WCAG accessibility standards - Improves readability for users with low vision --- static/css/footer-nav.css | 5 +++++ .../hugo-theme-massively/layouts/partials/footer/index.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/static/css/footer-nav.css b/static/css/footer-nav.css index 851f3a7..ef4684c 100644 --- a/static/css/footer-nav.css +++ b/static/css/footer-nav.css @@ -42,6 +42,11 @@ opacity: 1; } +.footer-nav-link span { + color: #ffffff; + font-weight: 500; +} + /* Адаптивность для мобильных */ @media (max-width: 768px) { .footer-nav-links { diff --git a/themes/hugo-theme-massively/layouts/partials/footer/index.html b/themes/hugo-theme-massively/layouts/partials/footer/index.html index 805d1e0..191109b 100644 --- a/themes/hugo-theme-massively/layouts/partials/footer/index.html +++ b/themes/hugo-theme-massively/layouts/partials/footer/index.html @@ -80,7 +80,7 @@ -
+
{{ partial "current-season.html" . }}