diff --git a/web/themes/erabletheme/css/styles.css b/web/themes/erabletheme/css/styles.css index 4ec8dd6..96a9eb2 100644 --- a/web/themes/erabletheme/css/styles.css +++ b/web/themes/erabletheme/css/styles.css @@ -644,11 +644,11 @@ a { font-size: 1.3rem; margin-bottom: 30px; } -.actu_full h2 + div > div:nth-of-type(2) > div { +.actu_full h2 + div > div > div { width: 100%; margin-bottom: 40px; } -.actu_full h2 + div > div:nth-of-type(2) > div img { +.actu_full h2 + div > div > div img { width: 100%; height: auto; } @@ -1387,7 +1387,7 @@ a { max-width: 50vw; } } -.home_consultation h2 + div h2, .home_consultation h2 + div h3 { +.home_consultation h2 + div h2, .home_consultation h2 + div h3, .home_consultation h2 + div h4 { font-family: "Barlow", sans-serif; color: black; font-size: 1.6rem; diff --git a/web/themes/erabletheme/scss/_home.scss b/web/themes/erabletheme/scss/_home.scss index 4192e50..0a0bcf3 100644 --- a/web/themes/erabletheme/scss/_home.scss +++ b/web/themes/erabletheme/scss/_home.scss @@ -72,7 +72,7 @@ } } h2 + div { - h2, h3 { + h2, h3, h4 { @include sous_titre_alt(); margin-left: 12.5vw; max-width: 50vw; diff --git a/web/themes/erabletheme/scss/partials/_articles.scss b/web/themes/erabletheme/scss/partials/_articles.scss index 7777d99..df18fa2 100644 --- a/web/themes/erabletheme/scss/partials/_articles.scss +++ b/web/themes/erabletheme/scss/partials/_articles.scss @@ -33,7 +33,7 @@ font-size: $l_font_size; margin-bottom: 30px; } - > div:nth-of-type(2) { + > div { > div { width: 100%; margin-bottom: 40px;