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,
|
p > code,
|
||||||
li > code,
|
li > code,
|
||||||
pre > code,
|
pre > code,
|
||||||
@ -12,13 +10,9 @@ em > code {
|
|||||||
border-radius: var(--d-button-border-radius);
|
border-radius: var(--d-button-border-radius);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: calc((13 + 4) / 13);
|
line-height: calc((13 + 4) / 13);
|
||||||
}
|
|
||||||
|
|
||||||
.hljs {
|
|
||||||
display: block;
|
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
color: var(--primary-very-high);
|
display: block;
|
||||||
background-color: var(--hljs-bg);
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-comment,
|
.hljs-comment,
|
||||||
|
@ -920,15 +920,6 @@ aside.quote {
|
|||||||
pre {
|
pre {
|
||||||
max-height: 2000px;
|
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,
|
||||||
.bidi-warning span {
|
.bidi-warning span {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
Loading…
Reference in New Issue
Block a user