This commit is contained in:
parent
a59a61e1f5
commit
bb4c423c95
1 changed files with 13 additions and 9 deletions
|
|
@ -39,20 +39,24 @@ code {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Block code (Arise syntax highlighting) */
|
/* Target all spans and links inside Arise code blocks */
|
||||||
pre.sourceCode,
|
pre.sourceCode, pre.sourceCode code, pre.sourceCode code span, pre.sourceCode code span a {
|
||||||
pre.sourceCode code,
|
|
||||||
pre.sourceCode code span {
|
|
||||||
font-family: monospace, "Courier New", Courier, monospace;
|
font-family: monospace, "Courier New", Courier, monospace;
|
||||||
background-color: #293137;
|
background-color: #293137;
|
||||||
color: #65f85a;
|
color: #65f85a;
|
||||||
line-height: 1.4em;
|
line-height: 1.2em; /* tight line spacing */
|
||||||
padding: 4px 16px;
|
padding: 4px 12px; /* padding for readability */
|
||||||
border-radius: 16px;
|
display: inline; /* keep spans inline so line-height stacks correctly */
|
||||||
display: block;
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pre element itself */
|
||||||
|
pre.sourceCode {
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0; /* remove extra padding */
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* pre element itself */
|
/* pre element itself */
|
||||||
pre {
|
pre {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue