Revert "UX: Codeblocks edits (#29893)" (#29896)

This reverts commit 667a09b159.
This commit is contained in:
Penar Musaraj 2024-11-22 12:09:40 -05:00 committed by GitHub
parent f24d2b926f
commit a97ac905d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,5 @@
/* originally based on github.com style (c) Vasily Polovnyov <vast@whiteants.net> */
p > code,
li > code,
pre > code,
@ -10,9 +12,13 @@ em > code {
border-radius: var(--d-button-border-radius);
font-size: 14px;
line-height: calc((13 + 4) / 13);
padding: 12px;
}
.hljs {
display: block;
max-height: 500px;
padding: 12px;
color: var(--primary-very-high);
background-color: var(--hljs-bg);
}
.hljs-comment,

View File

@ -920,6 +920,15 @@ 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;