Article top section white

This commit is contained in:
Oleg Lavrovsky 2018-06-18 16:21:03 +02:00
parent e6cb4faf03
commit c7f0fea8ae

View file

@ -2,17 +2,18 @@
section { section {
padding: 3em 0; padding: 3em 0;
&:nth-child(odd) {
background-color: $gray-lighter;
color: black;
}
h1 { h1 {
font-size: 40px; font-size: 40px;
text-align: center; text-align: center;
margin-bottom: 1.5em; margin-bottom: 1.5em;
text-transform: uppercase; text-transform: uppercase;
} }
// Article zebra stripes
&:nth-child(even) {
background-color: $gray-lighter;
color: black;
}
} }
// Stretch the top image // Stretch the top image
@ -27,7 +28,6 @@ section {
h5 { font-size: 22px; } h5 { font-size: 22px; }
line-height: 1.5; line-height: 1.5;
background: white;
img.full-width { img.full-width {
width: 100%; width: 100%;