From 96182cb1e4c838c4e1305cbd3ab4da909fb79bdc Mon Sep 17 00:00:00 2001 From: Ricardo Date: Sat, 24 Jan 2026 15:48:23 +0100 Subject: [PATCH] fix: comprehensive mobile responsive design audit - Make all headings responsive (text-2xl sm:text-3xl pattern) - Make all section headings responsive (text-xl sm:text-2xl) - Add responsive margins (mb-6 sm:mb-8 pattern) - Fix flex layouts to stack on mobile (flex-col sm:flex-row) - Make images responsive (w-20 sm:w-24 pattern) - Add responsive padding (p-4 sm:p-6) - Improve grid gaps for mobile (gap-3 sm:gap-4) - Add CSS utilities for table overflow and touch scrolling - Restyle 404 page with proper responsive design Files updated: 22 template and CSS files across all pages Co-Authored-By: Claude Opus 4.5 --- 404.njk | 12 +++-- .../components/funkwhale-stats-content.njk | 4 +- _includes/layouts/home.njk | 36 +++++++-------- _includes/layouts/post.njk | 4 +- about.njk | 8 ++-- articles.njk | 4 +- blog.njk | 4 +- bookmarks.njk | 5 +- categories-index.njk | 4 +- categories.njk | 4 +- css/tailwind.css | 39 ++++++++++++++++ funkwhale.njk | 26 +++++------ github.njk | 20 ++++---- interactions.njk | 6 +-- likes.njk | 4 +- listening.njk | 46 +++++++++---------- notes.njk | 4 +- photos.njk | 5 +- replies.njk | 4 +- reposts.njk | 4 +- webmention-debug.njk | 4 +- youtube.njk | 22 ++++----- 22 files changed, 160 insertions(+), 109 deletions(-) diff --git a/404.njk b/404.njk index 332ccc1..5a748e5 100644 --- a/404.njk +++ b/404.njk @@ -3,6 +3,12 @@ layout: layouts/base.njk title: Page Not Found permalink: /404.html --- -

404 - Page Not Found

-

Sorry, the page you're looking for doesn't exist.

-

Go back to the homepage

+
+

404

+

Page Not Found

+

Sorry, the page you're looking for doesn't exist.

+ + + Go back home + +
diff --git a/_includes/components/funkwhale-stats-content.njk b/_includes/components/funkwhale-stats-content.njk index 12822e7..52deeb7 100644 --- a/_includes/components/funkwhale-stats-content.njk +++ b/_includes/components/funkwhale-stats-content.njk @@ -1,6 +1,6 @@ {# Stats Summary Cards #} {% if summary %} -
+
{{ summary.totalPlays or 0 }} Plays @@ -40,7 +40,7 @@ {% if topAlbums and topAlbums.length %}

Top Albums

-
+
{% for album in topAlbums | head(5) %}
{% if album.coverUrl %} diff --git a/_includes/layouts/home.njk b/_includes/layouts/home.njk index 126c7f4..1bbff60 100644 --- a/_includes/layouts/home.njk +++ b/_includes/layouts/home.njk @@ -4,25 +4,25 @@ withSidebar: true --- {# Hero Section #} -
-
+
+
{# Avatar #} {{ site.author.name }} {# Introduction #} -
-

+
+

{{ site.author.name }}

-

+

{{ site.author.title }}

-

+

{{ site.author.bio }}

@@ -54,8 +54,8 @@ withSidebar: true {# Work Experience Timeline - only show if data exists #} {% if cv.experience and cv.experience.length %} -
-

Experience

+
+

Experience

{% for job in cv.experience %} @@ -99,10 +99,10 @@ withSidebar: true {# Projects Section - only show if data exists #} {% if cv.projects and cv.projects.length %} -
-

Projects

+
+

Projects

-
+
{% for project in cv.projects %}

@@ -134,10 +134,10 @@ withSidebar: true {# Skills Section - only show if data exists #} {% if cv.skills and (cv.skills | dictsort | length) %} -
-

Skills

+
+

Skills

-
+
{% for category, skills in cv.skills %}

@@ -156,7 +156,7 @@ withSidebar: true {# Education & Languages - only show if data exists #} {% if (cv.education and cv.education.length) or (cv.languages and cv.languages.length) %} -
+
{# Education #} {% if cv.education and cv.education.length %}
@@ -190,8 +190,8 @@ withSidebar: true {# Interests - only show if data exists #} {% if cv.interests and cv.interests.length %} -
-

Interests

+
+

Interests

{% for interest in cv.interests %} {{ interest }} diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index d7d7bcb..b47fb14 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -4,10 +4,10 @@ withBlogSidebar: true ---
{% if title %} -

{{ title }}

+

{{ title }}

{% endif %} -