Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

87 строки
1.7 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .card {
  4. &-inner {
  5. display: block;
  6. max-width: 350px;
  7. background: var(--theme-color-primary);
  8. border-radius: 16px;
  9. @media(max-width: 645px) {
  10. max-width: 230px;
  11. }
  12. &:hover {
  13. text-decoration: none;
  14. }
  15. }
  16. .image-box {
  17. overflow: hidden;
  18. height: 233px;
  19. position: relative;
  20. border-top-left-radius: 16px;
  21. border-top-right-radius: 16px;
  22. @media(max-width: 645px) {
  23. height: 153px;
  24. }
  25. img {
  26. width: 100%;
  27. height: 100%;
  28. object-fit: cover;
  29. border-top-left-radius: 16px;
  30. border-top-right-radius: 16px;
  31. transition: all 0.3s ease-in-out;
  32. }
  33. .copyright {
  34. @include copyright;
  35. margin-bottom: 8px;
  36. }
  37. }
  38. .text-box {
  39. position: relative;
  40. height: 197px;
  41. padding: 0 25px;
  42. color: var(--theme-color-white);
  43. border-bottom-left-radius: 16px;
  44. border-bottom-right-radius: 16px;
  45. background: var(--theme-color-gradient-01);
  46. background: linear-gradient(162deg, var(--theme-color-gradient-01) 50%, var(--theme-color-gradient-02) 98%, var(--theme-color-gradient-03) 100%);
  47. @media(max-width: 645px) {
  48. height: 130px;
  49. }
  50. &:before {
  51. content: '';
  52. position: absolute;
  53. left: 0;
  54. top: -34px;
  55. width: 100%;
  56. height: 34px;
  57. clip-path: path('M 0 15.88 C 112.843 -4.02 237.282 -3.95 350 15.88 L 350 234 L 0 234 Z');
  58. background: var(--theme-color-gradient-01);
  59. }
  60. .kicker {
  61. }
  62. .like-h4 {
  63. text-decoration: underline;
  64. margin: 0;
  65. }
  66. }
  67. &:hover {
  68. .card-inner {
  69. .image-box {
  70. img {
  71. scale: 1.1;
  72. }
  73. }
  74. }
  75. }
  76. }