Заголовок проектов слева

This commit is contained in:
xomimishka committed 2025-06-20 14:52:18 +03:00
1 parent 311740dd1a
commit 6e74f1f186
1 file changed
+11 -7
+11 -7
View File
@@ -20,7 +20,7 @@ $swiper-button-arrow-size: 20px;
.project { .project {
.header { .header {
text-align: center; //text-align: center;
margin-bottom: 2em; margin-bottom: 2em;
} }
@@ -40,6 +40,10 @@ $swiper-button-arrow-size: 20px;
object-fit: contain !important; // Wordpress накидывает styles к элементу, приходится перебивать object-fit: contain !important; // Wordpress накидывает styles к элементу, приходится перебивать
} }
} }
@media (max-width: 768px) {
gap: 0;
}
} }
.has-text-align-center { .has-text-align-center {
@@ -71,7 +75,7 @@ $swiper-button-arrow-size: 20px;
p { p {
display: inline-block; display: inline-block;
max-width: 40%; //max-width: 40%;
text-align: center; text-align: center;
} }
} }
@@ -136,8 +140,7 @@ $swiper-button-arrow-size: 20px;
border-top: none; border-top: none;
.icon { .icon {
filter: brightness(0) saturate(100%) invert(26%) sepia(94%) filter: brightness(0) saturate(100%) invert(26%) sepia(94%) saturate(2350%) hue-rotate(225deg) brightness(95%) contrast(93%);
saturate(2350%) hue-rotate(225deg) brightness(95%) contrast(93%);
} }
} }
} }
@@ -150,9 +153,11 @@ $swiper-button-arrow-size: 20px;
.swiper { .swiper {
padding-top: 4em; padding-top: 4em;
overflow: visible; overflow: visible;
.swiper-wrapper { .swiper-wrapper {
left: -250px; left: -250px;
} }
.swiper-wrapper .swiper-slide { .swiper-wrapper .swiper-slide {
aspect-ratio: 1 / 1; aspect-ratio: 1 / 1;
position: relative; position: relative;
@@ -167,8 +172,7 @@ $swiper-button-arrow-size: 20px;
.swiper-button-prev, .swiper-button-prev,
.swiper-button-next { .swiper-button-next {
background: url("/./src/shared/assets/images/arrow2-0.svg") center background: url("/./src/shared/assets/images/arrow2-0.svg") center center no-repeat;
center no-repeat;
top: calc($swiper-button-size / 2); top: calc($swiper-button-size / 2);
left: auto; left: auto;
width: $swiper-button-size; width: $swiper-button-size;
@@ -198,4 +202,4 @@ $swiper-button-arrow-size: 20px;
} }
} }
} }
} }