:not()
I’ve always found this confusing to use
However here it works well in the CSS to add big left margins to all child elements of .container
except (not) the sidebar (HTML aside):
.container > *:not(aside) {
padding-left: var(--leftmargin);
}