1
0
mirror of https://github.com/flarum/core.git synced 2025-06-07 15:16:00 +02:00

Update code block styling to match HLJS 11's new styles (#2909)

This commit is contained in:
David Wheatley 2021-07-09 10:04:12 +01:00 committed by GitHub
parent 550edf44b3
commit b11b6ec456

View File

@ -131,7 +131,7 @@
// Code blocks // Code blocks
pre { pre {
border: 0; border: 0;
padding: 15px; padding: 0;
background: @code-bg; background: @code-bg;
color: #666; color: #666;
font-size: 90%; font-size: 90%;
@ -139,12 +139,14 @@
overflow-wrap: normal; overflow-wrap: normal;
code { code {
padding: 0; padding: 1em;
background: none; background: none;
color: inherit; color: inherit;
line-height: inherit; line-height: inherit;
font-size: 100%; font-size: 100%;
border-radius: 0; border-radius: 0;
display: block;
overflow-x: auto;
} }
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {