File size: 1,180 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
@import "@wordpress/base-styles/breakpoints";
.l-block {
padding: 5rem 0;
@media (max-width: $break-small) {
padding: 2.5rem 0;
}
&.is-mono-bg {
background-color: #e9eff5;
}
&.animate {
animation: l-block-fade-in 250ms ease-in;
}
&.width-small {
.l-block-wrapper {
max-width: 600px;
}
}
&.width-medium {
.l-block-wrapper {
max-width: 1056px; // matches the .lpc-footer-nav-wrapper max-width
}
}
}
.l-block-wrapper {
max-width: 1224px;
margin: 0 auto;
padding: 0 20px; // matches .lpc-footer-nav padding
.l-block-col-2 {
gap: 5rem;
display: flex;
justify-content: space-between;
@media (max-width: $break-small) {
gap: 2.5rem;
}
}
.l-block-col-2 .l-block-content {
box-sizing: border-box;
width: 50%;
}
@media (max-width: $break-medium) {
.l-block-col-2 {
flex-direction: column;
.l-block-content {
width: 100%;
}
}
}
@media (max-width: $break-small) {
padding: 0 16px; // matches .lpc-footer-nav padding
}
}
.l-block-section {
padding: 1.5rem 0;
@media (max-width: $break-small) {
padding: 1rem 0;
}
}
@keyframes l-block-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
|