diff --git a/static/css/base.css b/static/css/base.css index 5cf1eea..0ca6565 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -88,4 +88,12 @@ body { } .nav_user_name_div { height: 100%; +} +body::-webkit-scrollbar { + width: 12px; /* ширина scrollbar */ +} +body::-webkit-scrollbar-thumb { + background-color: #d49d51; /* цвет плашки */ + border-radius: 20px; /* закругления плашки */ + border: 3px solid #ffffff; } \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 0d02ec7..49591a6 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -266,6 +266,13 @@ main, html { margin-top: 45%; transition: background-color 0.5s ease-in; } +.scroll_image { + margin-top: 5px; + margin-left: 5px; + width: 40px; + height: 40px; + border-radius: 2vw; +} .scroll_button:hover { background-color: #1c59fe; } \ No newline at end of file diff --git a/static/css/profile.css b/static/css/profile.css index 9845021..6e6679b 100644 --- a/static/css/profile.css +++ b/static/css/profile.css @@ -6,13 +6,14 @@ background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8) ), url(../images/back_profile_one.jpg);background-repeat: repeat; background-position: center; } .profile_block { - height: 80%; + height: 83%; width: 85%; margin-left: 7.5%; margin-top: 10%; background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url(../images/back_profile_two.jpg);background-repeat: repeat; background-position: center; display: flex; flex-direction: column; + overflow-y: auto; } .header_profile { display: inline; @@ -62,6 +63,7 @@ form { color: #000000; border: 0.1vw solid #595008; height: 4.5vw; + min-height: 4.5vw; width: 20vw; background-color: #dbc3af; border-radius: 5vw; @@ -92,4 +94,23 @@ form { } #delete_button { margin-top: 45px; +} +.dop_data { + padding-top:15px; + padding-left: 15px; +} +#logout_button { + color: #000000; + background-color:#f5d3b8; +} +#logout_button:hover { + text-decoration: none; + color: #000000; +} +.profile_button_text { + width: 100%; + height: 100%; + text-align: center; + font-size: 1.5vw; + margin-top: 6%; } \ No newline at end of file diff --git a/static/images/black_arrow.png b/static/images/black_arrow.png new file mode 100644 index 0000000..6a84006 Binary files /dev/null and b/static/images/black_arrow.png differ diff --git a/templates/main.html b/templates/main.html index 8906d04..3ebe246 100644 --- a/templates/main.html +++ b/templates/main.html @@ -3,7 +3,7 @@ {% block content %} - +
diff --git a/templates/profile.html b/templates/profile.html index 92eba32..7ee3e76 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -44,7 +44,7 @@
- {{ form.about(class="input_data", type="name", placeholder='about') }} {% + {{ form.about(class="input_data dop_data", type="name", placeholder='about') }} {% for error in form.about.errors %} {% endfor %} @@ -52,7 +52,7 @@ {% if 'none' in current_user.photo %}
- {{ form.photo(class="input_data", type="file") }} + {{ form.photo(class="input_data dop_data", type="file") }} {% for error in form.photo.errors %} {% endfor %} @@ -71,6 +71,11 @@
{{ form.submit(type="submit", class="profile_button") }} + +
+

Выйти

+
+