diff options
| author | Russ Cox <rsc@golang.org> | 2024-05-07 11:09:47 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2024-05-07 15:28:33 +0000 |
| commit | 5a7bd31aaa1f0b82d4009f537acf21407ec57dca (patch) | |
| tree | a12638db94aaf1dbef64191bf9086946ff2a44f3 /_content/css/styles.css | |
| parent | 2e9b327706c3d319cf84b4ace8387ca903ea0bd5 (diff) | |
| download | go-x-website-5a7bd31aaa1f0b82d4009f537acf21407ec57dca.tar.xz | |
blog/chacha8rand: give perf graphs a white background
They have black text and black on very dark gray doesn't
look that great in dark mode (although it does seem in keeping
with the gestalt of dark mode).
Also fix coloring of links containing <code> text, by removing
color override for <code>. Otherwise only the non-code parts
of the links shows up blue, which is very confusing, like in
<a><code>math/rand</code>'s <code>Read</code></a>
where only the 's shows up blue.
Change-Id: I345fd1ffaaa7e20804b31adcdab8d3d3d4acb924
Reviewed-on: https://go-review.googlesource.com/c/website/+/583835
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to '_content/css/styles.css')
| -rw-r--r-- | _content/css/styles.css | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css index 377d3b1d..11dfb5d2 100644 --- a/_content/css/styles.css +++ b/_content/css/styles.css @@ -858,8 +858,7 @@ h1 + h2.subtitle { overflow-x: auto; padding: 1.5rem; } -.Article pre, -.Article code { +.Article pre { color: var(--color-text); } .Article pre { |
