Files
atst/styles/components/_sticky_cta.scss
dandds a80d1f8e86 Portfolio home page.
Makes some minor, necessary adjustments to the stylesheet.
2019-06-06 17:11:42 -04:00

44 lines
707 B
SCSS

.sticky-cta {
z-index: 100;
@include media($small-screen) {
margin-left: -$gap * 4;
}
@include media($medium-screen) {
margin-left: -$gap * 5;
}
}
.sticky-cta.js-is-sticky {
width: 80.8%;
}
.sticky-cta-container {
display: flex;
justify-content: center;
background-color: $color-gray-lightest;
border-top: 1px solid $color-gray-lighter;
border-bottom: 1px solid $color-gray-lighter;
padding: 0 40px 0 40px;
box-shadow: $box-shadow;
margin-bottom: 20px;
}
.sticky-cta-text {
flex-grow: 1;
}
.sticky-cta-buttons {
display: flex;
justify-content: center;
button {
margin-top: auto;
margin-bottom: auto;
width: 144px;
margin-left: 33px;
}
}