tab size, scope the inline code css

This commit is contained in:
cupcakearmy 2019-05-31 16:26:00 +02:00
parent f7ab1573da
commit 26fdea5d30
2 changed files with 10 additions and 9 deletions

View File

@ -59,7 +59,16 @@
font-size: .75em; font-size: .75em;
} }
#singular #content code { #singular #content pre {
overflow: auto;
background-color: var(--clr-ligher);
padding: 1em;
border-radius: .25em;
overflow-wrap: initial;
tab-size: 4;
}
#singular #content p code {
background: var(--clr-ligher); background: var(--clr-ligher);
padding: 0.3em .5em; padding: 0.3em .5em;
border-radius: .25em; border-radius: .25em;

View File

@ -33,14 +33,6 @@ h1, h2, h3, h4, h5, h6 {
margin: 0; margin: 0;
} }
pre {
overflow: auto;
background-color: var(--clr-ligher);
padding: 1em;
border-radius: .25em;
overflow-wrap: initial;
}
a { a {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;