UX: Codeblocks edits (#29893)

This commit is contained in:
Jordan Vidrine 2024-11-22 09:05:48 -06:00 committed by GitHub
parent f87333c4e0
commit 667a09b159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 17 deletions

View File

@ -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,

View File

@ -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;