This commit is contained in:
= 2021-05-24 14:58:28 +05:00
parent bc7dda90a4
commit 4a82b4890f
3 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,7 @@
background: #00822c;
&__item {
margin: 0 50px;
p {
a {
color: #fff;
font-size: 16px;
line-height: 20px;

View File

@ -1196,7 +1196,7 @@ li {
.marquee__item {
margin: 0 50px;
}
.marquee__item p {
.marquee__item a {
color: #fff;
font-size: 16px;
line-height: 20px;

View File

@ -13,8 +13,11 @@ postPage = "post"
Главное
</a>
<div class="marquee">
<div>{% for post in posts %} <span>{{post.title}}</span> {% endfor %}</div>
{% for post in posts %}
<div class="marquee__item">
<a href="#">{{post.title}}</a>
</div>
{% endfor %}
</div>
</div>