From d86094968e30f2d3a548042fb93bd425fc8b6dc1 Mon Sep 17 00:00:00 2001 From: Kerby Martino Date: Thu, 1 May 2025 11:28:09 +0800 Subject: [PATCH] Different font size for viewport --- _includes/head.liquid | 4 +-- _includes/post_list.liquid | 54 ++++++++++++++++++++++---------------- 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/_includes/head.liquid b/_includes/head.liquid index 2e104db..9aa1425 100644 --- a/_includes/head.liquid +++ b/_includes/head.liquid @@ -52,8 +52,8 @@ ], }, fontSize: { - 'xs': '1rem', // Very small text (like "reply") - 'sm': '1.125rem', // Small text (like meta info) + 'xs': '0.75rem', // Very small text (like "reply") + 'sm': '1rem', // Small text (like meta info) 'base': '1.25rem', // Base text size (like post titles) 'lg': '1.5rem', // Section headers }, diff --git a/_includes/post_list.liquid b/_includes/post_list.liquid index 88ff87d..4baa1cf 100644 --- a/_includes/post_list.liquid +++ b/_includes/post_list.liquid @@ -1,3 +1,4 @@ +

Quick Tips: Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!

@@ -15,41 +16,50 @@ +
{% for post in site.posts %} -
- -
-
+ +
+
{% endfor %} - + - +
-
- -
+
More