@import "variables";

html {
  overflow-x: hidden;
}

#updates {
  display: grid;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
  text-align: left;
}

#changeItem {
  margin: 2px;

  p {
    margin: 0;
    padding: 0;
    display: inline-block;
    color: white;
    font-size: 17px;
  }

  #badge {
    display: inline-grid;
    align-items: center;
    height: 25px;
    min-width: 75px;
    padding: 0 5px;
    border-radius: 50px;
    text-align: center;

    p {
      font-weight: 600;
      font-size: 15px;
    }

    &.new {
      background-color: #12BD60;
    }

    &.fix {
      background-color: #ff5050;
    }

    &.change {
      background-color: $blurple;
    }
  }

  #text {
    margin-left: 3px;

    a {
      position: relative;
      color: $blurple;

      &:after {
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
        content: '';
        position: absolute;
        height: 2px;
        width: 0%;
        left: 50%;
        bottom: -1px;
        background-color: $blurple;
      }

      &:hover:after {
        width: 100%;
        left: 0;
      }
    }
  }
}