code listing post: Fix code listing, remove unnecessary part

This commit is contained in:
jaseg 2025-07-26 16:15:51 +02:00
parent 90e8ff7ac0
commit 02abb01549
2 changed files with 8 additions and 16 deletions

View file

@ -105,14 +105,6 @@ for the pygments tokens.
counter-reset: lineno;
}
footer {
margin-top: 30px;
align-self: center;
margin-bottom: 10px;
text-align: center;
padding: 5px 25px 5px 25px;
}
.code .hll {}
/* Following are about 50 lines that define the styling of each kind of pygments syntax highlight token. These lines
all look like the following: */

View file

@ -541,14 +541,6 @@ img:hover {
counter-reset: lineno;
}
footer {
margin-top: 30px;
align-self: center;
margin-bottom: 10px;
text-align: center;
padding: 5px 25px 5px 25px;
}
/* Token styling rules for syntax highlighting */
.code .hll {}
.code .c { color: var(--c-text); font-weight: 400 } /* Comment */
@ -607,6 +599,14 @@ footer {
.code .ss { color: var(--c-text); font-weight: 600 } /* Literal.String.Symbol */
.code .il { color: var(--c-text); font-weight: 600 } /* Literal.Number.Integer.Long */
footer {
margin-top: 30px;
align-self: center;
margin-bottom: 10px;
text-align: center;
padding: 5px 25px 5px 25px;
}
@media (max-width: 40em) {
nav > div {
flex-grow: 1;