Fix font size conflict

This commit is contained in:
2026-06-04 16:43:17 +03:00
parent 86024ba0b7
commit f77ca86e81
5 changed files with 189 additions and 80 deletions

View File

@@ -191,6 +191,7 @@ img {
&__bg {
position: absolute;
filter: blur(3px);
inset: 0;
background:
linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(0, 0, 0, 0) 100%),
@@ -213,7 +214,7 @@ img {
max-width: 1000px;
margin-left: 528px;
padding-top: 104px;
padding-bottom: 50px;
padding-bottom: 100px;
> * {
opacity: 0;
@@ -253,26 +254,32 @@ img {
max-width: 768px;
margin-bottom: 32px;
color: $color-text-soft;
font-size: 20px;
line-height: 32px;
font-size: 23px;
line-height: 1.5;
font-weight:300;
}
&__tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 28px;
margin-bottom: 15px;
li {
padding: 9px 17px;
padding: 20px 20px;
border: 1px solid $color-border-strong;
border-radius: 999px;
background: rgba(41, 49, 51, 0.6);
/*background: rgba(41, 49, 51, 0.6);*/
font-size: 14px;
font-weight: 500;
font-weight: 300;
line-height: 20px;
white-space: nowrap;
transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
background-color: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(53px);
-webkit-backdrop-filter: blur(10px);
border: 0px solid rgba(255, 255, 255, 0.3);
border-radius: 12px;
&:hover {
transform: translateY(-1px);
@@ -285,6 +292,12 @@ img {
&__actions {
display: flex;
gap: 16px;
.btn{
font-size:14px;
font-weight:600;
text-transform:uppercase;
}
}
}
@@ -302,7 +315,7 @@ img {
.info-card {
@include card;
min-height: 178px;
padding: 33px;
padding: 40px;
transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
&:hover {
@@ -314,14 +327,15 @@ img {
h3 {
margin-bottom: 8px;
font-size: 20px;
font-weight: 700;
font-weight: 500;
line-height: 28px;
}
p {
color: $color-text-muted;
font-size: 16px;
line-height: 24px;
line-height: 1.5;
font-weight:200;
}
}
@@ -363,8 +377,9 @@ img {
p {
color: $color-text-soft;
font-size: 20px;
font-size: 22px;
line-height: 1.15;
font-weight:200;
}
}
}
@@ -382,8 +397,8 @@ img {
}
p {
font-size: 20px;
font-weight: 400;
font-size: 22px;
font-weight: 200;
line-height: 1.2;
}
}
@@ -496,6 +511,7 @@ img {
font-size: 34px;
font-weight: 700;
line-height: 1.1;
font-weight: 600;
}
p {
@@ -503,7 +519,18 @@ img {
color: $color-text-muted;
font-size: 18px;
line-height: 28px;
font-weight:300;
}
a.btn{
min-width: 200px;
width: 40%;
padding: 10px 24px;
border-radius: 10px;
font-size: 14px;
text-transform: uppercase;
font-weight:300;
}
ul {
margin-bottom: 24px;
@@ -559,14 +586,14 @@ img {
}
p {
font-size: 20px;
font-size: 22px;
line-height: 1.2;
}
}
&__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
width: 100%;
max-width: 896px;
@@ -609,7 +636,7 @@ img {
display: block;
font-family: $font-heading;
font-size: 21px;
font-weight: 700;
font-weight: 500;
line-height: 1.15;
position: relative;
z-index: 1;
@@ -629,8 +656,8 @@ img {
opacity: 0;
transform: translateY(10px);
color: $color-text-muted;
font-size: 15px;
font-weight: 500;
font-size: 16px;
font-weight: 400;
line-height: 1.45;
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s ease;
@@ -664,10 +691,16 @@ img {
&__list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
margin-bottom: 28px;
@media (max-width: 768px) {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
}
&__note {
margin-bottom: 30px;
@@ -692,7 +725,7 @@ img {
&-item {
@include card;
min-height: 144px;
padding: 24px;
padding: 40px;
h3 {
margin-bottom: 10px;
@@ -710,8 +743,9 @@ img {
// Медиа-запрос для экранов меньше 600px
@media (max-width: 600px) {
padding: 16px; // Пример: уменьшаем внутренние отступы
padding: 40px; // Пример: уменьшаем внутренние отступы
min-height: auto; // Пример: убираем фиксированную минимальную высоту
text-align: center;
h3 {
font-size: 16px; // Пример: уменьшаем размер заголовка
@@ -840,6 +874,7 @@ img {
flex-direction: column;
justify-content: space-between;
transition: transform 0.3s ease, border-color 0.3s ease;
margin-top:5px;
&:hover {
transform: translateY(-5px);
@@ -851,13 +886,15 @@ img {
color: $color-text-soft;
font-size: 16px;
line-height: 1.5;
font-weight: 200;
font-style: italic;
}
strong {
display: block;
margin-bottom: 10px;
font-size: 16px;
font-weight: 700;
font-weight: 400;
line-height: 1.2;
}
@@ -866,14 +903,16 @@ img {
border-top: 1px solid rgba(255, 255, 255, 0.08);
a {
color: #ffd2d2;
/*color: #ffd2d2;*/
color: #dfdfdf4a;
font-size: 14px;
font-weight: 500;
line-height: 1.4;
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-thickness: 1px;
text-decoration-color: rgba(255, 210, 210, 0.75);
/*text-decoration-color: rgba(255, 210, 210, 0.75);*/
text-decoration-color: rgb(169 169 169 / 28%);
transition: color 0.2s ease, text-decoration-color 0.2s ease;
&:hover {
@@ -945,8 +984,8 @@ img {
p {
margin-bottom: 32px;
color: $color-text-soft;
font-size: 18px;
font-weight: 500;
font-size: 19px;
font-weight: 200;
line-height: 1.4;
}
@@ -1140,7 +1179,7 @@ img {
height: 44px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 999px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.92);
text-decoration: none;
@@ -1397,7 +1436,8 @@ img {
margin-top: 16px;
color: rgba(255, 255, 255, 0.65);
font-size: 14px;
line-height: 1.28;
line-height: 1.5;
font-weight:300;
}
}
@@ -1406,7 +1446,7 @@ img {
h4 {
margin-bottom: 16px;
font-size: 16px;
font-weight: 700;
font-weight: 600;
line-height: 1.1;
}
@@ -1414,7 +1454,8 @@ img {
display: block;
color: rgba(255, 255, 255, 0.65);
font-size: 14px;
line-height: 1.35;
line-height: 1.5;
font-weight:300;
}
span {