Style details summary as a link

This commit is contained in:
Kovid Goyal 2021-07-21 09:11:11 +05:30
parent 6b23921880
commit 48035977e3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 8 additions and 1 deletions

View File

@ -17,3 +17,10 @@
.sidebar-tree a.current {
font-style: italic;
}
details > summary {
color: var(--color-link);
cursor: pointer;
text-decoration-color: var(--color-link-underline);
text-decoration-line: underline;
}

View File

@ -82,7 +82,7 @@ code used for each shell below:
.. raw:: html
<details>
<summary style="cursor: pointer">Click to toggle shell integration code</summary>
<summary>Click to toggle shell integration code</summary>
.. tab:: zsh