.github-corner {
  position: absolute;
  top: 0;

  &.is-left-aligned {
    left: 0;
    transform: scaleX(-1);
  }

  &:not(.is-left-aligned) {
    right: 0;
  }

  &.is-inverted {
    color: $color-black;

    svg {
      fill: $color-white;
    }

    &:hover {
      color: $color-black;
    }
  }

  &:not(.is-inverted) {
    color: $color-white;

    svg {
      fill: $color-black;
    }

    &:hover {
      color: $color-white;
    }
  }
}
