.site-author-image {
  border: $site-author-image-border-width solid $site-author-image-border-color;
  display: block;
  height: $site-author-image-height;
  margin: 0 auto;
  max-width: $site-author-image-width;
  padding: $site-author-image-padding;

  if (hexo-config('avatar.rounded')) {
    border-radius: 50%;
  }
}

if (hexo-config('avatar.rotated')) {
  .site-author-image {
    transition: transform 1s ease-out;
  }

  .site-author-image:hover {
    transform: rotateZ(360deg);
  }
}

.site-author-name {
  color: $site-author-name-color;
  font-weight: $site-author-name-weight;
  margin: $site-author-name-margin;
  text-align: $site-author-name-align;
}

.site-description {
  color: $site-description-color;
  font-size: $site-description-font-size;
  margin-top: $site-description-margin-top;
  text-align: $site-description-align;
}
