diff --git a/mu-plugins/fea-accesibilidad.php b/mu-plugins/fea-accesibilidad.php index edce3c0..c1476d3 100644 --- a/mu-plugins/fea-accesibilidad.php +++ b/mu-plugins/fea-accesibilidad.php @@ -105,6 +105,23 @@ add_action('wp_head', function () { border-color: #3a3a3a; } + /* Search block uses more-specific own color rules. */ + html[data-fea-theme="dark"] .wp-block-search__inside-wrapper, + html[data-fea-theme="dark"] .wp-block-search__input, + html[data-fea-theme="dark"] .wp-block-search__button { + background-color: #1c1c1c; + color: #ececec; + border-color: #3a3a3a; + } + + /* Crop the white edge embedded in slide images in dark mode only. */ + html[data-fea-theme="dark"] .fea-hero-slider .n2-ss-slide-background-image { + overflow: hidden; + } + html[data-fea-theme="dark"] .fea-hero-slider .n2-ss-slide-background-image img { + transform: scale(1.015); + } + /* Portada — franja hero (fea-homepage.php) */ html[data-fea-theme="dark"] .fea-hero-band { background: linear-gradient(180deg, #1a1512, #0d0d0d);