From 13c191becb9d991ddb1ba7d0e72aa9438a5cb536 Mon Sep 17 00:00:00 2001 From: Staaaaaaaaar <2300012435@stu.pku.edu.cn> Date: Wed, 5 Aug 2026 20:06:02 +0800 Subject: [PATCH 1/5] feat: enhance featured content carousel and site header accessibility - Updated the featured content carousel to improve touch interaction and added pointer event handling for better user experience. - Enhanced the site header navigation with improved ARIA attributes for better accessibility and user interaction. - Adjusted styles for carousel arrows and mobile navigation to ensure consistency and responsiveness across breakpoints. --- .../content/FeaturedContentCarousel.astro | 48 ++++- src/components/site/SiteHeader.astro | 50 ++++- src/styles/content/carousel.css | 47 +++-- src/styles/responsive/1000.css | 4 +- src/styles/responsive/430.css | 69 +++++- src/styles/responsive/760.css | 197 ++++++++++++++++-- 6 files changed, 360 insertions(+), 55 deletions(-) diff --git a/src/components/content/FeaturedContentCarousel.astro b/src/components/content/FeaturedContentCarousel.astro index a4e8edb..6fa9716 100644 --- a/src/components/content/FeaturedContentCarousel.astro +++ b/src/components/content/FeaturedContentCarousel.astro @@ -70,12 +70,12 @@ const panels = hasMultiple <>