_author.scss 978 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .author {
  2. display: flex;
  3. align-items: center;
  4. gap: 24px;
  5. border-radius: 8px;
  6. &__img {
  7. flex-shrink: 0;
  8. width: 100px;
  9. height: 100px;
  10. border-radius: 50%;
  11. overflow: hidden;
  12. img {
  13. width: 100%;
  14. height: 100%;
  15. object-fit: cover;
  16. }
  17. }
  18. &__info {
  19. display: flex;
  20. flex-direction: column;
  21. gap: 16px;
  22. }
  23. &__name {
  24. font-size: 14px;
  25. font-weight: 600;
  26. }
  27. &__name-header{
  28. display:flex;
  29. align-items: center;
  30. justify-content: space-between;
  31. }
  32. &__name-n{
  33. color: var(--text-color);
  34. font-size: 16px;
  35. font-style: normal;
  36. font-weight: 700;
  37. line-height: 18px; /* 112.5% */
  38. }
  39. &__name-v{
  40. color: var(--accent-color);
  41. font-size: 18px;
  42. font-style: normal;
  43. font-weight: 700;
  44. line-height: 18px; /* 100% */
  45. }
  46. }