From 35f135a10b24357482e3bf34b2b32f7241938664 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Wed, 29 Nov 2023 17:43:13 +0300 Subject: [PATCH] 0.0.266 replace all child for class or id --- static/css/styles.css | 12 ++++++------ templates/blocks/b_footer.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index dc22376..3919131 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -280,7 +280,7 @@ section.register>h1 { line-height: 20px; margin-bottom: 10px; } -.first-column>div:first-child{ +.footer_logo{ margin-bottom: 40px; } @@ -471,7 +471,7 @@ footer>div { margin-bottom: 10px; } -.first-column>div:nth-child(2)>div:last-child>div { +#footer_input_button { display: flex; width: 60px; height: 60px; @@ -2871,14 +2871,14 @@ details[open] summary ~ *{ width: 76%; } -.news_item_pagination:nth-child(odd) .pag_news_img, -.news_item_pagination:nth-child(odd) .pag_news_item_text{ +.news_item_pagination .odd .pag_news_img, +.news_item_pagination .odd .pag_news_item_text{ float: left; margin: 10px; overflow-wrap: break-word; } -.news_item_pagination:nth-child(even) .pag_news_img, -.news_item_pagination:nth-child(even) .pag_news_item_text{ +.news_item_pagination .even .pag_news_img, +.news_item_pagination .even .pag_news_item_text{ float: right; margin: 10px; overflow-wrap: break-word; diff --git a/templates/blocks/b_footer.html b/templates/blocks/b_footer.html index bfca720..8234cb5 100644 --- a/templates/blocks/b_footer.html +++ b/templates/blocks/b_footer.html @@ -4,11 +4,11 @@
-
+