Fix code formatting in-/outside figures

This commit is contained in:
cryptogopher 2023-09-26 17:37:26 +02:00
parent 9d4ba7bb30
commit d1f747c3de

View File

@ -41,7 +41,7 @@ h3 {
p, ul {
line-height: 1.35rem;
}
p code, ul code {
:not(pre) > code {
background-color: #9f54aa;
border-radius: 0.2rem;
color: white;
@ -53,7 +53,7 @@ p code, ul code {
figure {
border-radius: 0.2rem;
margin: 0;
margin: 0.5rem 0 0.5rem 0;
}
figcaption {
background-color: #f0f0f0;
@ -83,13 +83,10 @@ pre > code {
color: #ffc61e;
padding: 0;
}
pre > code.language-bash {
/* color: #18e418; */
color: #54d771;
}
code {
}
code {}
code.language-bash { color: #54d771; /* #18e418; */ }
code.language-ruby span.k,
code.language-ruby span.nc,