diff --git a/arise-source/config/main.css b/arise-source/config/main.css index 12e6e71..adce72a 100644 --- a/arise-source/config/main.css +++ b/arise-source/config/main.css @@ -27,22 +27,26 @@ img { /* Inline code */ code { background-color: #293137; - border-radius: 16px; - padding: 1px 30px; - line-height: 2em; + border-radius: 8px; /* slightly smaller radius */ + padding: 2px 6px; /* much smaller padding */ + line-height: 1.4em; /* reasonable line height */ color: #65f85a; - font-family: monospace, "Courier New", Courier !important; + font-family: monospace !important; /* force monospace */ } /* Pre background and alignment */ -pre.sourceCode, pre.sourceCode * { - background-color: #293137; /* full block background */ +pre.sourceCode { + background-color: #293137; border-radius: 16px; padding: 12px 16px; overflow-x: auto; - line-height: 1.35em; /* tight but readable */ - font-family: monospace, "Courier New", Courier !important; + line-height: 1.35em; /* keep tight but readable */ + font-family: monospace !important; /* force monospace */ color: #65f85a; + white-space: pre; /* prevent text wrap issues */ +} +pre.sourceCode * { + font-family: monospace !important; /* enforce monospace inside spans */ } /* Reset span backgrounds so lines don’t stack weirdly */