diff --git a/themes/modern2/assets/css/components/2-layout/responsive.scss b/themes/modern2/assets/css/components/2-layout/responsive.scss index 648bc26bb..0d5e86790 100755 --- a/themes/modern2/assets/css/components/2-layout/responsive.scss +++ b/themes/modern2/assets/css/components/2-layout/responsive.scss @@ -516,11 +516,21 @@ width: 100%; } } + img { + width: 100%; + margin: 15px 0; + display: block; + } } &__footer { flex-direction: column; -ms-flex-direction: column; } + img { + width: 100%; + margin: 15px 0; + display: block; + } } .newsSlider { .newsSlider__item { diff --git a/themes/modern2/assets/css/components/3-page/home.scss b/themes/modern2/assets/css/components/3-page/home.scss index 1973fbe6f..d94470518 100755 --- a/themes/modern2/assets/css/components/3-page/home.scss +++ b/themes/modern2/assets/css/components/3-page/home.scss @@ -46,10 +46,14 @@ } } } - +.hero { + &__inner { + overflow: hidden; + } +} .marquee div { display: block; - width: 200%; + width: 400%; height: 30px; position: absolute; overflow: hidden; @@ -58,7 +62,7 @@ .marquee span { float: left; - width: 50%; + width: 25%; font-size: 14px; line-height: 40px; font-weight: 400; diff --git a/themes/modern2/assets/css/components/3-page/news.scss b/themes/modern2/assets/css/components/3-page/news.scss index 79bbbc6a3..da9d3246d 100755 --- a/themes/modern2/assets/css/components/3-page/news.scss +++ b/themes/modern2/assets/css/components/3-page/news.scss @@ -65,7 +65,19 @@ width: 70%; margin: 30px auto; display: block; + height: auto; } + strong { + a { + color: #4285f4; + } + } + } + img { + width: 70%; + margin: 30px auto; + display: block; + height: auto; } } &__footer { diff --git a/themes/modern2/assets/css/main.css b/themes/modern2/assets/css/main.css index 30913ebea..b804418e0 100755 --- a/themes/modern2/assets/css/main.css +++ b/themes/modern2/assets/css/main.css @@ -1216,9 +1216,13 @@ li { content: ""; } +.hero__inner { + overflow: hidden; +} + .marquee div { display: block; - width: 200%; + width: 400%; height: 30px; position: absolute; overflow: hidden; @@ -1227,7 +1231,7 @@ li { .marquee span { float: left; - width: 50%; + width: 25%; font-size: 14px; line-height: 40px; font-weight: 400; @@ -1888,6 +1892,16 @@ li { width: 70%; margin: 30px auto; display: block; + height: auto; +} +.news__body p strong a { + color: #4285f4; +} +.news__body img { + width: 70%; + margin: 30px auto; + display: block; + height: auto; } .news__footer { display: flex; @@ -2439,9 +2453,19 @@ li { margin: 15px 0; width: 100%; } + .news__body img { + width: 100%; + margin: 15px 0; + display: block; + } .news__footer { flex-direction: column; } + .news img { + width: 100%; + margin: 15px 0; + display: block; + } .newsSlider .newsSlider__item img { height: 250px;