From 602724f7a801f2253c5c811e795f5bd100c53fee Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Feb 2018 03:33:35 +0000 Subject: [PATCH] Twenty Seventeen: Underline links in comments. Props jainnidhi, larrach, audrasjb. Fixes #43317. git-svn-id: https://develop.svn.wordpress.org/trunk@42713 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/colors-dark.css | 6 ++++++ .../themes/twentyseventeen/inc/color-patterns.php | 7 +++++++ src/wp-content/themes/twentyseventeen/style.css | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index d6fda60c4e..3b85b97d96 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css @@ -19,6 +19,8 @@ .colors-dark .entry-content a:hover, .colors-dark .entry-summary a:focus, .colors-dark .entry-summary a:hover, +.colors-dark .comment-content a:focus, +.colors-dark .comment-content a:hover, .colors-dark .widget a:focus, .colors-dark .widget a:hover, .colors-dark .site-footer .widget-area a:focus, @@ -74,6 +76,8 @@ .colors-dark .entry-content a:hover, .colors-dark .entry-summary a:focus, .colors-dark .entry-summary a:hover, +.colors-dark .comment-content a:focus, +.colors-dark .comment-content a:hover, .colors-dark .widget a:focus, .colors-dark .widget a:hover, .colors-dark .site-footer .widget-area a:focus, @@ -128,6 +132,7 @@ .colors-dark .entry-content a, .colors-dark .entry-summary a, +.colors-dark .comment-content a, .colors-dark .widget a, .colors-dark .site-footer .widget-area a, .colors-dark .posts-navigation a, @@ -475,6 +480,7 @@ body.colors-dark, /* Fixes linked images */ .colors-dark .entry-content a img, +.colors-dark .comment-content a img, .colors-dark .widget a img { -webkit-box-shadow: 0 0 0 8px #222; box-shadow: 0 0 0 8px #222; diff --git a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php index 2eaca03131..ddd25d089e 100644 --- a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -36,6 +36,8 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a:hover, .colors-custom .entry-summary a:focus, .colors-custom .entry-summary a:hover, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:focus, .colors-custom .widget a:hover, .colors-custom .site-footer .widget-area a:focus, @@ -91,6 +93,7 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a, .colors-custom .entry-summary a, +.colors-custom .comment-content a, .colors-custom .widget a, .colors-custom .site-footer .widget-area a, .colors-custom .posts-navigation a, @@ -152,6 +155,8 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a:hover, .colors-custom .entry-summary a:focus, .colors-custom .entry-summary a:hover, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:focus, .colors-custom .widget a:hover, .colors-custom .site-footer .widget-area a:focus, @@ -493,6 +498,8 @@ body.colors-custom, .colors-custom .entry-content a:focus, .colors-custom .entry-summary a:hover, .colors-custom .entry-summary a:focus, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:hover, .colors-custom .widget a:focus, .colors-custom .site-footer .widget-area a:hover, diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index 5580e4e484..de3c26f494 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -1178,6 +1178,7 @@ a:active { .entry-content a, .entry-summary a, +.comment-content a, .widget a, .site-footer .widget-area a, .posts-navigation a, @@ -1225,6 +1226,8 @@ a .nav-title, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, +.comment-content a:focus, +.comment-content a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, @@ -1276,6 +1279,7 @@ a:hover .nav-title, /* Fixes linked images */ .entry-content a img, +.comment-content a img, .widget a img { -webkit-box-shadow: 0 0 0 8px #fff; box-shadow: 0 0 0 8px #fff;