mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Codeblocks edits (#29893)
This commit is contained in:
parent
f87333c4e0
commit
667a09b159
@ -1,5 +1,3 @@
|
||||
/* originally based on github.com style (c) Vasily Polovnyov <vast@whiteants.net> */
|
||||
|
||||
p > code,
|
||||
li > code,
|
||||
pre > code,
|
||||
@ -12,13 +10,9 @@ em > code {
|
||||
border-radius: var(--d-button-border-radius);
|
||||
font-size: 14px;
|
||||
line-height: calc((13 + 4) / 13);
|
||||
}
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
padding: 12px;
|
||||
color: var(--primary-very-high);
|
||||
background-color: var(--hljs-bg);
|
||||
display: block;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
|
@ -920,15 +920,6 @@ aside.quote {
|
||||
pre {
|
||||
max-height: 2000px;
|
||||
|
||||
code {
|
||||
word-wrap: normal;
|
||||
display: block;
|
||||
padding: 0.5em;
|
||||
color: var(--primary);
|
||||
background: var(--blend-primary-secondary-5);
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.bidi-warning,
|
||||
.bidi-warning span {
|
||||
font-style: normal;
|
||||
|
Loading…
Reference in New Issue
Block a user