diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-08 22:16:08 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-08 22:16:08 +0200 |
| commit | 8ac43366929e2ea66abbf0fc8fe535ecfbea0262 (patch) | |
| tree | 2eb4e3804413135d4e5daf550837cde1514ddc64 /src/librustdoc/html/static | |
| parent | 6d84a355c34fc7dfc1a201478f99890046081398 (diff) | |
| download | rust-8ac43366929e2ea66abbf0fc8fe535ecfbea0262.tar.gz rust-8ac43366929e2ea66abbf0fc8fe535ecfbea0262.zip | |
Improve headers linking
Diffstat (limited to 'src/librustdoc/html/static')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 51465bafc42..24c0ec04fa1 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -438,6 +438,16 @@ a { background: transparent; } +.small-section-header:hover > .anchor { + display: initial; +} +.anchor { + display: none; +} +.anchor:after { + content: '\2002\00a7\2002'; +} + .docblock a:hover, .docblock-short a:hover, .stability a { text-decoration: underline; } |
