div.content { background-color:var(--backgroundColour); border-top-color:var(--foregroundColour); border-top-style:solid; border-top-width:calc(1rem / 3); box-sizing: border-box; height: 100%; margin: auto; max-width: var(--maximumPageWidth); min-width: var(--minimumPageWidth); padding: 1rem 2rem; padding-bottom: calc(3rem / 2 + 2rem); width: 100%; } div.section + div.section::before { content: ""; background-color:var(--colour); display: block; height: calc(1rem / 3); margin: 1rem 0; width: calc(100% / 2); } div.subsection { border-left-color:var(--colour); border-left-style:solid; border-left-width:calc(1rem / 3); padding: 0 1rem; } div.subsection + div.subsection { margin-top:1rem; }