diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index a0d4190..fc77120 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -935,9 +935,9 @@ .wrapper_advertisement{ padding: unset; } - .advertisement_block_news{ - height: 80px; - } + /*.advertisement_block_news{*/ + /* height: 80px;*/ + /*}*/ .three_pinned_news{ margin: unset; } diff --git a/static/css/styles.css b/static/css/styles.css index 226ad54..ca1ae6d 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2898,13 +2898,17 @@ details[open] summary ~ *{ /*END_user_articles*/ /*news articles all*/ .advertisement_block_news{ - height: 200px; - text-align: center; - border-radius: 10px; - background: #FFF; - box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20); + /*text-align: center;*/ + /*background: #FFF;*/ + /*box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20);*/ margin-bottom: 40px; } +.advertisement_content>img{ + width: 100%; + border-radius: 10px; + box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20); + +} .wrapper_advertisement { /*padding-top: 140px;*/ diff --git a/static/img/png/banner_test.png b/static/img/png/banner_test.png new file mode 100644 index 0000000..907406e Binary files /dev/null and b/static/img/png/banner_test.png differ diff --git a/static/img/png/banner_test_3.png b/static/img/png/banner_test_3.png new file mode 100644 index 0000000..1d97fb6 Binary files /dev/null and b/static/img/png/banner_test_3.png differ diff --git a/templates/pages/p_article.html b/templates/pages/p_article.html index 47b9c18..77b7012 100644 --- a/templates/pages/p_article.html +++ b/templates/pages/p_article.html @@ -9,6 +9,7 @@ diff --git a/templates/pages/p_articles.html b/templates/pages/p_articles.html index ada10c8..1a69b0c 100644 --- a/templates/pages/p_articles.html +++ b/templates/pages/p_articles.html @@ -6,6 +6,7 @@