From 3bb8f13d6fce08e91a67fcd94684ffbf2f8021c5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 16 Feb 2022 13:44:34 +0000 Subject: [PATCH] Twenty Seventeen: Remove bottom border (box-shadow) from linked images. Props mikachan, sabernhardt, nidhidhandhukiya, mukesh27, scruffian. Fixes #55141. git-svn-id: https://develop.svn.wordpress.org/trunk@52740 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/blocks.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/blocks.css b/src/wp-content/themes/twentyseventeen/assets/css/blocks.css index 48bf62ef4e..a64b1d3458 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/src/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -60,6 +60,16 @@ p.has-drop-cap:not(:focus)::first-letter { margin-left: 1.5em; } +.wp-block-image a, +.wp-block-image a:hover, +.wp-block-image a:focus, +.widget-area .wp-block-image a, +.widget-area .wp-block-image a:hover, +.widget-area .wp-block-image a:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + /* Gallery */ .wp-block-gallery {