diff options
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index c15051376bf..50c0424aa5f 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -288,6 +288,7 @@ nav.sub { .docblock { margin-left: 24px; + position: relative; } .content .out-of-band { @@ -456,8 +457,13 @@ a { } .anchor { display: none; + position: absolute; + left: -25px; } -.anchor:after { +.anchor.field { + left: -20px; +} +.anchor:before { content: '\2002\00a7\2002'; } @@ -625,7 +631,9 @@ a.test-arrow:hover{ text-decoration: none; } -.section-header:hover a:after { +.section-header:hover a:before { + position: absolute; + left: -25px; content: '\2002\00a7\2002'; } |
