diff --git a/core/modules/contextual/css/contextual.theme.css b/core/modules/contextual/css/contextual.theme.css
index be6d44ab162bca9741e86f298077e43ca5b10992..7475a1d3a44ff9f8285ce9a27ed79f0be6e76f83 100644
--- a/core/modules/contextual/css/contextual.theme.css
+++ b/core/modules/contextual/css/contextual.theme.css
@@ -91,9 +91,7 @@
 }
 .contextual-region .contextual .contextual-links a {
   background-color: #fff;
-  /* This is an unfortunately necessary use of !important to prevent white
-   * links on a white background or some similar illegible combination. */
-  color: #333 !important;
+  color: #333;
   display: block;
   font-family: sans-serif;
   font-size: small;
diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css
index 5dad1108c85cb58b98600fdd8bdfeb947754b530..6314e9310024e5a93fd591f6581b8941d3abf59e 100644
--- a/core/themes/bartik/css/style.css
+++ b/core/themes/bartik/css/style.css
@@ -953,17 +953,17 @@ ul.links {
 
 /* ------------------ Footer ------------------ */
 
-#footer-wrapper {
+#footer-wrapper .block .content {
   color: #c0c0c0;
   color: rgba(255, 255, 255, 0.65);
   font-size: 0.857em;
 }
-#footer-wrapper a {
+#footer-wrapper .block .content a {
   color: #fcfcfc;
   color: rgba(255, 255, 255, 0.8);
 }
-#footer-wrapper a:hover,
-#footer-wrapper a:focus {
+#footer-wrapper .block .content a:hover,
+#footer-wrapper .block .content a:focus {
   color: #fefefe;
   color: rgba(255, 255, 255, 0.95);
   text-decoration: underline;