diff --git a/core/themes/bartik/css/components/site-footer.css b/core/themes/bartik/css/components/site-footer.css index 9d2dfba..39e5a2e 100644 --- a/core/themes/bartik/css/components/site-footer.css +++ b/core/themes/bartik/css/components/site-footer.css @@ -64,14 +64,16 @@ } /** - * Suppress the padding from @media all and (min-width: 560px), which - * overrides the padding: 10px; rule from .site-footer__top .region. + * We need to be very specific for the padding for region-footer-second and + * region-footer-third, in order to suppress the padding cancellation rule in + * @media all and (min-width: 560px) { + * [dir="rtl"] .site-footer__top .region:nth-child(2n+1) {} + * [dir="rtl"] .site-footer__top .region:nth-child(2n) {} + * }. */ - [dir="rtl"] .site-footer__top .region:nth-child(2n+1) { - padding-right: 10px; - } - [dir="rtl"] .site-footer__top .region:nth-child(2n) { - padding-left: 10px; + [dir="rtl"] .site-footer__top .region.region-footer-second, + [dir="rtl"] .site-footer__top .region.region-footer-third { + padding: 10px; } .region-footer-third { clear: none;