jade
c103690644
I found it really hard to read what was actually code, so this change adds a very subtle hint of colour around all the code which has cheeky border radii. I've also cheekily made the font a tiny bit smaller for inline code so that even with the required padding, it does not mess up the line spacing visibly.
13 lines
236 B
SCSS
13 lines
236 B
SCSS
$code-colour: darken($light, 5%);
|
|
pre {
|
|
background-color: $code-colour;
|
|
padding: 0.8rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
:not(pre)>code {
|
|
background-color: $code-colour;
|
|
font-size: 0.85em;
|
|
padding: 0.2em;
|
|
border-radius: 0.3em;
|
|
}
|