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
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 {