From 0b4fc95a1ab256899e9e787e71078f9c51a7fdd6 Mon Sep 17 00:00:00 2001 From: Bhumi Shah Date: Thu, 1 May 2025 10:39:12 -0500 Subject: [PATCH 1/4] convert blog post titles to h1 while keeping the styles --- _layouts/post.html | 2 +- _sass/modules/_post.scss | 5 +++++ category/foundation.html | 2 +- category/news.html | 2 +- category/releases.html | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index f0b3ba62..516c93a4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,7 +11,7 @@
{{ page.date | date: '%A, %B %-d, %Y' }}
-

{{ page.title | strip_html }}

+

{{ page.title | strip_html }}

{% if page.author %}
Posted by {{ page.author }}
{% endif %} diff --git a/_sass/modules/_post.scss b/_sass/modules/_post.scss index 79ae6131..ea82fb9a 100755 --- a/_sass/modules/_post.scss +++ b/_sass/modules/_post.scss @@ -12,6 +12,11 @@ margin: -7px 30px -6px 30px; text-align: center; + h1 { + font-size: 55px; + line-height: 52px; + } + h5 { margin-bottom: 16px; } diff --git a/category/foundation.html b/category/foundation.html index e5241ab1..f3772b0b 100644 --- a/category/foundation.html +++ b/category/foundation.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}

diff --git a/category/news.html b/category/news.html index 78d9826d..94c10e43 100644 --- a/category/news.html +++ b/category/news.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}

diff --git a/category/releases.html b/category/releases.html index d1c8779a..a5ec4304 100644 --- a/category/releases.html +++ b/category/releases.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}

From 74085bc72e6c2ffa0cc0525e7c73109ec2ab9a61 Mon Sep 17 00:00:00 2001 From: Bhumi Shah Date: Mon, 19 May 2025 13:15:12 -0500 Subject: [PATCH 2/4] resolve merge conflict --- _layouts/post.html | 2 +- _sass/modules/_post.scss | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 516c93a4..062130f4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,7 +11,7 @@
{{ page.date | date: '%A, %B %-d, %Y' }}
-

{{ page.title | strip_html }}

+

{{ page.title | strip_html }}

{% if page.author %}
Posted by {{ page.author }}
{% endif %} diff --git a/_sass/modules/_post.scss b/_sass/modules/_post.scss index ea82fb9a..f1f6070c 100755 --- a/_sass/modules/_post.scss +++ b/_sass/modules/_post.scss @@ -13,10 +13,19 @@ text-align: center; h1 { - font-size: 55px; - line-height: 52px; + color: $color-red; + font-size: 39px; + @media (max-width: 800px) { + font-size: 32px; + } + @media (max-width: 600px) { + font-size: 28px; + } + font-weight: 700; + letter-spacing: -0.01em; + line-height: 38px; } - + h5 { margin-bottom: 16px; } From 6e0e59349ee5fde2492ee4568b8fdfd5f72b578d Mon Sep 17 00:00:00 2001 From: Bhumi Shah Date: Mon, 19 May 2025 13:22:04 -0500 Subject: [PATCH 3/4] apply John's review suggestions --- _layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index 062130f4..516c93a4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,7 +11,7 @@
{{ page.date | date: '%A, %B %-d, %Y' }}
-

{{ page.title | strip_html }}

+

{{ page.title | strip_html }}

{% if page.author %}
Posted by {{ page.author }}
{% endif %} From ee6b28cc6090a121d4fd13754a1832f0044f5f92 Mon Sep 17 00:00:00 2001 From: Bhumi Shah Date: Mon, 9 Jun 2025 09:40:13 -0500 Subject: [PATCH 4/4] add h1 post headline for desktop screen size --- _sass/modules/_post.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_sass/modules/_post.scss b/_sass/modules/_post.scss index f1f6070c..1c3799ce 100755 --- a/_sass/modules/_post.scss +++ b/_sass/modules/_post.scss @@ -115,6 +115,11 @@ margin-bottom: -7px; + h1 { + font-size: 55px; + line-height: 52px; + } + h5 { margin-bottom: 13px; }