| @@ -9,6 +9,7 @@ | |||||
| padding: 30px 30px 0 30px; | padding: 30px 30px 0 30px; | ||||
| border-radius: var(--border-radius-xs); | border-radius: var(--border-radius-xs); | ||||
| color: #fff; | color: #fff; | ||||
| margin-top: 40px; | |||||
| margin-bottom: 20px; | margin-bottom: 20px; | ||||
| @media(max-width: 567px) { | @media(max-width: 567px) { | ||||
| padding-bottom: 14px; | padding-bottom: 14px; | ||||
| @@ -16,7 +16,7 @@ export const createHowToList = | |||||
| listItems.map((item) => { | listItems.map((item) => { | ||||
| const li = createElement('li', [], null, ul); | const li = createElement('li', [], null, ul); | ||||
| const a = createElement('a', [], null, li); | const a = createElement('a', [], null, li); | ||||
| createImage(item.icon, 100, 100, '', [], a); | |||||
| createElement('div', ['icon-box', item.icon], null, a); | |||||
| createElement('h3', [], item.headline, a); | createElement('h3', [], item.headline, a); | ||||
| createElement('p', [], item.text, a); | createElement('p', [], item.text, a); | ||||
| createElement('span', [], item.more, a); | createElement('span', [], item.more, a); | ||||
| @@ -4,20 +4,20 @@ export const howToListData = [ | |||||
| text: 'Ihr Unternehmen ist IHK-Mitglied? Dann bekommen Sie automatisch am 12.02.2024 die Wahlunterlagen zugesandt.', | text: 'Ihr Unternehmen ist IHK-Mitglied? Dann bekommen Sie automatisch am 12.02.2024 die Wahlunterlagen zugesandt.', | ||||
| more: 'Mehr erfahren', | more: 'Mehr erfahren', | ||||
| link: '#', | link: '#', | ||||
| icon: './dummy/howto-list-01.svg', | |||||
| icon: 'pictogram-bueroklammer', | |||||
| }, | }, | ||||
| { | { | ||||
| headline: '2. Kandidat:innen', | headline: '2. Kandidat:innen', | ||||
| text: 'Informieren Sie sich über die Kandidat:innen und deren Programm um Ihre Entscheidung zu fällen.', | text: 'Informieren Sie sich über die Kandidat:innen und deren Programm um Ihre Entscheidung zu fällen.', | ||||
| more: 'Mehr erfahren', | more: 'Mehr erfahren', | ||||
| link: '#', | link: '#', | ||||
| icon: './dummy/howto-list-02.svg', | |||||
| icon: 'pictogram-fabrik', | |||||
| }, | }, | ||||
| { | { | ||||
| headline: '3. Stimmabgabe', | headline: '3. Stimmabgabe', | ||||
| text: 'Geben Sie Ihre Stimmen auf den Ihnen zugesandten Unterlagen ab und schicken sie diese mit dem Rückumschlag an uns.', | text: 'Geben Sie Ihre Stimmen auf den Ihnen zugesandten Unterlagen ab und schicken sie diese mit dem Rückumschlag an uns.', | ||||
| more: 'Mehr erfahren', | more: 'Mehr erfahren', | ||||
| link: '#', | link: '#', | ||||
| icon: './dummy/howto-list-03.svg', | |||||
| icon: 'pictogram-diagramm-wachstum', | |||||
| }, | }, | ||||
| ] | ] | ||||
| @@ -58,12 +58,29 @@ | |||||
| span { | span { | ||||
| text-decoration: underline; | text-decoration: underline; | ||||
| } | } | ||||
| img { | |||||
| img, | |||||
| .icon-box { | |||||
| position: absolute; | position: absolute; | ||||
| left: -132px; | left: -132px; | ||||
| top: 2px; | top: 2px; | ||||
| width: 100px; | width: 100px; | ||||
| height: auto; | |||||
| height: 100px; | |||||
| font-family: "Pictograms", sans-serif; | |||||
| font-size: 70px; | |||||
| line-height: 1.4285; | |||||
| text-align: center; | |||||
| color: var(--theme-color-primary) !important; | |||||
| &:after { | |||||
| content: ""; | |||||
| position: absolute; | |||||
| z-index: -1; | |||||
| left: 0; | |||||
| top: 0; | |||||
| width: 100%; | |||||
| height: 100%; | |||||
| border-radius: 50%; | |||||
| background: var(--theme-color-secondary); | |||||
| } | |||||
| @media(max-width: 399px) { | @media(max-width: 399px) { | ||||
| position: static; | position: static; | ||||
| left: auto; | left: auto; | ||||
| @@ -9,6 +9,26 @@ | |||||
| padding: var(--section-padding) 0; | padding: var(--section-padding) 0; | ||||
| border-bottom: var(--border-width) solid var(--theme-color-secondary); | border-bottom: var(--border-width) solid var(--theme-color-secondary); | ||||
| margin: var(--section-margin) auto; | margin: var(--section-margin) auto; | ||||
| position: relative; | |||||
| &:after { | |||||
| content: ""; | |||||
| background: var(--theme-color-primary); | |||||
| border-bottom: var(--border-width) solid var(--theme-color-secondary); | |||||
| position: absolute; | |||||
| left: 50%; | |||||
| top: 0; | |||||
| width: 100vw; | |||||
| height: calc(100% + var(--border-width)); | |||||
| margin: 0 -50vw; | |||||
| z-index: -1; | |||||
| } | |||||
| .has-sidebar & { | |||||
| padding: var(--section-padding); | |||||
| &:after { | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| h2 { | h2 { | ||||
| margin-bottom: 0.4em; | margin-bottom: 0.4em; | ||||