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

124 строки
2.3 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. .magazine-header {
  4. --magazine-header-height: 90px;
  5. position: sticky;
  6. display: block;
  7. height: var(--magazine-header-height);
  8. top: var(--header-height);
  9. z-index: 99;
  10. font-size: 0;
  11. line-height: 0;
  12. text-align: center;
  13. pointer-events: none;
  14. box-shadow: 0 -10px 0 0 var(--swatches-neutrals-white);
  15. margin-top: 0;
  16. container-type: inline-size;
  17. @media(max-width: 767px) {
  18. --magazine-header-height: 70px;
  19. margin-bottom: 0;
  20. }
  21. a {
  22. transition: none;
  23. }
  24. .gradient {
  25. @include full-size;
  26. @include gradient;
  27. // background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  28. transform-origin: center top;
  29. }
  30. .title {
  31. position: absolute;
  32. top: 50%;
  33. left: 50%;
  34. transform-origin: center 7%;
  35. transform: translate(-50%, -50%);
  36. display: inline-block;
  37. font-family: var(--font-korb), sans-serif;
  38. font-size: var(--font-size-h1);
  39. color: var(--color-text);
  40. line-height: 1;
  41. padding: 15px;
  42. font-weight: 400;
  43. text-decoration: none;
  44. pointer-events: all;
  45. @media(max-width: 567px) {
  46. display: block;
  47. width: 100%;
  48. }
  49. }
  50. img {
  51. display: block;
  52. width: auto;
  53. height: auto;
  54. max-height: 75px;
  55. margin: 0 auto;
  56. @media(max-width: 767px) {
  57. max-height: 56px;
  58. margin: 0 auto;
  59. }
  60. }
  61. .image-and-text {
  62. display: flex !important;
  63. align-items: center;
  64. @media(max-width: 567px) {
  65. width: auto;
  66. }
  67. img {
  68. @media(max-width: 370px) {
  69. display: none;
  70. }
  71. }
  72. }
  73. .text {
  74. display: flex;
  75. flex-direction: column;
  76. font-size: 32px;
  77. line-height: 29px;
  78. padding-left: 10px;
  79. margin: 0;
  80. white-space: nowrap;
  81. @media(max-width: 567px) {
  82. font-size: 22px;
  83. line-height: 19px;
  84. }
  85. .title-text {
  86. text-align: right;
  87. }
  88. .small-text {
  89. text-align: right;
  90. font-size: 19px;
  91. @media(max-width: 567px) {
  92. font-size: 13px;
  93. }
  94. }
  95. }
  96. &.narrow {
  97. --magazine-header-height: 50px;
  98. margin-bottom: 10px;
  99. @media(max-width: 767px) {
  100. margin-bottom: 0;
  101. }
  102. img {
  103. height: auto;
  104. max-height: 40px;
  105. }
  106. .title {
  107. font-size: var(--font-size-h3);
  108. }
  109. }
  110. }