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": [
{
"text": "Home",
"url": "/"
},
{
"text": "Markdown",
"url": "/markdown/"

View file

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

View file

@ -2,7 +2,7 @@ code,
pre {
padding: 0.125em 0.4em;
font-family: var(--font-mono);
background: var(--color-primary);
background: var(--color-dark);
border-radius: var(--border-radius);
color: var(--color-light);
font-size: var(--size-step-0);
@ -74,7 +74,7 @@ pre[class*='language-'] {
}
.token.atrule {
color: #c792ea;
color: #d2b1e7;
}
.token.attr-name {
@ -90,7 +90,7 @@ pre[class*='language-'] {
}
.token.boolean {
color: #c792ea;
color: #d2b1e7;
}
.token.builtin {
@ -122,7 +122,7 @@ pre[class*='language-'] {
}
.token.constant {
color: #c792ea;
color: #d2b1e7;
}
.token.deleted {
@ -138,7 +138,7 @@ pre[class*='language-'] {
}
.token.function {
color: #c792ea;
color: #d2b1e7;
}
.token.hexcode {
@ -146,12 +146,12 @@ pre[class*='language-'] {
}
.token.id {
color: #c792ea;
color: #d2b1e7;
font-weight: bold;
}
.token.important {
color: #c792ea;
color: #d2b1e7;
font-weight: bold;
}
@ -160,7 +160,7 @@ pre[class*='language-'] {
}
.token.keyword {
color: #c792ea;
color: #d2b1e7;
font-style: italic;
}
@ -205,7 +205,7 @@ pre[class*='language-'] {
}
.token.symbol {
color: #c792ea;
color: #d2b1e7;
}
.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')
### [Emojis](https://github.com/markdown-it/markdown-it-emoji)
### Emojis
Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
Shortcuts (emoticons): :-) :-( 8-) ;)
### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
### mark
==Marked text==
### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
### Footnotes
Footnote 1 link[^first].
Footnote 2 link[^second].
@ -141,7 +141,7 @@ Duplicated footnote reference[^second].
[^second]: Footnote text.
### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
### Abbreviations
Todo: not working.,