diff --git a/blocks/footer/footer.css b/blocks/footer/footer.css index 1976b7342..f6a5c15b4 100644 --- a/blocks/footer/footer.css +++ b/blocks/footer/footer.css @@ -1,7 +1,7 @@ footer { padding: 2rem; background-color: var(--light-color); - font-size: var(--body-font-size-s); + font-size: var(--body-font-size-xs); } footer .footer { diff --git a/blocks/header/header.css b/blocks/header/header.css index 741e2da19..09bdfecc7 100644 --- a/blocks/header/header.css +++ b/blocks/header/header.css @@ -18,7 +18,6 @@ header nav { max-width: 1264px; height: var(--nav-height); padding: 0 1rem; - font-family: var(--body-font-family); } header nav[aria-expanded='true'] { @@ -171,11 +170,10 @@ header nav .nav-sections ul { list-style: none; padding-left: 0; font-size: var(--body-font-size-s); - font-weight: 500; } header nav .nav-sections ul > li { - font-weight: 700; + font-weight: 500; } header nav .nav-sections ul > li > ul { @@ -183,7 +181,7 @@ header nav .nav-sections ul > li > ul { } header nav .nav-sections ul > li > ul > li { - font-weight: 500; + font-weight: 400; } @media (width >= 900px) { @@ -227,13 +225,11 @@ header nav .nav-sections ul > li > ul > li { display: flex; gap: 2em; margin: 0; - font-size: var(--body-font-size-xs); } header nav .nav-sections .default-content-wrapper > ul > li { flex: 0 1 auto; position: relative; - font-weight: 500; } header nav .nav-sections .default-content-wrapper > ul > li > ul { diff --git a/styles/styles.css b/styles/styles.css index 67acfb051..f39e5c9ef 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -71,10 +71,10 @@ } body { - font-size: var(--body-font-size-m); margin: 0; font-family: var(--body-font-family); - line-height: 1.6; + font-size: var(--body-font-size-m); + line-height: 1.5; color: var(--text-color); background-color: var(--background-color); display: none; @@ -95,8 +95,8 @@ h4, h5, h6 { font-family: var(--heading-font-family); - font-weight: 600; - line-height: 1.25; + font-weight: 700; + line-height: 1.3; margin-top: 1em; margin-bottom: 0.5em; scroll-margin: calc(var(--nav-height) + 1em); @@ -119,11 +119,6 @@ blockquote { margin-bottom: 1em; } -code, -pre { - font-size: var(--body-font-size-s); -} - code { padding: 0.125em; } @@ -140,6 +135,13 @@ main pre { white-space: pre; } +input, +textarea, +select, +button { + font: inherit; +} + /* links */ a:any-link { color: var(--link-color); @@ -154,15 +156,14 @@ a:hover { /* buttons */ a.button:any-link, button { - font-family: var(--body-font-family); display: inline-block; box-sizing: border-box; text-decoration: none; border: 2px solid transparent; padding: 5px 30px; text-align: center; + font-weight: 500; font-style: normal; - font-weight: 600; cursor: pointer; color: var(--background-color); background-color: var(--link-color);