autodoc: highlight target line

This commit is contained in:
Ali Chraghi 2022-09-02 19:11:34 +04:30 committed by GitHub
parent f7784a081f
commit 30e85c9c80
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{