Sha256: 982c0cd5b32bc58a4df5f7b07d0c57810f02c8f3b3cc8eaad74872d914669a0a

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

@use "variables";

.page-header {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 3.3rem;

  background-color: var(--header-background);
  color: var(--header-text-primary);

  display: flex;
  justify-content: center;

  border-bottom: 1px solid var(--border-secondary);

  padding: 0.3rem 1rem;

  @media screen and (max-width: 380px) {
    padding: 0.3rem 0.5rem;
  }

  .page-header--container {
    width: 100%;
    height: 100%;

    max-width: variables.$main-max-width - variables.$content-width-overflow;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.header-logo {
  float: left;
  height: 100%;

  padding-top: 0.15rem;
  padding-bottom: 0.15rem;

  a {
    display: inline-block;
    text-decoration: none;
    color: var(--header-text-primary);
    height: 100%;
  }

  img {
    height: 100%;
    width: auto;
    max-height: 38px;
  }
}

.header-nav {
  height: 100%;
  float: right;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;

  gap: 0.75rem;

  @media screen and (max-width: 380px) {
    gap: 0.5rem;
  }

  a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    min-width: 3rem;
    max-width: 6rem;

    border-radius: 3px;

    padding-left: 0.5rem;
    padding-right: 0.5rem;

    text-decoration: none;
    color: var(--header-text-primary);

    &:hover {
      background-color: var(--nav-link-hover);
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-tallneck-0.3.1 _sass/tallneck/header.scss
jekyll-theme-tallneck-0.3.0 _sass/tallneck/header.scss
jekyll-theme-tallneck-0.2.11 _sass/tallneck/header.scss