new article and code setting changes

This commit is contained in:
Never Gude 2026-06-22 22:01:28 +02:00
parent f51adc3b36
commit d06ad2c8f4
16 changed files with 1262 additions and 14 deletions

View file

@ -8,6 +8,12 @@
--blockquote-border: #eee8d5;
--button-primary: #fdf6e3;
--button-secondary: #eee8d5;
--code-color: #657b83;
--code-background: #fdf6e3;
--code-line-number-color: #93a1a1;
--code-line-number-background: #eee8d5;
--code-comment-color: #93a1a1;
--code-keyword-color: #586e75;
}
@media (prefers-color-scheme: dark) {
@ -21,10 +27,41 @@
--blockquote-border: #073642;
--button-primary: #073642;
--button-secondary: #002b36;
--code-color: #839496;
--code-background: #002b36;
--code-line-number-color: #586e75;
--code-line-number-background: #073642;
--code-comment-color: #586e75;
--code-keyword-color: #93a1a1;
}
}
pre.numberSource code > span > a:first-child::before {
background-color: var(--code-line-number-background);
color: var(--code-line-number-color);
}
pre.numberSource {
margin-left: 3em;
border-left: none;
padding-left: 4px;
}
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: none; }
}
div.sourceCode {
color: var(--code-color);
background-color: var(--code-background);
line-height: 80%;
}
code span.co { color: var(--code-comment-color); font-style: italic; } /* Comment */
code span.do { color: var(--code-comment-color); font-style: italic; } /* Documentation */
code span.kw { color: var(--code-keyword-color); font-weight: bold; } /* Keyword */
html {
color: var(--foreground);
background: var(--html-background);