ssss
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:14:37 -03:00
parent bb4c423c95
commit 307b63da17

View file

@ -1,6 +1,6 @@
/*** Core page styles to set the primary colours and styles to be inherited by everything else ***/ /*** Core page styles ***/
/* Core Styling */ /* Base styling */
html * { html * {
font-family: sans-serif; font-family: sans-serif;
} }
@ -30,34 +30,36 @@ img {
code { code {
background-color: #293137; background-color: #293137;
border-radius: 16px; border-radius: 16px;
padding-left: 30px; padding: 1px 30px;
padding-right: 30px;
padding-top: 1px;
padding-bottom: 1px;
line-height: 2em; line-height: 2em;
color: #65f85a; color: #65f85a;
font-family: monospace; font-family: monospace;
} }
/* Target all spans and links inside Arise code blocks */ /* Block code (Arise syntax highlighting) */
pre.sourceCode, pre.sourceCode code, pre.sourceCode code span, pre.sourceCode code span a { pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span,
pre.sourceCode code span a {
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.2em; /* tight line spacing */ line-height: 1.2em; /* tighter spacing */
padding: 4px 12px; /* padding for readability */ padding: 4px 12px;
display: inline; /* keep spans inline so line-height stacks correctly */ border-radius: 16px;
display: inline; /* prevent extra block spacing from nested spans */
white-space: pre-wrap; /* preserve wrapping */
word-wrap: break-word;
} }
/* pre element itself */ /* Pre itself */
pre.sourceCode { pre.sourceCode {
overflow-x: auto; overflow-x: auto;
padding: 0; /* remove extra padding */ padding: 0; /* only the inner code has padding */
margin: 1em 0; margin: 1em 0;
} }
/* Standard pre for other purposes */
/* pre element itself */
pre { pre {
overflow-x: auto; overflow-x: auto;
white-space: pre-wrap; white-space: pre-wrap;
@ -156,9 +158,7 @@ h2, h3 {
text-align: center; text-align: center;
} }
/*** Other misc garbage ***/ /*** Arise Index Style ***/
/* Arise Index Style */
.arise-toc-td { .arise-toc-td {
border-width: 1px; border-width: 1px;
border-color: #65f85a; border-color: #65f85a;