testing blokcs
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run

This commit is contained in:
Jose Falanga 2025-10-13 19:17:35 -03:00
parent 307b63da17
commit 08006dd8a9

View file

@ -36,29 +36,32 @@ code {
font-family: monospace; font-family: monospace;
} }
/* Block code (Arise syntax highlighting) */ /* Pre background and alignment */
pre.sourceCode, pre.sourceCode {
pre.sourceCode code, background-color: #293137; /* full block background */
pre.sourceCode code span,
pre.sourceCode code span a {
font-family: monospace, "Courier New", Courier, monospace;
background-color: #293137;
color: #65f85a;
line-height: 1.2em; /* tighter spacing */
padding: 4px 12px;
border-radius: 16px; border-radius: 16px;
display: inline; /* prevent extra block spacing from nested spans */ padding: 12px 16px;
white-space: pre-wrap; /* preserve wrapping */ overflow-x: auto;
word-wrap: break-word; line-height: 1.35em; /* tight but readable */
font-family: monospace, "Courier New", Courier, monospace;
color: #65f85a;
} }
/* Pre itself */ /* Reset span backgrounds so lines dont stack weirdly */
pre.sourceCode { pre.sourceCode span,
overflow-x: auto; pre.sourceCode span a {
padding: 0; /* only the inner code has padding */ background: none !important; /* remove small rectangles */
margin: 1em 0; display: inline; /* normal inline stacking */
} }
/* Syntax highlight colors */
pre.sourceCode .co { color: #6ab04c; } /* comments */
pre.sourceCode .kw { color: #eb4d4b; } /* keywords */
pre.sourceCode .st { color: #f9ca24; } /* strings */
pre.sourceCode .bu { color: #12CBC4; } /* built-ins */
pre.sourceCode .fu { color: #ff7979; } /* function names */
pre.sourceCode .va { color: #e056fd; } /* variables */
/* Standard pre for other purposes */ /* Standard pre for other purposes */
pre { pre {
overflow-x: auto; overflow-x: auto;