Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,23 +224,19 @@ article > section iframe {
a > code {
position: relative;
color: var(--theme-link);
text-underline-offset: var(--padding-block);
text-underline-offset: 0.2rem;
}

strong {
font-weight: 600;
color: inherit;
}

/* Supporting Content */
/* Cross-cutting `code` properties. Inline-vs-block specifics live in
the more-specific selectors below (`pre > code`,
`:not(pre) > code:not([class*="language"])`). */
code {
--border-radius: 3px;
--padding-block: 0.2rem;
font-family: var(--font-mono);
font-size: 0.85em;
background-color: var(--theme-code-inline-bg);
margin: calc(var(--padding-block) * -1) 0;
border-radius: var(--border-radius);
word-break: break-word;
}

Expand Down Expand Up @@ -833,7 +829,9 @@ pre {
/* Inline code */
:not(pre) > code:not([class*="language"]) {
background: var(--theme-code-inline-bg);
padding: 0.15rem 0.4rem;
border: 1px solid var(--theme-border);
padding: 0.1em 0.4em;
Comment on lines 829 to +833
border-radius: 4px;
Comment on lines 831 to +834
font-size: 0.85em;
}

Expand Down