Sha256: b1e796d82aeac2d9b60d376a1f7216e00b2bd901496bb829c3308855274926f9

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

.masthead {
  padding: var(--spacer) 0;
  margin-bottom: var(--spacer-3);
}

.masthead-title {
  font-size: 120%;
  font-weight: bold;
  color: var(--heading-color);

  &:hover,
  &:focus {
    color: var(--heading-color);
    text-decoration: none;
  }
}

.masthead-tagline {
  color: var(--body-color-light);
}

.nav {
  margin-top: var(--spacer);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  display: inline-block;
  margin-right: 1em;

  &:before {
    content: "/";
  }

  a {
    color: inherit;

    &:hover,
    &:focus {
      color: var(--link-color);
      text-decoration: none;
    }
  }
}

@media screen and (min-width: $lg-screen) {
  .masthead {
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }

  .masthead-title {
    display: block;
    font-size: 200%;
  }

  .masthead-tagline {
    display: block;
    font-size: 100%;
  }

  .nav {
    margin-top: var(--spacer-2);
  }
  .nav-item {
    display: block;
    margin-right: 0;
    margin-bottom: var(--spacer);
    font-size: 120%;

    &:before {
      content: none;
    }

    a {
      border-bottom: 2px solid var(--body-color);
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-scaffold-1.1.0 _sass/scaffold/_header.scss
jekyll-theme-scaffold-1.0.0 _sass/scaffold/_header.scss