Allow the spoilering of links (fixes #610)

This commit is contained in:
spikecodes 2022-11-03 21:30:35 -07:00
parent 8348e20724
commit c0e37443ae
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
1 changed files with 7 additions and 2 deletions

View File

@ -1182,16 +1182,21 @@ input[type="submit"] {
color: var(--accent);
}
.md .md-spoiler-text {
.md .md-spoiler-text, .md-spoiler-text a {
background: var(--highlighted);
color: transparent;
}
.md .md-spoiler-text:hover {
.md-spoiler-text:hover {
background: var(--foreground);
color: var(--text);
}
.md-spoiler-text:hover a {
background: var(--foreground);
color: var(--accent);
}
.md li { margin: 10px 0; }
.toc_child { list-style: none; }