diff --git a/src/librustdoc/html/static/css/themes/dark.css b/src/librustdoc/html/static/css/themes/dark.css
index a678ec1e1c1..184d0e77a90 100644
--- a/src/librustdoc/html/static/css/themes/dark.css
+++ b/src/librustdoc/html/static/css/themes/dark.css
@@ -178,9 +178,6 @@ a {
color: #D2991D;
}
-a.test-arrow {
- color: #dedede;
-}
body.source .example-wrap pre.rust a {
background: #333;
}
@@ -255,6 +252,7 @@ pre.rust .question-mark {
}
a.test-arrow {
+ color: #dedede;
background-color: rgba(78, 139, 202, 0.2);
}
diff --git a/src/librustdoc/html/static/css/themes/light.css b/src/librustdoc/html/static/css/themes/light.css
index e8770ac2124..c6ba13fe1d6 100644
--- a/src/librustdoc/html/static/css/themes/light.css
+++ b/src/librustdoc/html/static/css/themes/light.css
@@ -175,9 +175,6 @@ a {
color: #3873AD;
}
-a.test-arrow {
- color: #f5f5f5;
-}
body.source .example-wrap pre.rust a {
background: #eee;
}
@@ -239,7 +236,8 @@ pre.rust .question-mark {
}
a.test-arrow {
- background-color: rgb(78, 139, 202, 0.2);
+ color: #f5f5f5;
+ background-color: rgba(78, 139, 202, 0.2);
}
a.test-arrow:hover{