mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
ui(resources): highlight inline code in markdown
This commit is contained in:
@@ -68,6 +68,15 @@ export const MarkdownWrapper = styled.div`
|
|||||||
${modularScaleCSS(1)};
|
${modularScaleCSS(1)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background: #192129;
|
||||||
|
padding: 4px 8px;
|
||||||
|
display: inline;
|
||||||
|
border-radius: 3px;
|
||||||
|
letter-spacing: 0.25px;
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
:not(pre) > code[class*="language-"],
|
:not(pre) > code[class*="language-"],
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user