Differenciate article header h1 and body h2 font-size #342

Open
rho_n wants to merge 1 commits from i329_H1-looks-same-as-h2 into main
Showing only changes of commit 5883b7e679 - Show all commits
+7 -1
View File
@@ -87,9 +87,11 @@ https://creativecommons.org/publicdomain/
--default-header-x-font-weight: bold;
--default-header-x-margin: 1.25rem 0 0.75rem 0;
--default-header-1-font-size: 1.5rem;
--default-header-2-font-size: 1.45rem;
--default-header-2-font-size: 1.40rem;
--default-header-3-font-size: 1.25rem;
--default-header-4-font-size: 1.15rem;
--article-header-1-font-size: 1.45rem;
}
html {
@@ -245,6 +247,10 @@ article * h3 {
margin: var(--default-header-x-margin);
}
article > header > h1 {
font-size: var(--article-header-1-font-size);
}
img {
max-width: 100%;
height: auto;