@use 'iro-sass/src/props'; @use 'core'; @mixin styles { .boxesSidebarLeft{ margin-inline-end: 30px; } .boxesSidebarRight { margin-inline-start: 30px; } .boxesSidebarLeft, .boxesSidebarRight { .box { border-radius: 0; &:not(:first-child) { margin-block-start: 0; padding-block-start: 10px; &::before { content: ""; display: block; block-size: 1px; margin-block-end: 30px; background-color: props.get(core.$theme, --base, --200); } } } a { &:hover { text-decoration: underline; } } } @media screen and (min-width: 545px) and (max-width: 1024px) { .boxesSidebarLeft{ margin-inline-end: 0; } .boxesSidebarRight { margin-inline-start: 0; } .boxesSidebarLeft, .boxesSidebarRight { .box { border-radius: 0; &:not(:first-child) { padding-start: 20px 10px; &::before { display: none; } } } } } }