github.com/quite/nomad@v0.8.6/website/source/assets/stylesheets/_home.scss (about)

     1  #page-home {
     2    // Override the main header
     3    #header {
     4      background: $home-header-background-color;
     5  
     6      .navbar-toggle {
     7        .icon-bar {
     8          border: 1px solid $home-header-link-color;
     9        }
    10      }
    11  
    12      .navbar-brand {
    13        a {
    14          svg.logo {
    15            @extend svg.logo.color;
    16          }
    17        }
    18      }
    19  
    20      ul.nav {
    21        li {
    22          a {
    23            color: $home-header-link-color;
    24  
    25            &:hover, &:focus, &:active {
    26              background-color: transparent;
    27              color: $home-header-link-color-hover;
    28  
    29              svg {
    30                fill: $home-header-link-color-hover;
    31              }
    32            }
    33  
    34            svg {
    35              fill: $home-header-link-color;
    36            }
    37          }
    38        }
    39      }
    40    }
    41  
    42    header {
    43      .hero {
    44        margin: 140px auto 160px auto;
    45        text-align: center;
    46  
    47        .button {
    48          margin: 5px;
    49  
    50          @media (max-width: 768px) {
    51            display: block;
    52            margin-top: 10px;
    53            text-align: center;
    54          }
    55        }
    56  
    57        svg {
    58          max-width: 90%;
    59        }
    60      }
    61    }
    62  
    63    section {
    64      background: $white;
    65      padding: 100px 0;
    66    }
    67  
    68    section.marketing {
    69      h2 {
    70        font-family: $font-family-klavika;
    71        font-size: 36px;
    72        font-weight: $font-weight-bold;
    73        line-height: 1.25;
    74        letter-spacing: -0.02em;
    75        margin: 20px 0 10px 0;
    76        padding: 0;
    77        text-transform: uppercase;
    78      }
    79  
    80      h3 {
    81        color: $black;
    82        font-size: 20px;
    83        font-weight: $font-weight-bold;;
    84        line-height: 1.2;
    85        margin: 50px 0 15px 0;
    86        text-transform: uppercase;
    87      }
    88  
    89      p {
    90        font-family: $font-family-open-sans;
    91        font-size: 16px;
    92        letter-spacing: 0.01em;
    93        line-height: 1.5;
    94        margin: 0 0 10px;
    95  
    96        &.lead {
    97          font-size: 20px;
    98          margin: 30px 0 30px 0;
    99        }
   100      }
   101  
   102      span.callout {
   103        background: $black;
   104        color: $white;
   105        display: inline-block;
   106        font-family: $font-family-klavika;
   107        font-size: 18px;
   108        font-weight: $font-weight-bold;
   109        line-height: 1;
   110        margin: 0;
   111        padding: 5px;
   112        letter-spacing: 0.05em;
   113        text-transform: uppercase;
   114      }
   115  
   116      &.green {
   117        background: $nomad-green;
   118  
   119        h2, h3 {
   120          color: $white;
   121        }
   122  
   123        p {
   124          color: $white;
   125          font-weight: $font-weight-reg;
   126        }
   127  
   128        a {
   129          border-bottom: 1px solid $white;
   130          color: $white;
   131  
   132          &:hover,
   133          &:active {
   134            border-bottom: none;
   135            text-decoration: none;
   136          }
   137        }
   138  
   139        span.callout {
   140          background: $white;
   141          color: $nomad-green;
   142        }
   143      }
   144  
   145      &.gray {
   146        background: #EDEDED;
   147  
   148        h2, h3 {
   149          color: $black;
   150        }
   151  
   152        p {
   153          color: $black;
   154          font-weight: $font-weight-reg;
   155        }
   156  
   157        span.callout {
   158          background: $white;
   159          color: $black;
   160        }
   161      }
   162  
   163      &.black {
   164        background: $black;
   165  
   166        h2, h3 {
   167          color: $white;
   168        }
   169  
   170        p {
   171          color: $white;
   172          font-weight: $font-weight-reg;
   173        }
   174  
   175        a {
   176          border-bottom: 1px solid $white;
   177          color: $white;
   178  
   179          &:hover,
   180          &:active {
   181            border-bottom: none;
   182            text-decoration: none;
   183          }
   184        }
   185  
   186        span.callout {
   187          background: $white;
   188          color: $black;
   189        }
   190      }
   191  
   192      &#hybrid-multi-cloud {
   193        svg {
   194          display: block;
   195          margin: 15px auto;
   196          max-height: 115px;
   197          padding: 0;
   198        }
   199      }
   200  
   201      &#flexible-workloads {
   202        svg {
   203          display: block;
   204          margin: 15px auto;
   205          max-height: 100px;
   206          padding: 0;
   207        }
   208      }
   209  
   210      &#simplify {
   211        svg {
   212          display: block;
   213          max-height: 150px;
   214          margin: 0 auto;
   215          padding: 0;
   216        }
   217  
   218        @media(max-width: $screen-sm) {
   219          svg {
   220            margin: 60px auto;
   221          }
   222        }
   223      }
   224  
   225      &#binpacking {
   226        svg {
   227          display: block;
   228          margin: 60px auto;
   229          max-height: 300px;
   230          padding: 0;
   231        }
   232      }
   233    }
   234  
   235    .terminal {
   236      border: 1px solid $white;
   237      background: $black;
   238      box-sizing: border-box;
   239      color: $white;
   240      font-family: $font-family-monospace;
   241      font-size: 15px;
   242      line-height: 1.8;
   243      margin: 20px auto auto auto;
   244      padding: 10px 20px 20px 20px;
   245  
   246      .terminal-content {
   247        background: $black;
   248        margin-top: 5px;
   249        overflow-x: auto;
   250        width: 100%;
   251        white-space: nowrap;
   252  
   253        span {
   254          display: block;
   255  
   256          span {
   257            display: inline;
   258          }
   259  
   260          &.pre {
   261            white-space: pre;
   262          }
   263  
   264          &.text-bold {
   265            font-weight: bold;
   266          }
   267  
   268  
   269          &.text-green {
   270            color: lighten($nomad-green, 20%);
   271          }
   272  
   273          &.text-blue {
   274            color: #71A4F5;
   275          }
   276  
   277          &.text-orange {
   278            color: #F5BF49;
   279          }
   280        }
   281      }
   282  
   283      span.circle {
   284        svg {
   285          height: 12px;
   286          width: 12px;
   287        }
   288      }
   289    }
   290  }