diff --git a/util/gh-pages/index.html b/util/gh-pages/index.html
index 082cb35c2e0..27ecb532dd0 100644
--- a/util/gh-pages/index.html
+++ b/util/gh-pages/index.html
@@ -133,7 +133,7 @@
opacity: 30%;
}
- p > code {
+ :not(pre) > code {
color: var(--inline-code-color);
background-color: var(--inline-code-bg);
}