a11y contrast issues

This commit is contained in:
madrilene 2022-10-30 12:01:21 +01:00
parent 595796ff48
commit eaf170e739
4 changed files with 14 additions and 19 deletions

View file

@ -1,10 +1,5 @@
{ {
"items": [ "items": [
{
"text": "Home",
"url": "/"
},
{ {
"text": "Markdown", "text": "Markdown",
"url": "/markdown/" "url": "/markdown/"

View file

@ -1,7 +1,7 @@
{% set assetHash = global.random() %} {% set assetHash = global.random() %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ meta.lang }} "> <html lang="{{ meta.lang }}">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />

View file

@ -2,7 +2,7 @@ code,
pre { pre {
padding: 0.125em 0.4em; padding: 0.125em 0.4em;
font-family: var(--font-mono); font-family: var(--font-mono);
background: var(--color-primary); background: var(--color-dark);
border-radius: var(--border-radius); border-radius: var(--border-radius);
color: var(--color-light); color: var(--color-light);
font-size: var(--size-step-0); font-size: var(--size-step-0);
@ -74,7 +74,7 @@ pre[class*='language-'] {
} }
.token.atrule { .token.atrule {
color: #c792ea; color: #d2b1e7;
} }
.token.attr-name { .token.attr-name {
@ -90,7 +90,7 @@ pre[class*='language-'] {
} }
.token.boolean { .token.boolean {
color: #c792ea; color: #d2b1e7;
} }
.token.builtin { .token.builtin {
@ -122,7 +122,7 @@ pre[class*='language-'] {
} }
.token.constant { .token.constant {
color: #c792ea; color: #d2b1e7;
} }
.token.deleted { .token.deleted {
@ -138,7 +138,7 @@ pre[class*='language-'] {
} }
.token.function { .token.function {
color: #c792ea; color: #d2b1e7;
} }
.token.hexcode { .token.hexcode {
@ -146,12 +146,12 @@ pre[class*='language-'] {
} }
.token.id { .token.id {
color: #c792ea; color: #d2b1e7;
font-weight: bold; font-weight: bold;
} }
.token.important { .token.important {
color: #c792ea; color: #d2b1e7;
font-weight: bold; font-weight: bold;
} }
@ -160,7 +160,7 @@ pre[class*='language-'] {
} }
.token.keyword { .token.keyword {
color: #c792ea; color: #d2b1e7;
font-style: italic; font-style: italic;
} }
@ -205,7 +205,7 @@ pre[class*='language-'] {
} }
.token.symbol { .token.symbol {
color: #c792ea; color: #d2b1e7;
} }
.token.tag { .token.tag {

View file

@ -119,16 +119,16 @@ Autoconverted link https://github.com/nodeca/pica (enabled via linkify)
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat') ![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat')
### [Emojis](https://github.com/markdown-it/markdown-it-emoji) ### Emojis
Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum: Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
Shortcuts (emoticons): :-) :-( 8-) ;) Shortcuts (emoticons): :-) :-( 8-) ;)
### [\<mark>](https://github.com/markdown-it/markdown-it-mark) ### mark
==Marked text== ==Marked text==
### [Footnotes](https://github.com/markdown-it/markdown-it-footnote) ### Footnotes
Footnote 1 link[^first]. Footnote 1 link[^first].
Footnote 2 link[^second]. Footnote 2 link[^second].
@ -141,7 +141,7 @@ Duplicated footnote reference[^second].
[^second]: Footnote text. [^second]: Footnote text.
### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr) ### Abbreviations
Todo: not working., Todo: not working.,