Add chroma pre class

This commit is contained in:
ItsDrike 2021-08-26 00:44:38 +02:00
parent 46d344185c
commit 52fd55eee6
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -102,6 +102,15 @@ a.no-color-change {
} }
} }
pre.chroma {
margin-bottom: $paragraph-margin-bottom;
padding: $spacer;
.highlight & {
margin-top: 0;
}
}
p, li, h1, h2, h3, h4, h5, h6 { p, li, h1, h2, h3, h4, h5, h6 {
code { code {
@extend .chroma; @extend .chroma;