Skip to content

Commit

Permalink
Change inline code styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tteixeira committed Dec 12, 2024
1 parent 28e75b3 commit d566da4
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions styles/text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,12 @@ button:focus-visible {

/* Inline code blocks */
p > code,
li > code {
@apply border border-gray-40 dark:border-gray-80 text-red-70 rounded-md px-1 mx-1 break-words;
li > code,
/* Inline code blocks in docstrings */
tt.docutils.literal {
@apply border-b px-1 rounded break-words;
@apply text-green-80 bg-gray-10 border-gray-30;
@apply dark:text-green-40 dark:bg-gray-90 dark:border-gray-100;
}

p a code {
Expand All @@ -121,8 +125,3 @@ p a code {
div.code-desc {
@apply mb-4 text-gray-90 dark:text-gray-40;
}

/* Inline code blocks in docstrings */
tt.docutils.literal {
@apply border border-gray-40 text-red-70 rounded-md px-1 mx-1 break-words;
}

0 comments on commit d566da4

Please sign in to comment.