From d66f7cee3cfe75e32f7b28de1d8c75bfe340e896 Mon Sep 17 00:00:00 2001
From: Simon Hollingshead <me@simonhollingshead.com>
Date: Mon, 27 Feb 2023 21:37:22 +0000
Subject: [PATCH] Make H1 sizes consistent between different page types (#777)
---
assets/scss/_content.scss | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss
index 2909a6a..d0b054e 100644
--- a/assets/scss/_content.scss
+++ b/assets/scss/_content.scss
@@ -4,6 +4,22 @@
margin-top: 1.6rem;
margin-bottom: 3.2rem;
+ header {
+ margin-top: 6.4rem;
+ margin-bottom: 3.2rem;
+
+ h1 {
+ font-size: 4.2rem;
+ line-height: 4.6rem;
+ margin: 0;
+
+ @media only screen and (max-width: 768px) {
+ font-size: 4rem;
+ line-height: 4.4rem;
+ }
+ }
+ }
+
article {
details {
summary {
@@ -11,22 +27,6 @@
}
}
- header {
- margin-top: 6.4rem;
- margin-bottom: 3.2rem;
-
- h1 {
- font-size: 4.2rem;
- line-height: 4.6rem;
- margin: 0;
-
- @media only screen and (max-width: 768px) {
- font-size: 4rem;
- line-height: 4.4rem;
- }
- }
- }
-
footer {
margin-top: 4rem;
--
Gitblit v1.10.0