From fd5c648a333b9ea5b74a72b7324b8ea44535ed3a Mon Sep 17 00:00:00 2001 From: Kayce Basques Date: Thu, 19 Sep 2024 22:27:57 +0000 Subject: [PATCH] docs: Remove borders from inline code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iede9ffe7dd88fed5dd605309ef2f0fc1259f7d1c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236876 Lint: Lint 🤖 Docs-Not-Needed: Kayce Basques Reviewed-by: Chad Norvell Presubmit-Verified: CQ Bot Account Commit-Queue: Kayce Basques --- docs/_static/css/pigweed.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/_static/css/pigweed.css b/docs/_static/css/pigweed.css index 836b147247..1e5c299280 100644 --- a/docs/_static/css/pigweed.css +++ b/docs/_static/css/pigweed.css @@ -32,6 +32,13 @@ --font-stack-monospace: var(--pw-font-code); } +code { + /* Remove borders from inline code (i.e. code that appears within + * paragraphs. Note that code blocks should have borders; those are + * applied to the code block's pre element. */ + border: none !important; +} + code, pre { background-color: var(--pw-color-background-code); color: var(--pw-color-foreground-primary);