open-consul/website/source/assets/stylesheets/consul-connect/components/_hero.scss

63 lines
1.0 KiB
SCSS

.g-hero {
background: url("/assets/images/consul-connect/hero-bg.png") no-repeat top
center;
background-size: cover;
margin-top: -92px;
padding: 126px 40px 56px;
text-align: center;
@media (min-width: 768px) {
padding: 154px 56px 96px;
}
@media (min-width: 992px) {
margin-top: -112px;
padding-top: 214px;
padding-bottom: 120px;
}
h1 {
margin: 0 0 16px;
}
p {
max-width: 848px;
margin: 0 auto 35px;
}
span {
border: 1px solid #ca2171;
border-radius: 2px;
display: inline-block;
margin-bottom: 24px;
padding: 2px 9px;
text-transform: uppercase;
@media (min-width: 992px) {
margin-bottom: 16px;
}
}
& > div {
margin: 0 -30px;
.button {
min-width: 129px;
margin: 5px;
@media (min-width: 400px) {
margin: 5px 10px;
}
@media (max-width: 767px) {
padding: 6px 5px;
}
@media (min-width: 768px) {
margin: 0 10px;
min-width: 144px;
}
}
}
}