improve code block styling

This commit is contained in:
Philipp Kühn 2020-08-12 11:44:46 +02:00
parent 8038ea9f94
commit 0724796842

View File

@ -48,6 +48,11 @@ pre[class*="language-"] {
background: $codeBackground;
padding: 1.2rem 1.5rem !important;
border-radius: 0.5rem;
max-height: unquote("max(300px, 60vh)");
&::-webkit-scrollbar-thumb {
background-color: rgba($colorWhite, 0.25);
}
}
pre[class*="language-"].language-css > code,