vagrant/website/source/assets/stylesheets/_home.scss

233 lines
4.0 KiB
SCSS

#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;
}
&.black {
background: $black;
h2 {
color: $white;
}
p {
color: $white;
font-weight: $font-weight-bold;
}
span.callout {
background: $white;
color: $black;
}
}
&.blue-dark {
background: $vagrant-blue-dark;
h2 {
color: $white;
}
p {
color: $white;
font-weight: $font-weight-bold;
}
}
&.blue {
background: $vagrant-blue;
h2 {
color: $white;
}
p {
color: $white;
font-weight: $font-weight-bold;
}
}
&#simple {
.terminal {
border: 1px solid $white;
background-color: $black;
box-shadow: 3px 4px 0 rgba(0,0,0,0.1);
box-sizing: border-box;
color: $white;
font-family: $font-family-monospace;
font-size: 15px;
line-height: 1.8;
margin-top: 55px;
padding: 10px 20px 20px 20px;
.terminal-content {
margin-top: 5px;
overflow-x: scroll;
width: 100%;
white-space: nowrap;
span {
display: block;
}
}
span.circle {
&:before {
content: '\25CF';
color: $white;
font-family: $font-family-monospace;
font-size: 30px;
line-height: 1;
margin: 0 0 0 -4px;
padding: 0;
height: 100%;
}
}
span.command {
font-weight: $font-weight-bold;
}
}
}
&#parity {
display: flex;
align-items: center;
.parity-image {
text-align: center;
svg {
display: inline-block;
max-width: 400px;
margin: 40px;
}
}
}
&#cross {
.systems {
margin-top: 70px;
text-align: center;
svg {
max-width: 130px;
min-width: 20px;
height: auto;
fill: $white;
padding: 0 20px;
}
}
}
&#trusted {
p.logos {
margin-top: 40px;
text-align: center;
img {
max-width: 941px;
height: auto;
width: 100%;
}
}
}
}
}