Fix <code> block and inline styles
This commit is contained in:
parent
703d6933f3
commit
73320e6fb3
5 changed files with 14 additions and 8 deletions
|
@ -86,6 +86,11 @@
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
p code {
|
||||
padding-block-start: 0.1em;
|
||||
padding-inline: 0.25em;
|
||||
}
|
||||
|
||||
code.nobg {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
|
@ -124,12 +129,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
figure.code .line > .ln {
|
||||
grid-column: gutter-start;
|
||||
figure.code {
|
||||
grid-column: content-start / content-end;
|
||||
}
|
||||
|
||||
figure.code .line > .cl {
|
||||
grid-column: content-start / content-end;
|
||||
figure.code pre {
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
figure > .container {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue