Directly use pygmentize in Makefile (for scn script in Website)

This commit is contained in:
2023-05-27 17:42:06 +02:00
parent 28c2721036
commit fd72b512f8
16 changed files with 484 additions and 299 deletions

View File

@@ -41,7 +41,7 @@ body
border-left: .25rem solid #E53935;
}
.yellow-code
.yellow-code pre
{
border-left: .25rem solid #FFCB05;
}
@@ -270,6 +270,7 @@ a.card:hover
table.scode_table {
max-height: none;
overflow: hidden;
}
table.scode_table td:nth-child(2) {
@@ -300,7 +301,7 @@ pre, pre span
}
#theme-switch {
position: absolute;
position: fixed;
top: 0.75rem;
right: 0.75rem;
cursor: pointer;
@@ -311,3 +312,8 @@ pre, pre span
filter: blur(1px);
fill: #008;
}
code {
background: #F9F9F9;
border: .0625rem solid var(--secondary-border-color);
}