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 b7cb1e8d36
commit 408bb38cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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