No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

122 líneas
2.3 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: auto;
  52. max-height: 75px;
  53. margin: 0 auto;
  54. @media(max-width: 767px) {
  55. max-height: 56px;
  56. margin: 0 auto;
  57. }
  58. }
  59. .image-and-text {
  60. display: flex !important;
  61. align-items: center;
  62. @media(max-width: 567px) {
  63. width: auto;
  64. }
  65. img {
  66. @media(max-width: 370px) {
  67. display: none;
  68. }
  69. }
  70. }
  71. .text {
  72. display: flex;
  73. flex-direction: column;
  74. font-size: 32px;
  75. line-height: 29px;
  76. padding-left: 10px;
  77. margin: 0;
  78. white-space: nowrap;
  79. @media(max-width: 567px) {
  80. font-size: 22px;
  81. line-height: 19px;
  82. }
  83. .title-text {
  84. text-align: right;
  85. }
  86. .small-text {
  87. text-align: right;
  88. font-size: 19px;
  89. @media(max-width: 567px) {
  90. font-size: 13px;
  91. }
  92. }
  93. }
  94. &.narrow {
  95. --magazine-header-height: 50px;
  96. margin-bottom: 10px;
  97. @media(max-width: 767px) {
  98. margin-bottom: 0;
  99. }
  100. img {
  101. height: auto;
  102. max-height: 40px;
  103. }
  104. .title {
  105. font-size: var(--font-size-h3);
  106. }
  107. }
  108. }