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

111 строки
2.1 KiB

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