sidebar-author.styl 756 B

1234567891011121314151617181920212223242526272829303132333435
  1. .site-author-image {
  2. border: $site-author-image-border-width solid $site-author-image-border-color;
  3. display: block;
  4. margin: 0 auto;
  5. max-width: $site-author-image-width;
  6. padding: 2px;
  7. if (hexo-config('avatar.rounded')) {
  8. border-radius: 50%;
  9. }
  10. }
  11. if (hexo-config('avatar.rotated')) {
  12. .site-author-image {
  13. transition: transform 1s ease-out;
  14. }
  15. .site-author-image:hover {
  16. transform: rotateZ(360deg);
  17. }
  18. }
  19. .site-author-name {
  20. color: $site-author-name-color;
  21. font-weight: $site-author-name-weight;
  22. margin: $site-author-name-margin;
  23. text-align: center;
  24. }
  25. .site-description {
  26. color: $site-description-color;
  27. font-size: $site-description-font-size;
  28. margin-top: $site-description-margin-top;
  29. text-align: center;
  30. }