@import '../../common/scss/variable.scss';

.hide-page-rank {
  display: none;
}

.page-rank {
  position: fixed;
  top: 95px;
  left: 0;
  bottom: 80px;
  width: 100%;
  z-index: 0;
  overflow-y: scroll;
}

.rank-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;

  li {
    display: inline-block;
    margin: 0 calc((100% / 5 - 130px) / 2);
    width: 130px;
    margin-bottom: 30px;
    font-size: $font-size-l;
    cursor: pointer;

    &:hover {
      .name {
        color: $color-theme;
      }
    }

    p {
      float: left;
      margin-bottom: 5px;
      width: 130px;
      color: $color-text-gray;
    }

    .name {
      font-size: $font-size-xl;
      color: $color-text;
      transition: all 0.3s;
      line-height: 20px;
    }

    .img-container {
      width: 130px;
      height: 130px;
      overflow: hidden;
      margin-bottom: 10px;
      border-radius: 5px;

      img {
        width: 130px;
        min-height: 130px;
        border-radius: 5px;
      }
    }
  }
}
