You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
1.8 KiB

7 years ago
html {
height: 100%;
background: $body-bg;
7 years ago
}
#body-wrapper {
.container {
padding: $vert-padding;
}
padding-top: $header-height-large;
}
.hero + #start > #body-wrapper {
padding-top: 0;
}
section.section {
padding-left: $horiz-padding;
padding-right: $horiz-padding;
position: relative;
}
.overlay-light, .overlay-dark, .overlay-light-gradient, .overlay-dark-gradient {
z-index: 0;
}
// Hero
.hero {
display: flex;
align-items: center;
justify-content: center;
padding-top: 6rem;
padding-bottom: 7rem;
background-size: cover;
background-position: center;
&.hero-fullscreen {
height: 100vh;
}
&.hero-large {
height: 500px;
}
&.hero-medium {
height: 400px;
}
&.hero-small {
height: 110px;
}
&.hero-tiny {
height: 8rem;
}
7 years ago
background-position: 50% 0;
&.left-shift {
background-position: 33% 0 !important;
}
7 years ago
//&.parallax {
// background-attachment: fixed;
//}
h1 {
color: $header-text;
font-size: 4rem !important;
}
h2 {
color: rgba($header-text, 0.8);
font-size: 2.5rem !important;
}
h1 + h2 {
margin-top: -45px !important;
}
p {
font-size: 130%;
font-weight: 300;
}
#to-start {
display: inline-block;
position: absolute;
bottom: 10px;
font-size: 2rem;
cursor: pointer;
}
}
// Overlay
.image-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: -1;
.overlay-light & {
background: rgba(#fff, 0.4);
}
.overlay-light-gradient & {
background: linear-gradient(to bottom, rgba(#fff,0.5), rgba(#fff,0.2));
}
.overlay-dark & {
background: rgba(#000, 0.4);
}
.overlay-dark-gradient & {
background: linear-gradient(to bottom, rgba(#000,0.5), rgba(#000,0.2));
}
}