mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 00:38:31 +08:00
Update code block styling to match HLJS 11's new styles (#2909)
This commit is contained in:
parent
550edf44b3
commit
b11b6ec456
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user