open-nomad/website/components/homepage-hero/style.css

41 lines
696 B
CSS

.g-homepage-hero {
background-repeat: no-repeat;
background-color: var(--gray-7);
background-image: url(/img/nomad-hero-pattern.svg);
width: 100%;
background-size: cover;
background-position: center;
padding: 88px 0;
@media (max-width: 758px) {
background-image: url(/img/pattern.svg);
}
& h1 {
text-align: center;
white-space: pre-wrap;
}
& p {
margin: 0 auto 0 auto;
text-align: center;
max-width: 40em;
}
& .g-grid-container {
max-width: 700px;
}
& .links {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: calc(32px - 8px);
margin-bottom: -8px;
& a {
margin: 8px;
}
}
}