Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2023-11-29 18:04:18 +03:00
4 changed files with 14 additions and 21 deletions

View File

@@ -2461,7 +2461,11 @@
width: 320px;
top: 0;
border-radius: 10px;
padding-top: 8px;
padding-top: 0;
}
.menu_buttons.right.open .menu_profile{
padding-top: 30px;
}

View File

@@ -769,19 +769,10 @@ header>div:last-child>div:nth-child(2)>.svg {
margin-right: 5px;
}
.second-footer>div>div:last-child>div>a {
color: #272424;
/* Body text 2 */
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
text-decoration: none;
}
.first-column>div:nth-child(2)>div:last-child>input:focus-visible {
.footer_input_button:focus-visible {
outline: unset;
}
@@ -2871,14 +2862,14 @@ details[open] summary ~ *{
width: 76%;
}
.news_item_pagination .odd .pag_news_img,
.news_item_pagination .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 .even .pag_news_img,
.news_item_pagination .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;
@@ -2922,9 +2913,7 @@ details[open] summary ~ *{
margin-top: 30px;
}
.previous_next_news>.news_item:nth-child(2){
margin: 0 20px;
}
.self_news_text{
margin-bottom: 40px;

View File

@@ -92,7 +92,7 @@ function load_routes (el,news=null,incrase) {
iterator_f_check++
iterator_f_check++
if (data.last_block === true){
el.classList.add("hide")
el.classList.add("hide")
} else if (data.last_block === false){
if (el.classList.contains("hide")) {
el.classList.remove("hide")

View File

@@ -1,7 +1,7 @@
{% load static %}
{% if not from_el or forloop.counter > from_el %}
<div class="news_item_pagination">
<div class="news_item_pagination {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
<a href="{% url "article_one" art.url %}">
<div class="pag_news_img"><img src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="pag_news_item_text">