diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-07-19 11:37:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-19 11:37:42 +0200 |
| commit | 456ebd30d5b5f72d1ff75b6bd7a86612fc28017b (patch) | |
| tree | 728fcf19ec038b6aee4ab84792da85e7915612ce /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 0fce468fe80ef818587d3fd2b4702a7d99f59cc4 (diff) | |
| parent | 1941764607cf1c2f85d1301496d5e49eb3e5356a (diff) | |
| download | rust-456ebd30d5b5f72d1ff75b6bd7a86612fc28017b.tar.gz rust-456ebd30d5b5f72d1ff75b6bd7a86612fc28017b.zip | |
Rollup merge of #87210 - notriddle:notriddle/rustdoc-sidebar-headers, r=GuillaumeGomez
Rustdoc accessibility: make the sidebar headers actual headers Part of #87059 Preview it at: https://notriddle.com/notriddle-rustdoc-test/rustdoc-sidebar-header/std/index.html
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index b86f012c0e1..a7ffd8a9aea 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -342,6 +342,8 @@ nav.sub { margin: 30px 10px 20px 10px; text-align: center; word-wrap: break-word; + font-weight: inherit; + padding: 0; } .sidebar .version { @@ -394,6 +396,8 @@ nav.sub { text-align: center; font-size: 17px; margin-bottom: 5px; + font-weight: inherit; + padding: 0; } .sidebar-links { |
