@import '../style/var';

.van-index-anchor {
  padding: @index-anchor-padding;
  color: @index-anchor-text-color;
  font-weight: @index-anchor-font-weight;
  font-size: @index-anchor-font-size;
  line-height: @index-anchor-line-height;
  background-color: @index-anchor-background-color;

  &--sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: @index-anchor-sticky-background-color;
  }
}
