Skip to content

Commit

Permalink
ENH: Add light background to inline code (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Jul 25, 2022
1 parent d751eb5 commit 689ff93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pydata_sphinx_theme/assets/styles/content/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ div.literal-block-wrapper {
}
}
}

/**
* In-line code
*/
code.literal {
padding: 0.1rem 0.25rem;
background-color: var(--pst-color-surface);
border: 1px solid var(--pst-color-on-surface);
border-radius: 0.25rem;
}

0 comments on commit 689ff93

Please sign in to comment.