From 0e8e87a00fbe4d2594b722480c8b4333a1dfdd3a Mon Sep 17 00:00:00 2001 From: BridgerB <6395506+BridgerB@users.noreply.github.com> Date: Sat, 31 May 2025 02:32:45 -0600 Subject: [PATCH 1/2] fix: center page title and left-align section headlines --- _sass/_content.scss | 9 +++++++++ _sass/_layout.scss | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_sass/_content.scss b/_sass/_content.scss index e696d36..6f1e37f 100644 --- a/_sass/_content.scss +++ b/_sass/_content.scss @@ -26,6 +26,7 @@ margin-top: 0; font-size: 2rem; font-weight: variables.$font-weight-semi-bold; + text-align: left; } p { @@ -39,6 +40,14 @@ border-bottom: none; } + .intro .section-headline { + text-align: center; + } + + .section-headline:not(.intro .section-headline) { + text-align: left; + } + h3 { padding: 10px 40px; margin-right: -40px; diff --git a/_sass/_layout.scss b/_sass/_layout.scss index cd096be..d07369d 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -42,6 +42,6 @@ body { .page-title { font-size: 54px; line-height: 81px; - text-align: end; + text-align: center; } } From c7d28363805950212470718e8fd1c917248a1118 Mon Sep 17 00:00:00 2001 From: BridgerB <6395506+BridgerB@users.noreply.github.com> Date: Sat, 31 May 2025 02:40:43 -0600 Subject: [PATCH 2/2] Update _sass/_content.scss I tested this suggestion and it works well. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- _sass/_content.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/_content.scss b/_sass/_content.scss index 6f1e37f..2243eed 100644 --- a/_sass/_content.scss +++ b/_sass/_content.scss @@ -44,7 +44,7 @@ text-align: center; } - .section-headline:not(.intro .section-headline) { + .main-content > .section-headline { text-align: left; }