website - homepage cta section responsive styling

This commit is contained in:
RJ Spiker 2018-06-15 14:29:07 -06:00 committed by Jack Pearkes
parent feb0426eaf
commit df7298059a
1 changed files with 17 additions and 3 deletions

View File

@ -70,13 +70,28 @@
.home-cta-section {
color: $white;
display: flex;
@media (min-width: 768px) {
display: flex;
}
& > div {
display: flex;
justify-content: center;
padding: 64px 24px;
overflow: hidden;
width: 50%;
@media (min-width: 768px) {
padding-top: 80px;
padding-bottom: 80px;
width: 50%;
}
@media (min-width: 992px) {
padding-top: 96px;
padding-bottom: 96px;
width: 50%;
}
&:first-child {
background: $consul-red;
@ -104,7 +119,6 @@
display: flex;
flex-direction: column;
max-width: 564px;
padding: 96px 0;
text-align: center;
width: 100%;
z-index: 1;