72 lines
1.6 KiB
CSS
Raw Normal View History

2017-12-06 23:09:33 +01:00
.cta {
@media screen and (min-width: $desktop) {
position: relative;
top: -65px;
2017-12-06 23:09:33 +01:00
width: 880px;
margin: auto;
}
.cta-primary {
background-color: white;
padding: $medium $small $medium $small;
@media screen and (min-width: $tablet) {
padding: $medium;
}
2017-12-06 23:09:33 +01:00
@media screen and (min-width: $desktop) {
2017-12-07 16:28:21 +01:00
padding: $small $medium $small $medium;
2017-12-06 23:09:33 +01:00
display: flex;
align-items: center;
justify-content: space-between;
2017-12-06 23:09:33 +01:00
box-shadow: 0 10px 30px 0 rgba(28,30,30,0.10), 0 3px 9px 0 rgba(28,30,30,0.15);
border-radius: $largeBorderRadius;
}
p {
font-size: 18px;
line-height: 25px;
color: $lightishGrey;
margin: 0;
2017-12-06 23:09:33 +01:00
.hook {
font-weight: $bold;
color: $darkGrey;
}
}
a {
color: white;
text-transform: uppercase;
font-size: $tiny;
letter-spacing: 0.5px;
2017-12-06 23:09:33 +01:00
background-color: $blue;
background-image: linear-gradient(-180deg, #4A7FDD 0%, #3A69C7 100%);
box-shadow: 0 4px 12px 0 rgba(68,74,87,0.10), 0 1px 3px 0 rgba(68,74,87,0.20);
border-radius: $borderRadius;
padding: 12px 18px 12px 18px;
transition: .2s;
display: inline-block;
margin-top: $tiny;
2017-12-06 23:09:33 +01:00
@media screen and (min-width: $desktop) {
flex-shrink: 0;
2017-12-06 23:09:33 +01:00
margin: 0 0 0 $small;
}
&:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px 0 rgba(68,74,87,0.20), 0 1px 3px 0 rgba(68,74,87,0.40);
2017-12-06 23:09:33 +01:00
}
&:active {
transform: scale(0.95);
box-shadow: none;
2017-12-06 23:09:33 +01:00
}
}
}
}