You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/website/components/side-by-side/style.module.css

62 lines
960 B

.sideBySide {
display: flex;
flex-wrap: wrap;
@media (--large) {
flex-wrap: nowrap;
}
& .sideWrapper {
padding: 105px 0;
width: 100%;
@media (--large) {
width: 50%;
padding-bottom: 176px;
}
&.leftSide {
background: var(--consul-secondary);
@media (--large) {
padding-left: 48px;
padding-right: 104px;
}
}
&.rightSide {
@media (--large) {
padding-right: 48px;
padding-left: 75px;
}
}
& .side {
margin: 0 auto;
@media (--small) {
max-width: 616px;
padding-left: 24px;
padding-right: 24px;
}
@media (--medium) {
max-width: 944px;
padding-left: 40px;
padding-right: 40px;
}
@media (--large) {
margin: 0;
max-width: 490px;
}
}
&:first-child .side {
@media (--large) {
float: right;
}
}
}
}