Website page consists of sections. So we have special section element. It consists from wrapper and child element, wrapper is used for make people think that section takes 100% width of the page, and child element used for centering content and adds some paddings at the top and bottom.
There are 4 color schemes for our sections. Section could has parallax background and the second background with pattern as well. It could have top and bottom borders and internal shadows.
All of that could be contolled by css
We did so each element have it's own color scheme for each section color scheme. So you shouldn't care about how it will look on white/black background.
Connect sections.css to use sections.
Section wrapper modifyers:
Section has top and bottom paddings, bottom padding is shorter then top, because each content element has it's own bottom margin.
<div class="pi-section-w pi-section-white"> <div class="pi-section"> <h2>Section white</h2> </div> </div>
<div class="pi-section-w pi-section-grey"> <div class="pi-section"> <h2>Section grey</h2> </div> </div>
<div class="pi-section-w pi-section-base"> <div class="pi-section"> <h2>Section base</h2> </div> </div>
<div class="pi-section-w pi-section-dark"> <div class="pi-section"> <h2>Section dark</h2> </div> </div>
<div class="pi-section-w pi-section-parallax"> <div class="pi-section"> <h2>Section with parallax</h2> </div> </div>
<div class="pi-section-w pi-section-grey pi-borders"> <div class="pi-section"> <h2>Section grey - with borders</h2> </div> </div>
<div class="pi-section-w pi-section-grey pi-shadow-inside"> <div class="pi-section"> <h2>Section grey - with inside shadows</h2> </div> </div>