diff options
| author | Frederick Mixell <frederick.mixell@leftfieldlabs.com> | 2023-01-12 11:01:14 -0500 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2023-01-13 20:56:53 +0000 |
| commit | bf6873ed19d3076de3d82cb6cb47de35da2c941a (patch) | |
| tree | 48d14df08486220971d21a483963d754bb55a741 /_content/css/styles.css | |
| parent | 850ae8c1f70576aa9dc40540dbb36e90dcfbc9ae (diff) | |
| download | go-x-website-bf6873ed19d3076de3d82cb6cb47de35da2c941a.tar.xz | |
_content: Revert font to match site style
Reverting the new text styles for download page because text styles are global.
Reference: https://go-review.googlesource.com/c/website/+/441855/comment/4c6c0465_65e895ec/
Staging: https://change-461796-dot-goog-godev-qa.uc.r.appspot.com/go.dev/doc/install
! This staging doesn't have access to /dl functionality so there isn't text for the download button.
Change-Id: I132c56ec67a93f91a4a557703f6d27a7e6875024
Reviewed-on: https://go-review.googlesource.com/c/website/+/461796
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/css/styles.css')
| -rw-r--r-- | _content/css/styles.css | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css index 2f75bf22..c250b19c 100644 --- a/_content/css/styles.css +++ b/_content/css/styles.css @@ -770,7 +770,7 @@ a.Footer-link--primary { .Article { color: var(--color-text); margin: 0 auto 1.875rem; - margin-top: 3rem; + max-width: 75.75rem; padding: 0 1.5rem; } @@ -804,18 +804,9 @@ h1 + h2.subtitle { } .Article h1 { font-size: 2.25rem; - font-style: normal; - font-weight: 400; - line-height: 2rem; - margin-bottom: 1.5rem; } .Article h2 { - font-style: normal; - font-weight: 400; - font-size: 1.5rem; - line-height: 2rem; - margin-top: 2.75rem; - margin-bottom: 0.275rem; + font-size: 1.4rem; } .Article h3 { font-size: 1.125rem; @@ -829,10 +820,9 @@ h1 + h2.subtitle { .Article ul, .Article ol { color: var(--color-text); + font-size: 1rem; font-style: normal; - font-weight: 400; - font-size: 0.875rem; - line-height: 1.75rem; + font-weight: normal; } .Article ol .Article pre { background-color: var(--color-background-accented); |
