update
This commit is contained in:
1 parent
574e07603d
commit
cc2b84dcad
27 files changed
+2214
-360
No files matched your search
@@ -0,0 +1,103 @@
|
||||
.qualityClaim {
|
||||
padding-block: var(--space-16);
|
||||
}
|
||||
|
||||
.inner {
|
||||
max-width: var(--container-width);
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--space-4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 4 / 3;
|
||||
border-radius: 24px;
|
||||
overflow: hidden;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.image {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.heading {
|
||||
position: relative;
|
||||
padding-left: var(--space-4);
|
||||
max-width: 20ch;
|
||||
}
|
||||
|
||||
.heading::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 6px;
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.textGrid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-2);
|
||||
max-width: 48ch;
|
||||
}
|
||||
|
||||
.text {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
/* Tablet */
|
||||
@media (min-width: 768px) {
|
||||
.qualityClaim {
|
||||
padding-block: var(--space-24);
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
aspect-ratio: 16 / 9;
|
||||
display: block;
|
||||
max-height: 320px;
|
||||
max-width: 320px;
|
||||
}
|
||||
.textGrid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
max-width: 100%;
|
||||
gap: var(--space-8);
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktop: Bild feste Breite links, Content rechts */
|
||||
@media (min-width: 1024px) {
|
||||
.inner {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: var(--space-10);
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
width: 320px;
|
||||
max-height: 100%;
|
||||
flex-shrink: 0;
|
||||
aspect-ratio: 2 / 3;
|
||||
}
|
||||
.content {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user