70 lines
1.1 KiB
CSS
70 lines
1.1 KiB
CSS
.frame-type-cloonar_textimage {
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.textimage-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.textimage-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.textimage-text {
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.textimage-image-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.textimage-picture {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.textimage-image {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 0.5rem;
|
|
display: block;
|
|
}
|
|
|
|
/* Image positions: 25 = left, 26 = right */
|
|
.textimage-container.image-pos-25 {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.textimage-container.image-pos-26 {
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Size classes apply at all viewports */
|
|
.textimage-image-wrapper.size-25 .textimage-picture {
|
|
max-width: 300px;
|
|
}
|
|
|
|
.textimage-image-wrapper.size-50 .textimage-picture {
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* On larger screens, arrange horizontally for image position settings */
|
|
@media (min-width: 768px) {
|
|
.textimage-container.image-pos-25 {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.textimage-container.image-pos-26 {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.textimage-wrapper {
|
|
flex: 1;
|
|
}
|
|
}
|