This commit is contained in:
parent
bb4c423c95
commit
307b63da17
1 changed files with 18 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue