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;
|
||||
}
|
||||
|
||||
/* Block code (Arise syntax highlighting) */
|
||||
pre.sourceCode,
|
||||
pre.sourceCode code,
|
||||
pre.sourceCode code span {
|
||||
/* Target all spans and links inside Arise code blocks */
|
||||
pre.sourceCode, pre.sourceCode code, pre.sourceCode code span, pre.sourceCode code span a {
|
||||
font-family: monospace, "Courier New", Courier, monospace;
|
||||
background-color: #293137;
|
||||
color: #65f85a;
|
||||
line-height: 1.4em;
|
||||
padding: 4px 16px;
|
||||
border-radius: 16px;
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
line-height: 1.2em; /* tight line spacing */
|
||||
padding: 4px 12px; /* padding for readability */
|
||||
display: inline; /* keep spans inline so line-height stacks correctly */
|
||||
}
|
||||
|
||||
/* pre element itself */
|
||||
pre.sourceCode {
|
||||
overflow-x: auto;
|
||||
padding: 0; /* remove extra padding */
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
|
||||
/* pre element itself */
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue