Skip to content
Snippets Groups Projects
challengeView.scss 1.13 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import '../../styles/base/breakpoint';
    @import '../../styles/base/typo-variables';
    @import '../../styles/base/color';
    
    .challengeSlider {
    
      position: relative;
      user-select: none;
    
      display: flex;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      flex: 1;
    
      flex-direction: column;
      align-items: center;
      padding: 0 2rem;
    
    .challenge-container {
      position: relative;
    
      width: 100%;
      display: flex;
    
      align-items: center;
    
      transition: all 300ms ease;
    }
    .cardContent {
      margin: auto;
    
      cursor: pointer;
    
      .title {
        font-weight: 400;
        text-align: center;
        text-transform: uppercase;
        font-family: $text-font;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        font-size: 1.2rem;
    
        margin-bottom: 0;
      }
    
        display: block;
        font-weight: 700;
        text-align: center;
        font-family: $text-font;
        color: $grey-bright;
    
        font-size: 1.5rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        width: 100%;
        max-width: 180px;
        margin: auto;
        height: auto;
        text-align: center;
        display: block;
    
      }
    }
    .sliderButtons {
      text-align: center;
      margin: auto;
      margin-top: 1.5rem;
      @media all and (max-width: $width-tablet) {
        display: none;
      }