Sha256: 728eecd095bc3fb8053a7ed835889eaca069bfbd69ce0a0fb17d937675af54b1

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

.m-page-header {
  background-color: $main-color-3;
  a {
    font-weight: map-get($base, font-weight);
    @include link-text-colors( $text-color-3, $main-color-1, $main-color-1);
  }
  &>.main>.site-logo {
    float: left;
    @include horizontal-space(1rem, 0);
    @include align-items(center);
    height: map-get($layout, header-height);
    &>svg {
      margin-right: .8rem;
      vertical-align: middle;
      width: map-get($base, font-size-h4) * 1.6;
      height: map-get($base, font-size-h4) * 1.6;
      @include media-breakpoint-down(s) {
        margin-right: .5rem;
        width: map-get($base, font-size-h4) * 1.2;
        height: map-get($base, font-size-h4) * 1.2;
      }
    }
    &>a {
      display: inline-block;
      font-size: map-get($base, font-size-h4);
      @include media-breakpoint-down(s) {
        font-size: map-get($base, font-size-h4-small);
      }
    }
    @include media-breakpoint-down(s) {
      float: none;
      height: map-get($layout, header-height-small);
    }
  }
  &>.main>nav {
    display: block;
    float: right;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    ul {
      margin: 0;
      @include horizontal-space(1rem, .5rem, nowrap);
      @include align-items(center);
      height: map-get($layout, header-height);
      @include media-breakpoint-down(s) {
        height: auto;
      }
    }
    @include media-breakpoint-down(s) {
      float: none;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-text-theme-1.5.0 _sass/components/_header.scss