CoreFiles by mySites.guru
_banner.scss47 lines, 924 bytes, from Joomla_4.0.0-Stable-Full_Package.zip
Raw History Compare with 3.10.12
md5
c9aec46c55ee128307a2275e32f90a82
sha1
75a0111117e584aadad2a7367d4a0681eef12442
sha256
a4763b8c56f8e95f115b6f107b4ccdecf9aa967411a6f15de551f624c8f6c303
// Banner

.container-banner {
  img {
    display: block;
    margin: auto;
  }

  .banner-overlay {
    height: 70vh;
    color: $white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top,center;
    background-size: cover;

    .overlay {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: $cassiopeia-grid-gutter;
      text-align: center;
      background-color: hsla(0, 0%, 0%, .5);

      .text-thin {
        font-weight: $font-weight-lighter;
        &::after {
          display: block;
          width: 30%;
          height: 4px;
          margin: 1rem auto 2rem;
          content: "";
          background: $white;
        }
        .lead {
          font-size: 150vh;
        }
      }
    }

    @media screen and (max-height: 740px) {
      height: 100vh;
    }
  }
}

The same content is in 27 releases, Joomla 4.0.0-beta6 to 4.1.0-alpha3. See them all, or every version of this file.