diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 3174c1be3ad..27b1dfc9ce3 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -1340,7 +1340,16 @@
output = '
';
+ '">DuckDuckGo?
' +
+ 'Or try looking in one of these:';
}
return [output, length];
}
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 8bcb828a5ad..aa43a0bb58a 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -658,9 +658,9 @@ a {
padding-right: 10px;
}
.content .search-results td:first-child a:after {
- clear: both;
- content: "";
- display: block;
+ clear: both;
+ content: "";
+ display: block;
}
.content .search-results td:first-child a span {
float: left;
@@ -1116,6 +1116,13 @@ pre.rust {
margin-top: 20px;
}
+.search-failed > ul {
+ text-align: left;
+ max-width: 570px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
#titles {
height: 35px;
}
diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css
index 4a8950b236c..9c90c948581 100644
--- a/src/librustdoc/html/static/themes/dark.css
+++ b/src/librustdoc/html/static/themes/dark.css
@@ -285,7 +285,7 @@ pre.ignore:hover, .information:hover + pre.ignore {
color: rgba(255,142,0,1);
}
-.search-failed > a {
+.search-failed a {
color: #0089ff;
}
diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css
index b3b0b6b2ea9..e839fc3f278 100644
--- a/src/librustdoc/html/static/themes/light.css
+++ b/src/librustdoc/html/static/themes/light.css
@@ -279,7 +279,7 @@ pre.ignore:hover, .information:hover + pre.ignore {
color: rgba(255,142,0,1);
}
-.search-failed > a {
+.search-failed a {
color: #0089ff;
}