43 lines
770 B
SCSS
43 lines
770 B
SCSS
code {
|
|
color: var(--xm-c-deep);
|
|
font-weight: 600;
|
|
font-size: .875rem;
|
|
font-family: var(--xm-font-code);
|
|
&::before,
|
|
&::after {
|
|
content: '`';
|
|
}
|
|
}
|
|
|
|
pre {
|
|
overflow-x: auto;
|
|
margin-top: 1.75rem;
|
|
margin-bottom: 1.75rem;
|
|
padding-top: .875rem, 1.15rem;
|
|
border-radius: .375rem;
|
|
color: var(--xm-c-deep);
|
|
font-size: .875rem;
|
|
line-height: 1.75;
|
|
code {
|
|
padding: 0;
|
|
border-width: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font-weight: 400;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
line-height: inherit;
|
|
&::before,
|
|
&::after {
|
|
content: none;
|
|
}
|
|
}
|
|
&:has(code) {
|
|
margin: .5rem 0;
|
|
font-size: 1.05rem;
|
|
font-family: var(--xm-font-code);
|
|
line-height: 1.4;
|
|
}
|
|
}
|