From 307b63da176d508806ae602a2789afd861422fda Mon Sep 17 00:00:00 2001 From: Jose Falanga Date: Mon, 13 Oct 2025 19:14:37 -0300 Subject: [PATCH] ssss --- arise-source/config/main.css | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/arise-source/config/main.css b/arise-source/config/main.css index 22cefef..eb19ceb 100644 --- a/arise-source/config/main.css +++ b/arise-source/config/main.css @@ -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 * { font-family: sans-serif; } @@ -30,34 +30,36 @@ img { code { background-color: #293137; border-radius: 16px; - padding-left: 30px; - padding-right: 30px; - padding-top: 1px; - padding-bottom: 1px; + padding: 1px 30px; line-height: 2em; color: #65f85a; font-family: monospace; } -/* Target all spans and links inside Arise code blocks */ -pre.sourceCode, pre.sourceCode code, pre.sourceCode code span, pre.sourceCode code span a { +/* Block code (Arise syntax highlighting) */ +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.2em; /* tight line spacing */ - padding: 4px 12px; /* padding for readability */ - display: inline; /* keep spans inline so line-height stacks correctly */ + line-height: 1.2em; /* tighter spacing */ + padding: 4px 12px; + 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 { overflow-x: auto; - padding: 0; /* remove extra padding */ + padding: 0; /* only the inner code has padding */ margin: 1em 0; } - -/* pre element itself */ +/* Standard pre for other purposes */ pre { overflow-x: auto; white-space: pre-wrap; @@ -156,9 +158,7 @@ h2, h3 { text-align: center; } -/*** Other misc garbage ***/ - -/* Arise Index Style */ +/*** Arise Index Style ***/ .arise-toc-td { border-width: 1px; border-color: #65f85a;