|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
-
- .magazine-header {
- --magazine-header-height: 90px;
- position: sticky;
- display: block;
- height: var(--magazine-header-height);
- top: var(--header-height);
- z-index: 99;
- font-size: 0;
- line-height: 0;
- text-align: center;
- pointer-events: none;
- box-shadow: 0 -10px 0 0 var(--theme-color-white);
-
- @media(max-width: 767px) {
- --magazine-header-height: 70px;
- margin-bottom: 0;
- }
-
- a {
- transition: none;
- }
-
- .gradient {
- @include full-size;
- background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
- transform-origin: center top;
- }
-
- .title {
- position: absolute;
- top: 50%;
- left: 50%;
- transform-origin: center 7%;
- transform: translate(-50%, -50%);
- display: inline-block;
- font-family: var(--font-korb);
- font-size: var(--font-size-h1);
- color: white;
- line-height: 1;
- padding: 15px;
- font-weight: 400;
- text-decoration: none;
- pointer-events: all;
-
- @media(max-width: 567px) {
- display: block;
- width: 100%;
- }
- }
-
- img {
- display: block;
- width: auto;
- height: calc(var(--magazine-header-height) * 7 / 9);
- margin: 0 auto;
- }
-
- .image-and-text {
- display: flex;
- align-items: center;
- @media(max-width: 567px) {
- width: auto;
- }
- img {
- @media(max-width: 370px) {
- display: none;
- }
- }
- }
- .text {
- display: flex;
- flex-direction: column;
- font-size: 32px;
- line-height: 29px;
- padding-left: 10px;
- margin: 0;
- white-space: nowrap;
- @media(max-width: 567px) {
- font-size: 22px;
- line-height: 19px;
- }
- .title-text {
- text-align: right;
- }
- .small-text {
- text-align: right;
- font-size: 19px;
- @media(max-width: 567px) {
- font-size: 13px;
- }
- }
- }
-
- &.narrow {
- --magazine-header-height: 50px;
- margin-bottom: 10px;
-
- @media(max-width: 767px) {
- margin-bottom: 0;
- }
-
- .title {
- font-size: var(--font-size-h3);
- }
- }
- }
|