add new media-queires

This commit is contained in:
2022-10-18 12:59:13 +03:00
parent ff2dfd42d7
commit 134f3dcf92
2 changed files with 72 additions and 4 deletions

View File

@@ -216,6 +216,7 @@ main {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin: 15px 0 10px 13px; margin: 15px 0 10px 13px;
flex-wrap: wrap;
} }
.card-inf__item { .card-inf__item {
font-size: 10px; font-size: 10px;
@@ -510,3 +511,29 @@ footer {
margin: 0 auto; margin: 0 auto;
} }
} }
@media (max-width: 460px) {
.card__describe {
min-height: 120px;
}
.card-inf__item {
font-size: 8px;
}
.card-inf__item::before {
top: -2px;
}
.card-description {
display: block;
}
.settings {
font-size: 10px;
}
.settings .ended {
margin-top: 10px;
}
.settings .ended::before {
top: -7px;
}
.footer .about {
width: 100%;
}
}

View File

@@ -220,6 +220,7 @@ main {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin: 15px 0 10px 13px; margin: 15px 0 10px 13px;
flex-wrap: wrap;
&__item { &__item {
font-size: 10px; font-size: 10px;
@@ -235,10 +236,12 @@ main {
} }
} }
.date::before { .date {
&::before {
content: url("../icons/calendar2.svg"); content: url("../icons/calendar2.svg");
} }
} }
}
.subscribe { .subscribe {
display: inline-block; display: inline-block;
@@ -572,3 +575,41 @@ footer {
} }
} }
} }
@media (max-width: 460px) {
.card{
&__describe {
min-height: 120px;
}
&-inf__item {
font-size: 8px;
&::before {
top: -2px;
}
}
&-description{
display: block;
}
}
.settings {
font-size: 10px;
.ended {
margin-top: 10px;
&::before {
top: -7px;
}
}
}
.footer {
.about {
width: 100%;
}
}
}