_welcome.scss 1.26 KB
Newer Older
1
.onboarding {
Nicolas Giard's avatar
Nicolas Giard committed
2
  background: linear-gradient(to bottom, mc('grey', '900') 0%, mc('grey', '700') 100%);
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: mc('grey', '50');

  &::before {
    content: '';
    display:block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
18
    background-image: url('../static/svg/motif-blocks.svg');
NGPixel's avatar
NGPixel committed
19
    background-position: center center;
20 21 22 23
    background-repeat: repeat;
    background-size: 500px;
    z-index: 0;
    opacity: .75;
NGPixel's avatar
NGPixel committed
24 25 26 27 28 29 30 31 32 33
    animation: onboardingBgReveal 50s linear infinite;

    @include keyframes(onboardingBgReveal) {
      0% {
        background-position-y: 0;
      }
      100% {
        background-position-y: -2000px;
      }
    }
34 35
  }

36 37 38 39 40 41
  &-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
42 43
  }

44 45 46 47 48
  img {
    width: 500px;
    filter: grayscale(100%) brightness(160%);
    margin-bottom: 3rem;
    z-index: 2;
49
    animation-duration: 3s;
50 51 52 53

    @include until($tablet) {
      width: 300px;
    }
54 55
  }
  h1 {
56
    font-size: 1.5rem;
57 58 59 60 61 62 63
    margin-bottom: 1rem;
    z-index: 2;
  }
  h2 {
    margin-bottom: 3rem;
    z-index: 2;
  }
64
  .v-btn {
65 66 67
    z-index: 2;
  }
}