Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>master
| @@ -110,8 +110,6 @@ | |||||
| } | } | ||||
| &:hover { | &:hover { | ||||
| //color: var(--theme-color-link-hover); | |||||
| &:before { | &:before { | ||||
| opacity: 0.3; | opacity: 0.3; | ||||
| } | } | ||||
| @@ -6,8 +6,8 @@ | |||||
| } | } | ||||
| .election-form { | .election-form { | ||||
| --theme-color-link: var(--color-text); | |||||
| --theme-color-link-hover: var(--color-text); | |||||
| --color-text-accent: var(--color-text); | |||||
| --color-decoration: var(--color-text); | |||||
| padding: 30px 30px 0 30px; | padding: 30px 30px 0 30px; | ||||
| border-radius: var(--border-radius-xs); | border-radius: var(--border-radius-xs); | ||||
| color: var(--color-text); | color: var(--color-text); | ||||
| @@ -14,7 +14,7 @@ | |||||
| left: 0; | left: 0; | ||||
| right: 0; | right: 0; | ||||
| height: calc(var(--viewport-height, 1vh) * 100 - var(--header-height)); | height: calc(var(--viewport-height, 1vh) * 100 - var(--header-height)); | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| .outer { | .outer { | ||||
| position: relative; | position: relative; | ||||
| @@ -27,17 +27,17 @@ | |||||
| .form-nav { | .form-nav { | ||||
| width: 100%; | width: 100%; | ||||
| background-color: var(--theme-color-background); | |||||
| background-color: var(--color-background); | |||||
| .secondary { | .secondary { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| } | } | ||||
| .secondary { | .secondary { | ||||
| position: relative; | position: relative; | ||||
| z-index: 1; | z-index: 1; | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| text-align: left; | text-align: left; | ||||
| ul { | ul { | ||||
| @@ -182,7 +182,7 @@ | |||||
| } | } | ||||
| &:hover { | &:hover { | ||||
| text-decoration-color: var(--theme-color-primary); | |||||
| text-decoration-color: var(--swatches-primary-500); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -333,7 +333,7 @@ | |||||
| left: 0; | left: 0; | ||||
| right: 0; | right: 0; | ||||
| height: calc(var(--viewport-height, 1vh) * 100 - 100px); | height: calc(var(--viewport-height, 1vh) * 100 - 100px); | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| @include hide; | @include hide; | ||||
| @media(max-width: 767px) { | @media(max-width: 767px) { | ||||
| @@ -355,7 +355,7 @@ | |||||
| background-color: var(--swatches-neutrals-white); | background-color: var(--swatches-neutrals-white); | ||||
| .secondary { | .secondary { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| } | } | ||||
| @@ -372,7 +372,7 @@ | |||||
| border: 0; | border: 0; | ||||
| border-radius: 4px; | border-radius: 4px; | ||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| @include focus-visible; | @include focus-visible; | ||||
| @include hide; | @include hide; | ||||
| z-index: 2; | z-index: 2; | ||||
| @@ -431,8 +431,8 @@ | |||||
| &.nav-open { | &.nav-open { | ||||
| .toggle-nav { | .toggle-nav { | ||||
| background-color: var(--theme-color-primary); | |||||
| border-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| border-color: var(--swatches-primary-500); | |||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| transition: 0.2s ease 0s; | transition: 0.2s ease 0s; | ||||
| @@ -481,7 +481,7 @@ | |||||
| height: 100px; | height: 100px; | ||||
| &:before { | &:before { | ||||
| box-shadow: 0 1px 0 rgba(var(--theme-color-primary-rgb), 0.2); | |||||
| box-shadow: 0 1px 0 var(--swatches-primary-500-o20); | |||||
| } | } | ||||
| .logo { | .logo { | ||||
| @@ -512,7 +512,7 @@ | |||||
| position: fixed; | position: fixed; | ||||
| right: 0; | right: 0; | ||||
| bottom: 105px; | bottom: 105px; | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| width: 90px; | width: 90px; | ||||
| height: 45px; | height: 45px; | ||||
| @@ -560,17 +560,17 @@ | |||||
| .mobile .page-header { | .mobile .page-header { | ||||
| .primary a { | .primary a { | ||||
| -webkit-tap-highlight-color: rgba(var(--theme-color-primary-rgb), 0.1); | |||||
| -webkit-tap-highlight-color: rgba(var(--swatches-primary-500-rgb), 0.1); | |||||
| } | } | ||||
| li.open > a { | li.open > a { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| } | } | ||||
| .desktop .page-header { | .desktop .page-header { | ||||
| &:not(.nav-open) .toggle-nav:hover { | &:not(.nav-open) .toggle-nav:hover { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| .open-search:hover, .contact-nav a:hover { | .open-search:hover, .contact-nav a:hover { | ||||
| @@ -14,6 +14,7 @@ | |||||
| pointer-events: none; | pointer-events: none; | ||||
| box-shadow: 0 -10px 0 0 var(--swatches-neutrals-white); | box-shadow: 0 -10px 0 0 var(--swatches-neutrals-white); | ||||
| margin-top: 0; | margin-top: 0; | ||||
| container-type: inline-size; | |||||
| @media(max-width: 767px) { | @media(max-width: 767px) { | ||||
| --magazine-header-height: 70px; | --magazine-header-height: 70px; | ||||
| @@ -26,7 +27,8 @@ | |||||
| .gradient { | .gradient { | ||||
| @include full-size; | @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%); | |||||
| @include gradient; | |||||
| // 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; | transform-origin: center top; | ||||
| } | } | ||||
| @@ -1,6 +1,10 @@ | |||||
| @use '../../_global/styles/mixins' as *; | @use '../../_global/styles/mixins' as *; | ||||
| @use '../../_global/styles/vars' as *; | @use '../../_global/styles/vars' as *; | ||||
| *:has(> .mini-teaser) { | |||||
| container-type: inline-size; | |||||
| } | |||||
| .mini-teaser { | .mini-teaser { | ||||
| position: relative; | position: relative; | ||||
| background-color: var(--color-background); | background-color: var(--color-background); | ||||
| @@ -44,9 +48,12 @@ | |||||
| } | } | ||||
| } | } | ||||
| &.infoteaser{ | &.infoteaser{ | ||||
| background: linear-gradient(161deg, rgba(var(--theme-color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb), 0.2) 100%); | |||||
| @include gradient; | |||||
| position: relative; | position: relative; | ||||
| container-type: inline-size; | |||||
| &:after{ | &:after{ | ||||
| @include gradient; | |||||
| content:""; | content:""; | ||||
| position:absolute; | position:absolute; | ||||
| left:0; | left:0; | ||||
| @@ -54,22 +61,20 @@ | |||||
| top:0; | top:0; | ||||
| bottom:0; | bottom:0; | ||||
| z-index:-1; | z-index:-1; | ||||
| background: linear-gradient(161deg, var(--theme-color-gradient-01) 40%, var(--theme-color-gradient-02) 80%, var(--theme-color-gradient-03) 120%); | |||||
| } | } | ||||
| &.background-image{ | &.background-image{ | ||||
| background-size:cover; | background-size:cover; | ||||
| &:after{ | &:after{ | ||||
| content:""; | |||||
| position:absolute; | position:absolute; | ||||
| top:0; | top:0; | ||||
| left:0; | left:0; | ||||
| bottom:0; | bottom:0; | ||||
| right:0; | right:0; | ||||
| z-index: 0; | z-index: 0; | ||||
| content:""; | |||||
| opacity: 0.6; | opacity: 0.6; | ||||
| background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%); | background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%); | ||||
| background-blend-mode: overlay; | background-blend-mode: overlay; | ||||
| } | } | ||||
| .text-box{ | .text-box{ | ||||
| position: relative; | position: relative; | ||||
| @@ -84,7 +84,7 @@ | |||||
| &:after { | &:after { | ||||
| content: ""; | content: ""; | ||||
| @include full-size; | @include full-size; | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| opacity: 0.1; | opacity: 0.1; | ||||
| transition: 0.3s $easeInOutSine; | transition: 0.3s $easeInOutSine; | ||||
| } | } | ||||
| @@ -129,7 +129,7 @@ | |||||
| z-index: 1; | z-index: 1; | ||||
| a { | a { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| padding-left: 60px; | padding-left: 60px; | ||||
| padding-right: 20px; | padding-right: 20px; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| @@ -154,11 +154,12 @@ | |||||
| &.magazine-nav { | &.magazine-nav { | ||||
| position: relative; | position: relative; | ||||
| container-type: inline-size; | |||||
| &:before { | &:before { | ||||
| content: ""; | content: ""; | ||||
| @include full-size; | @include full-size; | ||||
| background: linear-gradient(90deg, var(--theme-color-gradient-01) 20%, var(--theme-color-gradient-02) 70%, var(--theme-color-gradient-03) 100%); | |||||
| @include gradient; | |||||
| transition: 0.3s ease; | transition: 0.3s ease; | ||||
| width: 100%; | width: 100%; | ||||
| } | } | ||||
| @@ -256,11 +257,11 @@ | |||||
| min-height: 61px; | min-height: 61px; | ||||
| text-decoration: none; | text-decoration: none; | ||||
| transition: 0.3s $easeOutSine; | transition: 0.3s $easeOutSine; | ||||
| border-bottom: 1px solid rgba(var(--theme-color-primary-rgb), 0.1); | |||||
| border-bottom: 1px solid rgba(var(--swatches-primary-500-rgb), 0.1); | |||||
| @include focus-visible(true); | @include focus-visible(true); | ||||
| &.active { | &.active { | ||||
| background-color: var(--theme-grey-light); | |||||
| background-color: var(--swatches-primary-100); | |||||
| padding-left: 12px; | padding-left: 12px; | ||||
| border-left: var(--border-width) solid var(--swatches-secondary-700); | border-left: var(--border-width) solid var(--swatches-secondary-700); | ||||
| } | } | ||||
| @@ -290,7 +291,7 @@ | |||||
| &:hover { | &:hover { | ||||
| text-decoration: none; | text-decoration: none; | ||||
| background-color: rgba(var(--theme-color-primary-rgb), 0.06); | |||||
| background-color: rgba(var(--swatches-primary-500-rgb), 0.06); | |||||
| } | } | ||||
| } | } | ||||
| @@ -335,7 +336,7 @@ | |||||
| .secondary { | .secondary { | ||||
| position: relative; | position: relative; | ||||
| z-index: 1; | z-index: 1; | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| text-align: left; | text-align: left; | ||||
| ul { | ul { | ||||
| @@ -480,7 +481,7 @@ | |||||
| } | } | ||||
| &:hover { | &:hover { | ||||
| text-decoration-color: var(--theme-color-primary); | |||||
| text-decoration-color: var(--swatches-primary-500); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -3,16 +3,21 @@ | |||||
| .infobanner { | .infobanner { | ||||
| margin: var(--section-margin) auto; | margin: var(--section-margin) auto; | ||||
| container-type: inline-size; | |||||
| * > .banner { | |||||
| container-type: inline-size; | |||||
| } | |||||
| .banner { | .banner { | ||||
| position: relative; | position: relative; | ||||
| display: flex; | display: flex; | ||||
| color: var(--color-text); | color: var(--color-text); | ||||
| background: linear-gradient(130deg, var(--theme-color-gradient-01) 40%,var(--theme-color-gradient-02) 80%,var(--theme-color-gradient-03) 120%); | |||||
| border-radius: var(--border-radius-xs); | border-radius: var(--border-radius-xs); | ||||
| text-decoration: none; | text-decoration: none; | ||||
| transition: 0.25s ease; | transition: 0.25s ease; | ||||
| @include focus-visible; | @include focus-visible; | ||||
| @include gradient; | |||||
| &.focus-visible:focus .btn { | &.focus-visible:focus .btn { | ||||
| @include focus-standalone; | @include focus-standalone; | ||||
| @@ -68,7 +73,7 @@ | |||||
| display: flex; | display: flex; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| flex: 1 1 100%; | flex: 1 1 100%; | ||||
| background: linear-gradient(120deg, rgba(var(--theme-color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb), 0.2) 100%); | |||||
| background: linear-gradient(120deg, rgba(var(--swatches-primary-500-rgb), 1) 0%, rgba(var(--swatches-primary-500-rgb), 0.2) 100%); | |||||
| border-radius: var(--border-radius-xs); | border-radius: var(--border-radius-xs); | ||||
| @media(max-width: 567px) { | @media(max-width: 567px) { | ||||
| @@ -76,6 +81,10 @@ | |||||
| } | } | ||||
| } | } | ||||
| &:not(.has-image-box) .text-wrapper { | |||||
| background: none; | |||||
| } | |||||
| .text-box { | .text-box { | ||||
| padding: 18px 24px; | padding: 18px 24px; | ||||
| min-height: 180px; | min-height: 180px; | ||||
| @@ -17,6 +17,7 @@ | |||||
| h1 { | h1 { | ||||
| position: relative; | position: relative; | ||||
| padding-bottom: 0.7em; | padding-bottom: 0.7em; | ||||
| container-type: inline-size; | |||||
| &:first-child { | &:first-child { | ||||
| margin-top: 0.1em; | margin-top: 0.1em; | ||||
| @@ -32,9 +33,9 @@ | |||||
| left: 0.05em; | left: 0.05em; | ||||
| bottom: calc(0.15em - var(--border-width) / 2); | bottom: calc(0.15em - var(--border-width) / 2); | ||||
| height: var(--border-width); | height: var(--border-width); | ||||
| background: linear-gradient(85deg, var(--theme-color-gradient-01) 0%, var(--theme-color-gradient-02) 50%, var(--theme-color-gradient-03) 100%); | |||||
| width: calc(50vw + 460px); | width: calc(50vw + 460px); | ||||
| @include gradient; | |||||
| @media(max-width: 999px) { | @media(max-width: 999px) { | ||||
| width: calc(100% + 30px); | width: calc(100% + 30px); | ||||
| } | } | ||||
| @@ -6,12 +6,12 @@ section.marketingheader { | |||||
| &.miniinfoteaser { | &.miniinfoteaser { | ||||
| .kicker { | .kicker { | ||||
| //color: var(--theme-color-secondary); | |||||
| //color: var(--swatches-secondary-500); | |||||
| } | } | ||||
| .mini-teaser { | .mini-teaser { | ||||
| .category { | .category { | ||||
| color: var(--theme-color-secondary); | |||||
| color: var(--swatches-secondary-500); | |||||
| } | } | ||||
| } | } | ||||
| @@ -71,7 +71,7 @@ section.marketingheader { | |||||
| position: relative; | position: relative; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| margin: 0; | margin: 0; | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| height: 100px; | height: 100px; | ||||
| transition: all .6s ease-in-out; | transition: all .6s ease-in-out; | ||||
| background-size: cover; | background-size: cover; | ||||
| @@ -118,7 +118,7 @@ section.marketingheader { | |||||
| border-radius: 10px; | border-radius: 10px; | ||||
| height: 34px; | height: 34px; | ||||
| width: 34px; | width: 34px; | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| @include focus-visible; | @include focus-visible; | ||||
| z-index: 2; | z-index: 2; | ||||
| @@ -223,12 +223,12 @@ section.marketingheader { | |||||
| } | } | ||||
| &::placeholder { | &::placeholder { | ||||
| color: var(--theme-color-primary) !important; | |||||
| color: var(--swatches-primary-500) !important; | |||||
| } | } | ||||
| } | } | ||||
| button.search-submit { | button.search-submit { | ||||
| background-color: var(--theme-color-primary) !important; | |||||
| background-color: var(--swatches-primary-500) !important; | |||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| border-top-left-radius: 0 !important; | border-top-left-radius: 0 !important; | ||||
| border-bottom-left-radius: 0 !important; | border-bottom-left-radius: 0 !important; | ||||
| @@ -380,7 +380,7 @@ section.marketingheader { | |||||
| } | } | ||||
| .outer { | .outer { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| p { | p { | ||||
| @@ -413,7 +413,7 @@ section.marketingheader { | |||||
| box-shadow: 0 4px 20px -5px rgba(#000, 0.25); | box-shadow: 0 4px 20px -5px rgba(#000, 0.25); | ||||
| transition: 0.25s ease; | transition: 0.25s ease; | ||||
| line-height: 1.2; | line-height: 1.2; | ||||
| background-color: var(--theme-color-background); | |||||
| background-color: var(--color-background); | |||||
| overflow: hidden; | overflow: hidden; | ||||
| @include focus-visible(); | @include focus-visible(); | ||||
| @@ -431,7 +431,7 @@ section.marketingheader { | |||||
| left: 0; | left: 0; | ||||
| right: 0; | right: 0; | ||||
| height: var(--border-width); | height: var(--border-width); | ||||
| background-color: var(--theme-color-secondary); | |||||
| background-color: var(--swatches-secondary-500); | |||||
| transition: 0.25s $easeOutQuad; | transition: 0.25s $easeOutQuad; | ||||
| } | } | ||||
| @@ -451,7 +451,7 @@ section.marketingheader { | |||||
| } | } | ||||
| .outer { | .outer { | ||||
| background-color: var(--theme-primary-light-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| padding: 14px 20px 18px; | padding: 14px 20px 18px; | ||||
| border: 4px solid var(--swatches-neutrals-white); | border: 4px solid var(--swatches-neutrals-white); | ||||
| @@ -494,7 +494,7 @@ section.marketingheader { | |||||
| font-weight: 500; | font-weight: 500; | ||||
| &:hover { | &:hover { | ||||
| color: var(--color-secondary-dark); | |||||
| color: var(--swatches-secondary-700); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -931,7 +931,7 @@ section.marketingheader { | |||||
| .btn { | .btn { | ||||
| @media (min-width: 1000px) { | @media (min-width: 1000px) { | ||||
| background-color: var(--swatches-neutrals-white) !important; | background-color: var(--swatches-neutrals-white) !important; | ||||
| color: var(--theme-color-primary) !important; | |||||
| color: var(--swatches-primary-500) !important; | |||||
| } | } | ||||
| &:hover:after { | &:hover:after { | ||||
| @@ -1039,7 +1039,7 @@ section.marketingheader { | |||||
| button.btn::before { | button.btn::before { | ||||
| width: 0; | width: 0; | ||||
| background-color: var(--theme-grey-light); | |||||
| background-color: var(--swatches-primary-100); | |||||
| content: ""; | content: ""; | ||||
| z-index: 0; | z-index: 0; | ||||
| height: 100%; | height: 100%; | ||||
| @@ -1068,7 +1068,7 @@ section.marketingheader { | |||||
| } | } | ||||
| .text-box { | .text-box { | ||||
| color: var(--theme-color-primary); | |||||
| color: var(--swatches-primary-500); | |||||
| padding: 30px 20px 24px 20px; | padding: 30px 20px 24px 20px; | ||||
| display: flex; | display: flex; | ||||
| flex-flow: column; | flex-flow: column; | ||||
| @@ -1087,22 +1087,24 @@ section.marketingheader { | |||||
| } | } | ||||
| &:not(:first-child)::before { | &:not(:first-child)::before { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--swatches-primary-100); | |||||
| } | } | ||||
| .btn { | .btn { | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--swatches-primary-500); | |||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| &:hover:after { | &:hover:after { | ||||
| box-shadow: 0 0 0 var(--button-hover-shadow-size) var(--theme-color-primary); | |||||
| box-shadow: 0 0 0 var(--button-hover-shadow-size) var(--swatches-primary-500); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| .text-only { | .text-only { | ||||
| container-type: inline-size; | |||||
| .image-box { | .image-box { | ||||
| background: linear-gradient(149deg, var(--theme-color-gradient-01) 46.62%, var(--theme-color-gradient-02) 84.79%, var(--theme-color-gradient-03) 112.16%); | |||||
| @include gradient; | |||||
| @media (max-width: 999px) { | @media (max-width: 999px) { | ||||
| width: calc(100vw - (2 * var(--container-padding))); | width: calc(100vw - (2 * var(--container-padding))); | ||||
| height: calc((100vw - (2 * var(--container-padding))) * 2 / 3); | height: calc((100vw - (2 * var(--container-padding))) * 2 / 3); | ||||
| @@ -221,6 +221,7 @@ | |||||
| position: static; | position: static; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| max-width: none; | max-width: none; | ||||
| container-type: inline-size; | |||||
| @media(max-width: 999px) { | @media(max-width: 999px) { | ||||
| //justify-content: flex-start; | //justify-content: flex-start; | ||||
| @@ -232,7 +233,7 @@ | |||||
| &:after { | &:after { | ||||
| content: ""; | content: ""; | ||||
| background: linear-gradient(130deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 80%, var(--theme-color-gradient-03) 100%); | |||||
| @include gradient; | |||||
| position: absolute; | position: absolute; | ||||
| top: 0; | top: 0; | ||||
| left: 0; | left: 0; | ||||
| @@ -284,7 +285,7 @@ | |||||
| margin: 0; | margin: 0; | ||||
| text-align: right; | text-align: right; | ||||
| color: var(--color-text); | color: var(--color-text); | ||||
| background: linear-gradient(90deg, var(--theme-color-gradient-01) 25%,var(--theme-color-gradient-02) 57%,var(--theme-color-gradient-03) 112%); | |||||
| @include gradient; | |||||
| @media(max-width: 999px) { | @media(max-width: 999px) { | ||||
| min-height: auto; | min-height: auto; | ||||
| } | } | ||||
| @@ -4,6 +4,7 @@ | |||||
| .teasers:not([data-items="1"]) { | .teasers:not([data-items="1"]) { | ||||
| position: relative; | position: relative; | ||||
| display: block; | display: block; | ||||
| container-type: inline-size; | |||||
| @media(min-width: 1000px) { | @media(min-width: 1000px) { | ||||
| margin-bottom: -10px; | margin-bottom: -10px; | ||||
| @@ -20,15 +21,20 @@ | |||||
| } | } | ||||
| } | } | ||||
| * > .magazine-indicator { | |||||
| container-type: inline-size; | |||||
| } | |||||
| // Wird der noch genutzt? | // Wird der noch genutzt? | ||||
| .magazine-indicator { | .magazine-indicator { | ||||
| //position: relative; | //position: relative; | ||||
| display: inline-block; | display: inline-block; | ||||
| align-self: flex-start; | align-self: flex-start; | ||||
| font-family: "Korb", sans-serif; | font-family: "Korb", sans-serif; | ||||
| background: linear-gradient(90deg, var(--theme-color-gradient-01) 20%, var(--theme-color-gradient-02) 70%, var(--theme-color-gradient-03) 100%); | |||||
| // background: linear-gradient(90deg, var(--theme-color-gradient-01) 20%, var(--theme-color-gradient-02) 70%, var(--theme-color-gradient-03) 100%); | |||||
| color: var(--swatches-neutrals-white); | color: var(--swatches-neutrals-white); | ||||
| padding: 6px 12px; | padding: 6px 12px; | ||||
| @include gradient; | |||||
| //margin: 6px 0 0; | //margin: 6px 0 0; | ||||
| position: absolute; | position: absolute; | ||||
| @@ -368,12 +374,13 @@ | |||||
| flex-grow: 0; | flex-grow: 0; | ||||
| flex-shrink: 0; | flex-shrink: 0; | ||||
| border-radius: 4px; | border-radius: 4px; | ||||
| container-type: inline-size; | |||||
| &.chart { | &.chart { | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| background: linear-gradient(130deg, var(--theme-color-gradient-01) 46%, var(--theme-color-gradient-02) 123%, var(--theme-color-gradient-03) 255%); | |||||
| @include gradient; | |||||
| } | } | ||||
| &:before { | &:before { | ||||
| @@ -587,14 +594,15 @@ | |||||
| margin-bottom: 1.2em; | margin-bottom: 1.2em; | ||||
| line-height: 1.2; | line-height: 1.2; | ||||
| margin-top: 0; | margin-top: 0; | ||||
| container-type: inline-size; | |||||
| &::before { | &::before { | ||||
| content: ""; | content: ""; | ||||
| position: relative; | position: relative; | ||||
| display: block; | display: block; | ||||
| background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%); | |||||
| height: calc(var(--border-width) / 2); | height: calc(var(--border-width) / 2); | ||||
| margin: 0 0.05em 0.5em; | margin: 0 0.05em 0.5em; | ||||
| @include gradient; | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||