packer-cn/website/source/assets/stylesheets/_home.scss

155 lines
2.7 KiB
SCSS

// TODO: remove
$hero-height: 350px;
$baseline: 20px;
#page-home {
// Override the main header
#header {
background: $home-header-background-color;
.navbar-toggle {
.icon-bar {
border: 1px solid $home-header-link-color;
}
}
.navbar-brand {
a {
svg.logo {
@extend svg.logo.color;
}
}
}
ul.nav {
li {
a {
color: $home-header-link-color;
&:hover, &:focus, &:active {
background-color: transparent;
color: $home-header-link-color-hover;
svg {
fill: $home-header-link-color-hover;
}
}
svg {
fill: $home-header-link-color;
}
}
}
}
}
header {
.hero {
margin: 140px auto 160px auto;
text-align: center;
.button {
margin: 5px;
@media (max-width: 768px) {
display: block;
margin-top: 10px;
text-align: center;
}
}
svg {
max-width: 90%;
}
}
}
section {
background: $white;
padding: 100px 0;
}
section.marketing {
h2 {
font-family: $font-family-klavika;
font-size: 36px;
font-weight: $font-weight-bold;
line-height: 1.25;
letter-spacing: -0.02em;
margin: 20px 0 10px 0;
padding: 0;
}
p {
font-family: $font-family-open-sans;
font-size: 16px;
letter-spacing: 0.01em;
line-height: 1.8;
margin: 0 0 10px;
}
span.callout {
background: $black;
color: $white;
display: inline-block;
font-family: $font-family-klavika;
font-size: 18px;
font-weight: $font-weight-bold;
line-height: 1;
margin: 0;
padding: 5px;
letter-spacing: 0.05em;
text-transform: uppercase;
}
&.invert {
background: $packer-blue;
h2 {
color: $white;
}
p {
color: $white;
font-weight: $font-weight-bold;
}
}
&#automated {
img {
@media (min-width: 1024px) {
padding-right: 40px;
}
@media (max-width: 992px) {
padding-bottom: 40px;
}
}
}
&#integrations {
.integrations-list {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin-top: 30px;
@media (min-width: 1024px) {
padding-left: 40px;
}
.integration {
display: flex;
align-items: center;
justify-content: center;
border: 5px solid $packer-blue;
height: 100px;
width: 33.3%;
background-color: $white;
}
}
}
}
}