Sha256: 77357c46748ff3859fb7edd276f5c4741afff52caeb7176e3c5d41333df12371

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

.header {

  color: $white;
  background-image: url($background-image);
  background-color: $black;
  background-size: cover;
  background-position: center right;

  &__home {
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-top: 60px;

    display: flex;
    justify-content: center;
    flex-direction: column;

    &__title, &__description, &__preamble {
      @extend .container;
      text-shadow: 0 0 5px $black;
    }

    &__description {
      @extend .lead;
    }

    &__worklines {
      @extend .container;
      .btn {
        @extend .btn, .btn-outline-light;
        margin-bottom: 1rem;
        margin-right: 1rem;
      }
    }
  }

  &__page {
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-top: 60px;

    display: flex;
    justify-content: center;
    flex-direction: column;

    &__title, &__description {
      @extend .container;
      text-shadow: 0 0 5px $black;
    }

    &__description {
      @extend .lead;
    }
  }

  &__blog, &__post {
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-top: 60px;

    display: flex;
    justify-content: space-between;
    flex-direction: row;

    &__newer, &__older {
      padding: 0.5em;
      font-size: $h3-font-size;
      color: $white;
      background: $black;
      opacity: 0.3;
      &:hover {
        opacity: 0.65;
      }
      &--disabled {
        opacity: 0;
        &:hover {
          opacity: 0;
        }
      }
    }

    &__present {
      @extend .container;
    }

    &__title, &__description {
      text-shadow: 0 0 5px $black;
    }

    &__description {
      @extend .lead;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-centos-0.2.6 _sass/centos/_header.scss