_author.scss 1.2 KB

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