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

291 lines
4.8 KiB
SCSS
Raw Normal View History

2017-03-28 03:37:59 +00:00
#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-10 21:58:56 +00:00
}
2017-03-28 03:37:59 +00:00
.navbar-brand {
a {
svg.logo {
@extend svg.logo.color;
2015-11-10 21:58:56 +00:00
}
2017-03-28 03:37:59 +00:00
}
}
2015-11-10 21:58:56 +00:00
2017-03-28 03:37:59 +00:00
ul.nav {
li {
a {
color: $home-header-link-color;
2015-11-10 21:58:56 +00:00
2017-03-28 03:37:59 +00:00
&:hover, &:focus, &:active {
background-color: transparent;
color: $home-header-link-color-hover;
svg {
fill: $home-header-link-color-hover;
}
2015-11-10 21:58:56 +00:00
}
2017-03-28 03:37:59 +00:00
svg {
fill: $home-header-link-color;
2015-11-10 21:58:56 +00:00
}
}
}
}
}
2017-07-21 02:31:57 +00:00
header {
.hero {
margin: 140px auto 160px auto;
2017-03-28 03:37:59 +00:00
text-align: center;
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
.button {
margin: 5px;
2017-03-28 03:37:59 +00:00
2017-07-21 02:31:57 +00:00
@media (max-width: 768px) {
display: block;
margin-top: 10px;
text-align: center;
2017-03-28 03:37:59 +00:00
}
}
2017-07-21 02:31:57 +00:00
svg {
max-width: 90%;
2017-03-28 03:37:59 +00:00
}
2015-11-10 21:58:56 +00:00
}
}
2017-07-21 02:31:57 +00:00
section {
background: $white;
padding: 100px 0;
}
2017-03-28 03:37:59 +00:00
2017-07-21 02:31:57 +00:00
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;
text-transform: uppercase;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
h3 {
color: $black;
font-size: 20px;
font-weight: $font-weight-bold;;
line-height: 1.2;
margin: 50px 0 15px 0;
text-transform: uppercase;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
p {
font-family: $font-family-open-sans;
font-size: 16px;
letter-spacing: 0.01em;
line-height: 1.5;
margin: 0 0 10px;
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
&.lead {
font-size: 20px;
margin: 30px 0 30px 0;
2017-03-28 03:37:59 +00:00
}
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
span.callout {
background: $black;
color: $white;
2017-03-28 03:37:59 +00:00
display: inline-block;
2017-07-21 02:31:57 +00:00
font-family: $font-family-klavika;
font-size: 18px;
font-weight: $font-weight-bold;
line-height: 1;
margin: 0;
padding: 5px;
letter-spacing: 0.05em;
2017-03-28 03:37:59 +00:00
text-transform: uppercase;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
&.green {
background: $nomad-green;
2017-03-28 03:37:59 +00:00
2017-07-21 02:31:57 +00:00
h2, h3 {
color: $white;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
p {
color: $white;
font-weight: $font-weight-reg;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
a {
border-bottom: 1px solid $white;
color: $white;
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
&:hover,
&:active {
border-bottom: none;
text-decoration: none;
2017-03-28 03:37:59 +00:00
}
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
span.callout {
background: $white;
color: $nomad-green;
2017-03-28 03:37:59 +00:00
}
2017-07-21 02:31:57 +00:00
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
&.gray {
background: #EDEDED;
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
h2, h3 {
color: $black;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
p {
color: $black;
font-weight: $font-weight-reg;
2017-03-28 03:37:59 +00:00
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
span.callout {
background: $white;
color: $black;
2015-11-10 21:58:56 +00:00
}
}
2015-09-12 00:01:02 +00:00
2017-07-21 02:31:57 +00:00
&.black {
background: $black;
2015-09-12 00:01:02 +00:00
2017-07-21 02:31:57 +00:00
h2, h3 {
color: $white;
2015-11-10 21:58:56 +00:00
}
2015-09-12 00:01:02 +00:00
2017-07-21 02:31:57 +00:00
p {
color: $white;
font-weight: $font-weight-reg;
2017-03-28 03:37:59 +00:00
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
a {
border-bottom: 1px solid $white;
color: $white;
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
&:hover,
&:active {
border-bottom: none;
text-decoration: none;
2015-11-10 21:58:56 +00:00
}
}
2017-07-21 02:31:57 +00:00
span.callout {
background: $white;
color: $black;
2015-11-10 21:58:56 +00:00
}
}
2017-07-21 02:31:57 +00:00
&#hybrid-multi-cloud {
svg {
display: block;
margin: 15px auto;
2017-07-21 22:57:28 +00:00
max-height: 115px;
2017-07-21 02:31:57 +00:00
padding: 0;
2015-11-10 21:58:56 +00:00
}
}
2017-07-21 02:31:57 +00:00
&#flexible-workloads {
svg {
display: block;
margin: 15px auto;
max-height: 100px;
padding: 0;
2015-11-10 21:58:56 +00:00
}
}
2015-09-12 00:01:02 +00:00
2017-07-21 02:31:57 +00:00
&#simplify {
svg {
display: block;
max-height: 150px;
margin: 0 auto;
2017-07-21 02:31:57 +00:00
padding: 0;
2017-03-28 03:37:59 +00:00
}
@media(max-width: $screen-sm) {
svg {
margin: 60px auto;
}
}
2017-07-21 02:31:57 +00:00
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
&#binpacking {
svg {
display: block;
margin: 60px auto;
max-height: 300px;
padding: 0;
2017-03-28 03:37:59 +00:00
}
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
.terminal {
border: 1px solid $white;
2017-07-21 20:29:35 +00:00
background: $black;
2017-07-21 02:31:57 +00:00
box-sizing: border-box;
color: $white;
font-family: $font-family-monospace;
font-size: 15px;
line-height: 1.8;
margin: 20px auto auto auto;
padding: 10px 20px 20px 20px;
.terminal-content {
2017-07-21 20:29:35 +00:00
background: $black;
2017-07-21 02:31:57 +00:00
margin-top: 5px;
2017-07-21 20:29:35 +00:00
overflow-x: auto;
2017-07-21 02:31:57 +00:00
width: 100%;
white-space: nowrap;
span {
display: block;
span {
display: inline;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
&.pre {
white-space: pre;
2015-11-10 21:58:56 +00:00
}
2017-07-21 22:11:08 +00:00
&.text-bold {
font-weight: bold;
}
2017-07-21 02:31:57 +00:00
&.text-green {
color: lighten($nomad-green, 20%);
2015-11-10 21:58:56 +00:00
}
2017-07-21 22:11:08 +00:00
&.text-blue {
color: #71A4F5;
}
&.text-orange {
color: #F5BF49;
}
2017-07-21 02:31:57 +00:00
}
}
2015-11-10 21:58:56 +00:00
2017-07-21 02:31:57 +00:00
span.circle {
svg {
height: 12px;
width: 12px;
2015-11-10 21:58:56 +00:00
}
}
}
2015-09-12 00:01:02 +00:00
}