Skip to content

Commit

Permalink
docs: Remove borders from inline code
Browse files Browse the repository at this point in the history
Change-Id: Iede9ffe7dd88fed5dd605309ef2f0fc1259f7d1c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236876
Lint: Lint 🤖 <[email protected]>
Docs-Not-Needed: Kayce Basques <[email protected]>
Reviewed-by: Chad Norvell <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Commit-Queue: Kayce Basques <[email protected]>
  • Loading branch information
Kayce Basques authored and CQ Bot Account committed Sep 19, 2024
1 parent 213b6e1 commit fd5c648
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/_static/css/pigweed.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fd5c648

Please sign in to comment.