Skip to content
Snippets Groups Projects
_globals.scss 2.39 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import './variables';
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    
    * {
      margin: 0;
      line-height: 1;
    
      font-family: 'Lato', sans-serif;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      color: white;
      box-sizing: border-box;
    }
    
    body,
    html {
      overflow-x: hidden;
      background: $black;
    }
    
    @mixin nav-height() {
      height: 80px;
      @media all and (max-width: $breakpoint) {
        height: 75px;
      }
    }
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    @mixin margin-nav-height() {
      margin-top: 80px;
      @media all and (max-width: $breakpoint) {
        margin-top: 75px;
      }
    }
    
    @mixin button($color, $bg-color) {
      cursor: pointer;
      display: flex;
      text-decoration: none;
      align-items: center;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      @media all and (min-width: $breakpoint) {
        & > div:not(:last-child) {
          margin-right: 1rem;
        }
      }
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      justify-content: space-between;
      background: $bg-color;
      color: $color;
      border-radius: 2px;
      width: 100%;
      height: 56px;
      max-width: fit-content;
      padding: 1rem;
      margin: 2rem 0;
      border: 0;
      transition: all 400ms ease;
      &:hover {
    
        box-shadow: 0 0 20px 0 $bg-color;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      }
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      span {
        font-weight: 900;
      }
    }
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      padding-top: 2rem;
    }
    
    
    .text-18-white {
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      font-weight: 400;
    
      color: white;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      font-size: 1.125rem;
      line-height: 1.6rem;
    }
    
    .text-22-white {
      font-weight: 400;
      color: white;
      font-size: 1.375rem;
      line-height: 1.8rem;
      margin-bottom: 1.5rem;
    
      @media all and (max-width: $breakpoint) {
        text-align: center;
      }
    }
    
    .text-20-white {
      color: var(--text-bright, #e0e0e0);
      font-family: Lato, serif;
      font-size: 1.25rem;
      font-style: normal;
      font-weight: 400 !important;
      line-height: 130%;
    
      @media all and (max-width: $breakpoint) {
        font-size: 1.125rem;
        text-align: center;
      }
    }
    
    .text-24-white-bold {
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      font-weight: 900;
      color: white;
    
      font-size: 1.5rem;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      line-height: 2rem;
    }
    
    
    .text-40-white-bold {
      color: var(--text-white, var(--Greyscale---NEUTRALS-N0---Cocaine, #fff));
      font-size: 2.5rem;
      font-style: normal;
      font-weight: 900;
      line-height: normal;
    }
    
    .text-60-white {
      font-weight: 900;
      font-size: 3.6rem !important;
      line-height: normal;
    
      @media all and (max-width: $breakpoint) {
        font-size: 2.25rem !important;
        text-align: center;
      }
    }
    
    .text-45-white {
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      font-weight: 900;
    
      font-size: 2.8125rem;
      line-height: 3.5rem;
    
      @media all and (max-width: $breakpoint) {
        font-size: 1.875rem;
        text-align: center;
        line-height: normal;
      }
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    }
    
    .yellow {
      color: $yellow;
    }
    
    @media all and (max-width: $breakpoint) {
      .text-36-white,
      .text-36-black {
        font-size: 1.85rem;
      }
    }