diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 61de5f4bc4c4..3a18c6b8a809 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -94,20 +94,22 @@ r##"
Keyboard Shortcuts
- - ?
+ - ?
- Show this help dialog
- - S
+ - S
- Focus the search field
- - ↑
+ - ↑
- Move up in search results
- - ↓
+ - ↓
- Move down in search results
- - ↹
+ - ↹
- Switch tab
- - ⏎
+ - ⏎
- Go to active search result
- - + / -
- - Collapse/expand all sections
+ - +
+ - Expand all sections
+ - -
+ - Collapse all sections
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 40df2cb76176..bc2a5e663a18 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -585,18 +585,13 @@ body.blur > :not(#help) {
flex: 0 0 auto;
box-shadow: 0 0 6px rgba(0,0,0,.2);
width: 550px;
- height: 354px;
+ height: auto;
border: 1px solid;
}
#help dt {
- float: left;
- border-radius: 4px;
- border: 1px solid;
- width: 23px;
- text-align: center;
- clear: left;
- display: block;
- margin-top: -1px;
+ float: left;
+ clear: left;
+ display: block;
}
#help dd { margin: 5px 35px; }
#help .infos { padding-left: 0; }
@@ -1111,7 +1106,7 @@ h3.important {
kbd {
display: inline-block;
padding: 3px 5px;
- font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font: 15px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
vertical-align: middle;
border: solid 1px;
diff --git a/src/librustdoc/html/static/styles/main.css b/src/librustdoc/html/static/styles/main.css
index df8facccafa1..e28a328cca64 100644
--- a/src/librustdoc/html/static/styles/main.css
+++ b/src/librustdoc/html/static/styles/main.css
@@ -194,11 +194,6 @@ a.test-arrow {
border-color: #bfbfbf;;
}
-#help dt {
- border-color: #bfbfbf;
- background: #fff;
-}
-
.since {
color: grey;
}