From c1c67eccff163bf0f6d7af7d914c8753662b917c Mon Sep 17 00:00:00 2001 From: zacc806 Date: Mon, 22 Jan 2024 15:58:53 +0600 Subject: [PATCH] fixed the header a bit --- core/static/css/responsive.css | 10 +- core/static/css/style1.css | 4 +- start.sh | 0 templates/base.html | 181 +---------------------- templates/shop/shop/product_details.html | 22 +-- templates/shop/shop/shop.html | 57 +------ 6 files changed, 14 insertions(+), 260 deletions(-) mode change 100644 => 100755 start.sh diff --git a/core/static/css/responsive.css b/core/static/css/responsive.css index c3aae7f..659c0c8 100644 --- a/core/static/css/responsive.css +++ b/core/static/css/responsive.css @@ -148,7 +148,7 @@ width: 380px; } .header-two .logo, .header-two .cart-itmes, .header-two .mainmenu a { - line-height: 90px; + line-height: 70px; } .colect-text h5 { font-size: 13px; @@ -244,7 +244,7 @@ tbody .td-img > a {margin-right: 10px;} .mean-container .mean-bar,.mean-container .mean-nav { background: #f4cca4 none repeat scroll 0 0; } -header .logo,.middel-top .right a {line-height: 50px;} +header .logo,.middel-top .right a {line-height: 70px;} .cart-itmes {line-height: 70px;} .middel-top .left p {line-height: 15px;} .middel-top .center input {width: 85%;} @@ -381,10 +381,10 @@ header .logo,.middel-top .right a {line-height: 50px;} top: 42px; } .header-two .logo, .header-two .cart-itmes, .header-two .mainmenu a { - line-height: 90px; + line-height: 70px; } .header-two .cart-itmes a.cart-itme-a i { - margin-top: -30px; + margin-top: 30px; } .cart-itmes > a.cart-itme-a {top: 20px;} .single-colect a {text-align: center;} @@ -396,7 +396,7 @@ header .logo,.middel-top .right a {line-height: 50px;} } .footer-two .social-media { padding-bottom: 0; - padding-top: 40px; + padding-top: 10px; } .newsletter.get-touch,.your-rating,.main-input.new-customer { margin-top: 30px; diff --git a/core/static/css/style1.css b/core/static/css/style1.css index 89d7d98..588a1d9 100644 --- a/core/static/css/style1.css +++ b/core/static/css/style1.css @@ -222,7 +222,7 @@ input:focus, textarea:focus {outline: 0px;} line-height: 30px; } .middel-top .left p {line-height: 75px;} -header .logo ,.cart-itmes{line-height: 150px;} +header .logo ,.cart-itmes{line-height: 50px;} .cart-itmes > a.cart-itme-a { font-size: 16px; text-transform: lowercase; @@ -1041,7 +1041,7 @@ footer ,.latest-blog,.single-products,.service-text,.coming-product.coming-produ line-height: 50px; } .header-top-two,.footer-bottom {background: #eee none repeat scroll 0 0;} -.header-two .logo, .header-two .cart-itmes, .header-two .mainmenu a{line-height:120px;} +.header-two .logo, .header-two .cart-itmes, .header-two .mainmenu a{line-height:70px;} .header-two .mainmenu li > ul > li > a{line-height:1;} .header-two .mainmenu li:first-child,.header-two .mainmenu li{border:0;} .header-top-two .middel-top { diff --git a/start.sh b/start.sh old mode 100644 new mode 100755 diff --git a/templates/base.html b/templates/base.html index cf31916..811918b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,7 +5,7 @@ - {% block title %}E - S H O P{% endblock title %} + {% block title %}TOY STORE-Y{% endblock title %} @@ -41,32 +41,6 @@ - - - - @@ -78,156 +52,9 @@ -
- {% comment %}
-
-
-
-
- {% if user.id is None %} -
-

Добро пожаловать, гость!

-
- {% else %} -
-

Добро пожаловать, {{user.first_name | capfirst}}!

-
- {% endif %} -
-
- - -
-
-
-
-
- {% endcomment %} - -
-
-
- -
- - -
+
+
diff --git a/templates/shop/shop/product_details.html b/templates/shop/shop/product_details.html index 90dc666..2d9c665 100644 --- a/templates/shop/shop/product_details.html +++ b/templates/shop/shop/product_details.html @@ -6,28 +6,10 @@ .pages-title-text h2{margin-bottom: 0;} .section-padding{padding: 16px 0;} -
-
-
-
-
-

{{single_product.name}}

- {% comment %}
    -
  • Home
  • -
  • // shop
  • -
  • // {{single_product.category}}
  • -
  • // {{single_product.name}}
  • -
{% endcomment %} -
-
-
-
-
-
-
+
+
{% include "includes/alerts.html" %} diff --git a/templates/shop/shop/shop.html b/templates/shop/shop/shop.html index 9899a01..2cea46f 100644 --- a/templates/shop/shop/shop.html +++ b/templates/shop/shop/shop.html @@ -6,63 +6,13 @@ .section-padding{padding:10px 0;} - - {% comment %}
-
-
-
-
- {% if category_slug != None %} -

{{category_slug}}

- {% else %} -

Магазин

- {% endif %} -
-
-
-
-
{% endcomment %} - {% comment %}
-
-
-
-
- - -
-
-
-
-
{% endcomment %} - -
+

- {% comment %}
- -
{% endcomment %}
@@ -72,7 +22,6 @@
  • @@ -100,10 +49,6 @@
  • {% endif %} Product Title - {% comment %}
    - - -
    {% endcomment %}