Update src/librustdoc/html/static/css/rustdoc.css

Co-authored-by: Jacob Hoffman-Andrews <github@hoffman-andrews.com>
This commit is contained in:
Michael Howell 2022-10-26 02:41:34 -07:00 committed by GitHub
parent 60b5f6dc91
commit b857138d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1586,8 +1586,9 @@ details.rustdoc-toggle > summary:hover::before {
}
details.rustdoc-toggle > summary:focus-visible::before {
/* The SVG is black, and gets turned white using a filter.
/* The SVG is black, and gets turned white using a filter in the dark themes.
Do the same with the outline.
The dotted 1px style is copied from Firefox's focus ring style.
*/
outline: 1px dotted #000;
outline-offset: 1px;