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

167 lines
2.9 KiB
SCSS
Raw Normal View History

#page-home {
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: $font-weight-bold;
}
h1 {
font-size: 36px;
letter-spacing: -0.02em
}
h2 {
font-size: 24px;
}
h3 {
font-size: 18px;
}
.hero {
2017-03-28 00:32:51 -04:00
height: $hero-height + 100px;
margin-bottom: ($baseline * 4);
background: image-url('hero-image.svg') no-repeat;
background-position: top right;
h1 { color: $black;}
@media (min-width: 1200px) {
h1 {
margin-top: 100px;
}
}
@media (max-width: $screen-md-max) {
height: $hero-height;
h1 {
font-size: 36px;
padding-top: 1em;
padding-bottom: 1em;
}
}
@media (max-width: $screen-sm-max) {
height: auto;
background: none;
h1 {
margin: 0;
padding-top: 1em;
margin-bottom: 1em;
}
}
}
.download-module {
display: flex;
flex-direction: row;
align-items: center;
margin: $baseline*6 0 $baseline 0;
padding: $baseline;
background-color: $white;
border: 1px solid $gray-light;
p {
padding-top: 7px;
}
.button {
2017-03-28 00:32:51 -04:00
display: block;
margin: 0 0 0 $baseline;
background-color: $white;
}
}
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;
}
}
}
}
}