diff options
| author | Valentin Deleplace <deleplace@google.com> | 2022-12-02 19:52:17 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-24 15:30:23 +0000 |
| commit | 5f0cede926d95ecf08e2ca70bdab18e9d6cfbebf (patch) | |
| tree | 946afc689e24619c968a43ee088b6efa2f0cad6a | |
| parent | 0258b1acda43f662e8952a1a2db45d0cc6f5c2ba (diff) | |
| download | go-x-website-5f0cede926d95ecf08e2ca70bdab18e9d6cfbebf.tar.xz | |
_content/security/fuzz: fix transparent image for dark theme
Fixes golang/go#54954
Change-Id: Ie2db42fe32e791111486cbbe8f3a392934f4a174
Reviewed-on: https://go-review.googlesource.com/c/website/+/454875
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
| -rw-r--r-- | _content/security/fuzz/example-dark.png | bin | 0 -> 75966 bytes | |||
| -rw-r--r-- | _content/security/fuzz/index.md | 9 |
2 files changed, 7 insertions, 2 deletions
diff --git a/_content/security/fuzz/example-dark.png b/_content/security/fuzz/example-dark.png Binary files differnew file mode 100644 index 00000000..9a8bfe61 --- /dev/null +++ b/_content/security/fuzz/example-dark.png diff --git a/_content/security/fuzz/index.md b/_content/security/fuzz/index.md index 3ba7a5bf..201c8382 100644 --- a/_content/security/fuzz/index.md +++ b/_content/security/fuzz/index.md @@ -22,11 +22,16 @@ valuable for finding security exploits and vulnerabilities. Below is an example of a [fuzz test](#glos-fuzz-test), highlighting its main components. -<img alt="Example code showing the overall fuzz test, with a fuzz target within +<img class="DarkMode-img" alt="Example code showing the overall fuzz test, with a fuzz target within it. Before the fuzz target is a corpus addition with f.Add, and the parameters of the fuzz target are highlighted as the fuzzing arguments." -src="/security/fuzz/example.png" style="display: block; width: 600px; height: +src="/security/fuzz/example-dark.png" style="width: 600px; height: auto;"/> +<img alt="Example code showing the overall fuzz test, with a fuzz target within +it. Before the fuzz target is a corpus addition with f.Add, and the parameters +of the fuzz target are highlighted as the fuzzing arguments." +src="/security/fuzz/example.png" style="width: 600px; height: +auto;" class="LightMode-img"/> ## Writing fuzz tests |
