diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 3df120eece9c5..e33c304f54986 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -189,7 +189,6 @@ nav.sub {
}
.sidebar .location {
- border: 1px solid;
font-size: 17px;
margin: 30px 0 20px 0;
text-align: center;
@@ -772,4 +771,4 @@ span.since {
nav.sub, .content .out-of-band, .collapse-toggle {
display: none;
}
-}
\ No newline at end of file
+}
diff --git a/src/librustdoc/html/static/styles/main.css b/src/librustdoc/html/static/styles/main.css
index 74ec3691b3860..6762e86c58e8d 100644
--- a/src/librustdoc/html/static/styles/main.css
+++ b/src/librustdoc/html/static/styles/main.css
@@ -38,7 +38,7 @@ pre {
}
.sidebar {
- background-color: #F1F1F1;
+ background-color: #F8F8F8;
}
.sidebar .current {
@@ -46,13 +46,11 @@ pre {
}
.sidebar .location {
- border-color: #000;
- background-color: #fff;
- color: #333;
+ background-color: #e1e1e1;
}
.block a:hover {
- background: #F5F5F5;
+ background: #EEEEEE;
}
.line-numbers span { color: #c67e2d; }
@@ -179,4 +177,4 @@ a.test-arrow:hover{
:target > code {
background: #FDFFD3;
-}
\ No newline at end of file
+}