diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 3bd209d..aea09e1 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1925,4 +1925,19 @@ height: 90px; background: #F8F8F8; width: 100%; + position: absolute; + z-index: 3; +} + +.padding_top_f_header{ + height: 13px; +} + +.line_f_header{ + position: sticky; + z-index: 1; + height: 1px; + background: black; + width: 100%; + top: 65px; } \ No newline at end of file diff --git a/static/css/styles.css b/static/css/styles.css index 5e6cd69..086a851 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -142,6 +142,7 @@ html, body{ .wrapper { max-width: 1440px; margin: auto; + padding: 40px 5px; } @@ -216,8 +217,9 @@ header { width: 1280px; margin: 0 50px; padding: 5px 40px; - position: fixed; - z-index: 1; + position: sticky; + z-index: 4; + top: 0; } @@ -1834,7 +1836,7 @@ button#more_button{ width: 90%; height: 194px; margin: 0 auto 0; - padding: 145px 40px 0 40px; + padding: 60px 40px 0 40px; } .top_block_static_wrapper{ diff --git a/templates/tb_base.html b/templates/tb_base.html index 553e43c..251e188 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -54,8 +54,9 @@
{# modifided by boris#}
- {% include 'blocks/b_header.html' %}
+ {% include 'blocks/b_header.html' %} +
{% block content %} {% endblock %}