Merge pull request #12724 from alichraghi/patch-2

autodoc: highlight target line
This commit is contained in:
Loris Cro 2022-09-02 16:49:56 +02:00 committed by GitHub
commit 5581b60393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,16 @@ pub fn genHtml(
\\ text-align: right;
\\ color: #999;
\\ }
\\
\\ .line {
\\ width: 100%;
\\ display: inline-block;
\\ }
\\ .line:target {
\\ border-top: 1px solid #444;
\\ border-bottom: 1px solid #444;
\\ background: #333;
\\ }
\\
\\ @media (prefers-color-scheme: dark) {
\\ body{