victorpopkov/universal-redux

View on GitHub
src/app/common/jumbotron/Jumbotron.scss

Summary

Maintainability
Test Coverage
.jumbotron {
  text-align: center;
  background: transparent;

  .versions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    list-style: none;

    li {
      display: inline-block;
      margin-right: 20px;
    }

    li:last-child {
      margin-right: 0;
    }

    .description {
      display: none;
      vertical-align: middle;
    }

    svg {
      display: inline-block;
      width: 96px;
      height: 96px;
      vertical-align: middle;
    }
  }
}

@include media-breakpoint-down(sm) {
  .jumbotron {
    h1 {
      font-size: $h3-font-size;
    }

    p {
      font-size: 1rem;
    }

    .versions {
      svg {
        width: 64px;
        height: 64px;
      }
    }
  }
}