From 38c4f3426d429d593f68af986fe1a8d40eb393da Mon Sep 17 00:00:00 2001 From: ArtemB Date: Mon, 1 Jul 2024 17:53:54 +0300 Subject: [PATCH] 1.1.23 add h1 for all pages --- static/css/mobile_styles.css | 4 ++++ static/css/styles.css | 18 +++++++++++------- templates/blocks/profile/b_new_route.html | 5 +++++ .../static_pages_blocks/b_about_service.html | 1 + .../static_pages_blocks/b_advertisement.html | 3 ++- .../blocks/static_pages_blocks/b_contacts.html | 3 ++- .../b_customer_service.html | 3 ++- .../static_pages_blocks/b_mover_search.html | 6 ++++-- .../blocks/static_pages_blocks/b_partners.html | 3 ++- templates/pages/p_articles.html | 1 + templates/pages/p_main.html | 7 +++++-- 11 files changed, 39 insertions(+), 15 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index f88e4b8..1dde9e8 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -1515,6 +1515,10 @@ @media (max-width: 950px){ +#title_static_small{ + display: none; +} + .info_profile{ width: 65%; float: none; diff --git a/static/css/styles.css b/static/css/styles.css index 1b442ae..a44e2b6 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2265,7 +2265,7 @@ button.cancel_remove.show, button.confirm_remove.show{ font-size: 26px; } -#title_static{ +#title_static, #title_static_small{ text-align: center; font-size: 44px; font-style: normal; @@ -2275,6 +2275,10 @@ button.cancel_remove.show, button.confirm_remove.show{ } +#title_static_small{ + font-size: 34px; +} + .ta_center{ margin: 120px auto 40px; } @@ -2337,12 +2341,12 @@ span#sub_title_static{ height: 60px; } -.top_block_static{ +.top_block_static { position: relative; width: 90%; - height: 194px; + height: 270px; margin: 0 auto 0; - padding: 60px 40px 0 40px; + padding: 40px 40px 0 40px; } .top_block_static_wrapper{ @@ -2376,10 +2380,10 @@ span#sub_title_static{ url(/static/img/png/Box8.png), url(/static/img/png/Box4.png); background-position: - bottom -31px left -13px, + bottom 26px left -13px, top 159px left 242px, - top 0px right -15px, - top 146px right 215px; + top 34px right -19px, + top 145px right 215px; background-repeat: no-repeat, no-repeat, diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 80f4980..b634a1e 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -5,6 +5,11 @@ + {% if owner_type == 'customer' %} +

{% trans "Отправки посылки TripWB по всему миру"%}

+ {% elif owner_type == 'mover' %} +

{% trans "Перевозки посылок TripWB"%}

+ {% endif %}
{% csrf_token %} diff --git a/templates/blocks/static_pages_blocks/b_about_service.html b/templates/blocks/static_pages_blocks/b_about_service.html index f42106d..b1054ae 100644 --- a/templates/blocks/static_pages_blocks/b_about_service.html +++ b/templates/blocks/static_pages_blocks/b_about_service.html @@ -2,6 +2,7 @@
{% blocktrans %}Отправляй посылку в любую точку мира!{% endblocktrans %}
+

{% blocktrans %}О сервисе TripWB {% endblocktrans %}

{{ page.description }}