diff --git a/core/themes/bartik/css/components/featured-bottom.css b/core/themes/bartik/css/components/featured-bottom.css index 71c3a28..cd95140 100644 --- a/core/themes/bartik/css/components/featured-bottom.css +++ b/core/themes/bartik/css/components/featured-bottom.css @@ -8,25 +8,19 @@ background: rgba(30, 50, 10, 0.08); border-top: 1px solid #e7e7e7; } -.region-featured-bottom-first, -.region-featured-bottom-second, -.region-featured-bottom-third { +.featured-bottom .region { box-sizing: border-box; padding: 0 20px 0; } @media all and (min-width: 560px) { - .region-featured-bottom-first, - .region-featured-bottom-second, - .region-featured-bottom-third { + .featured-bottom .region { float: left; /* LTR */ position: relative; box-sizing: border-box; padding: 20px 15px 30px; width: 33%; } - [dir="rtl"] .region-featured-bottom-first, - [dir="rtl"] .region-featured-bottom-second, - [dir="rtl"] .region-featured-bottom-third { + [dir="rtl"] .featured-bottom .region { float: right; } .region-featured-bottom-second { @@ -34,13 +28,11 @@ } } @media all and (min-width: 851px) { - .region-featured-bottom-first, - .region-featured-bottom-second, - .region-featured-bottom-third { + .featured-bottom .region { padding: 0 20px; } } -.featured-bottom-inner h2 { +.featured-bottom__inner h2 { color: #000; font-size: 1.4em; margin-bottom: 0.6em; @@ -48,30 +40,30 @@ text-align: center; line-height: 1; } -.featured-bottom-inner .block { +.featured-bottom__inner .block { margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #dfdfdf; line-height: 1.3; } -.featured-bottom-inner .block:last-child { +.featured-bottom__inner .block:last-child { border-bottom: none; } -.featured-bottom-inner .block ul li, -.featured-bottom-inner .block ol li { +.featured-bottom__inner .block ul li, +.featured-bottom__inner .block ol li { list-style: none; } -.featured-bottom-inner .block ul, -.featured-bottom-inner .block ol { +.featured-bottom__inner .block ul, +.featured-bottom__inner .block ol { padding-left: 0; } -.featured-bottom-inner #block-user-login .form-text { +.featured-bottom__inner #block-user-login .form-text { width: 185px; } -.featured-bottom-inner #block-user-online p { +.featured-bottom__inner #block-user-online p { margin-bottom: 0; } -.featured-bottom-inner #block-node-syndicate h2 { +.featured-bottom__inner #block-node-syndicate h2 { overflow: hidden; width: 0; height: 0; @@ -79,7 +71,7 @@ .featured-bottom-third #block-node-syndicate { text-align: right; } -.featured-bottom-inner #block-search-form .form-type-search input { +.featured-bottom__inner #block-search-form .form-type-search input { width: 185px; } .featured-bottom-second #block-system-powered-by { diff --git a/core/themes/bartik/css/layout.css b/core/themes/bartik/css/layout.css index 43be8b1..e84751e 100644 --- a/core/themes/bartik/css/layout.css +++ b/core/themes/bartik/css/layout.css @@ -6,13 +6,13 @@ /** * Container */ -.layout-container, .featured-bottom-inner { +.layout-container, .featured-bottom__inner { max-width: 860px; margin-left: auto; margin-right: auto; } @media all and (min-width: 851px) { - .layout-container, .featured-bottom-inner { + .layout-container, .featured-bottom__inner { max-width: 1290px; } } diff --git a/core/themes/bartik/templates/page.html.twig b/core/themes/bartik/templates/page.html.twig index 765657a..e997f32 100644 --- a/core/themes/bartik/templates/page.html.twig +++ b/core/themes/bartik/templates/page.html.twig @@ -160,7 +160,7 @@ {% if page.featured_bottom_first or page.featured_bottom_second or page.featured_bottom_third %}