open-consul/website/source/assets/stylesheets/_home.scss

223 lines
3.7 KiB
SCSS
Raw Normal View History

#page-home {
// Override the main header
#header {
background: $home-header-background-color;
.navbar-toggle {
.icon-bar {
border: 1px solid $home-header-link-color;
2015-11-09 21:48:29 +00:00
}
}
.navbar-brand {
a {
svg.logo {
@extend svg.logo.color;
}
2015-11-09 07:39:14 +00:00
}
}
ul.nav {
li {
a {
color: $home-header-link-color;
2014-04-14 16:45:40 +00:00
&:hover, &:focus, &:active {
background-color: transparent;
color: $home-header-link-color-hover;
2015-11-09 21:48:29 +00:00
svg {
fill: $home-header-link-color-hover;
}
}
2015-11-09 21:48:29 +00:00
svg {
fill: $home-header-link-color;
}
}
}
2015-11-09 21:48:29 +00:00
}
}
header {
.hero {
margin: 140px auto 160px auto;
text-align: center;
2015-11-09 21:48:29 +00:00
.button {
margin: 5px;
@media (max-width: 768px) {
display: block;
margin-top: 10px;
text-align: center;
}
}
2015-11-09 21:48:29 +00:00
svg {
max-width: 90%;
}
2015-11-09 21:48:29 +00:00
}
}
section {
background: $white;
padding: 100px 0;
}
2015-11-09 21:48:29 +00:00
section.marketing {
2015-11-09 21:48:29 +00:00
h2 {
font-family: $font-family-klavika;
font-size: 36px;
font-weight: $font-weight-bold;
line-height: 1.25;
letter-spacing: -0.02em;
margin-top: 80px;
padding: 0;
2015-11-09 21:48:29 +00:00
}
p {
font-family: $font-family-open-sans;
font-size: 16px;
letter-spacing: 0.01em;
line-height: 1.8;
margin: 0 0 10px;
2015-11-09 21:48:29 +00:00
}
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;
}
2015-11-09 21:48:29 +00:00
&.pink {
background: $consul-red;
2015-11-09 21:48:29 +00:00
h2 {
color: $white;
2015-11-09 21:48:29 +00:00
}
p {
color: $white;
font-weight: $font-weight-bold;
2015-11-09 21:48:29 +00:00
}
span.callout {
background: $white;
color: $black;
}
}
2015-11-09 21:48:29 +00:00
&.pink-dark {
background: $consul-red-dark;
2015-11-09 21:48:29 +00:00
h2 {
color: $white;
}
2015-11-09 21:48:29 +00:00
p {
color: $white;
font-weight: $font-weight-bold;
}
2015-11-09 21:48:29 +00:00
span.callout {
background: $white;
color: $black;
2015-11-09 21:48:29 +00:00
}
}
2015-11-09 21:48:29 +00:00
&.black {
background: $black;
2015-11-09 21:48:29 +00:00
h2 {
color: $white;
2015-11-09 21:48:29 +00:00
}
2014-04-14 16:45:40 +00:00
p {
color: $white;
font-weight: $font-weight-bold;
}
2014-04-14 16:45:40 +00:00
span.callout {
background: $white;
color: $black;
2015-11-09 21:48:29 +00:00
}
}
2014-04-14 16:45:40 +00:00
&#features {
.feature-icon {
text-align: center;
2017-04-18 16:57:05 +00:00
clear: both;
}
2014-04-14 16:45:40 +00:00
h2, svg {
2017-04-18 16:57:05 +00:00
margin: 0;
padding: 0;
padding-top: 40px;
}
2015-11-09 21:48:29 +00:00
svg {
2017-04-18 16:57:05 +00:00
display: block;
margin: 0 auto;
2015-11-09 21:48:29 +00:00
}
}
&#cta {
padding: 0 0 50px 0;
text-align: center;
}
2015-11-09 21:48:29 +00:00
}
2014-04-14 16:45:40 +00:00
.terminal {
border: 1px solid $white;
background-color: $black;
box-sizing: border-box;
color: $white;
font-family: $font-family-monospace;
2017-04-18 17:51:46 +00:00
font-size: 15px;
line-height: 1.8;
margin: 20px auto auto auto;
padding: 10px 20px 20px 20px;
.terminal-content {
2017-04-18 17:51:46 +00:00
margin-top: 5px;
overflow-x: scroll;
width: 100%;
white-space: nowrap;
span {
display: block;
span {
display: inline;
}
2015-11-09 21:48:29 +00:00
&.text-pink {
color: lighten($consul-red, 20%);
2015-11-09 21:48:29 +00:00
}
}
}
2014-04-14 16:45:40 +00:00
span.circle {
&:before {
content: '\25CF';
color: $white;
2017-04-18 17:51:46 +00:00
font-family: $font-family-monospace;
font-size: 30px;
line-height: 1;
2017-04-18 17:51:46 +00:00
margin: 0 0 0 -4px;
padding: 0;
height: 100%;
}
}
}
}