fix: improve keyboard accessability for anchors and code blocks (#434)

This commit is contained in:
Robert Kaussow 2022-06-10 21:44:08 +02:00 committed by GitHub
parent ed5c770d57
commit 7195431d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 64 additions and 79 deletions

View file

@ -184,13 +184,17 @@
margin: 1rem 0;
}
code {
padding: 0.2em 0.4em;
}
pre,
code {
background-color: var(--code-background);
border-radius: $border-radius;
color: var(--code-font-color);
font-size: 0.85em;
font-size: 0.85rem;
line-height: 1.45em;
padding: 0.2em 0.4em;
}
pre code {