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

264 lines
4 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
2019-10-03 20:07:53 +00:00
&:hover,
&:focus,
&:active {
2017-03-28 03:37:59 +00:00
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
2019-10-03 20:07:53 +00:00
h1 {
margin: 24px 0 40px 0;
}
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 {
h3 {
color: $black;
margin: 50px 0 15px 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
margin: 0;
padding: 5px;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
&.green {
2019-10-03 20:07:53 +00:00
background: $nomad;
2017-03-28 03:37:59 +00:00
2019-10-03 20:07:53 +00:00
h2,
h3 {
2017-07-21 02:31:57 +00:00
color: $white;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
p {
color: $white;
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;
2019-10-03 20:07:53 +00:00
color: $nomad;
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 {
2019-10-03 20:07:53 +00:00
background: #ededed;
2015-11-10 21:58:56 +00:00
2019-10-03 20:07:53 +00:00
h2,
h3 {
2017-07-21 02:31:57 +00:00
color: $black;
2015-11-10 21:58:56 +00:00
}
2017-07-21 02:31:57 +00:00
p {
color: $black;
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
2019-10-03 20:07:53 +00:00
h2,
h3 {
2017-07-21 02:31:57 +00:00
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;
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
}
2019-10-03 20:07:53 +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
}
2019-10-03 20:07:53 +00:00
.get-started {
margin-top: 32px;
}
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 {
@extend .g-type-code;
2017-07-21 02:31:57 +00:00
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;
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 {
2019-10-03 20:07:53 +00:00
font-weight: $font-weight-bold;
2017-07-21 22:11:08 +00:00
}
2017-07-21 02:31:57 +00:00
&.text-green {
2019-10-03 20:07:53 +00:00
color: lighten($nomad, 20%);
2015-11-10 21:58:56 +00:00
}
2017-07-21 22:11:08 +00:00
&.text-blue {
2019-10-03 20:07:53 +00:00
color: #71a4f5;
2017-07-21 22:11:08 +00:00
}
&.text-orange {
2019-10-03 20:07:53 +00:00
color: #f5bf49;
2017-07-21 22:11:08 +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
span.circle {
svg {
height: 12px;
width: 12px;
2015-11-10 21:58:56 +00:00
}
}
}
2015-09-12 00:01:02 +00:00
}