This commit is contained in:
parent
e016ece421
commit
1a5dedf9de
1 changed files with 12 additions and 8 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue