client: improve link accessibility in markdown
This commit is contained in:
parent
a139acc747
commit
534cd87dc9
3 changed files with 1 additions and 4 deletions
|
@ -79,6 +79,7 @@
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdownPreview code::before,
|
.markdownPreview code::before,
|
||||||
|
|
|
@ -12,8 +12,6 @@ renderer.heading = (text, level, _, slugger) => {
|
||||||
const id = slugger.slug(text)
|
const id = slugger.slug(text)
|
||||||
const Component = `h${level}`
|
const Component = `h${level}`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return renderToStaticMarkup(
|
return renderToStaticMarkup(
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
<Component>
|
<Component>
|
||||||
|
|
|
@ -84,7 +84,6 @@ html[data-theme="light"] input[type="checkbox"]:checked {
|
||||||
|
|
||||||
input[type="checkbox"]:focus {
|
input[type="checkbox"]:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 0 0 2px var(--gray);
|
|
||||||
border-color: var(--fg);
|
border-color: var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +105,6 @@ article li > p {
|
||||||
|
|
||||||
article pre {
|
article pre {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
background: var(--lightest-gray);
|
|
||||||
border-radius: var(--inline-radius);
|
border-radius: var(--inline-radius);
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|
Loading…
Reference in a new issue