_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>
diff --git a/_content/css/styles.css b/_content/css/styles.css
index 2f75bf2..c250b19 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -770,7 +770,7 @@
.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 @@
}
.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 @@
.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);