|
@@ -5,32 +5,58 @@ logo: z.B Schullogo. Wird oben recht splatziert
|
|
untertitel: Wird unterhalb des Logos platziert.
|
|
untertitel: Wird unterhalb des Logos platziert.
|
|
hr: Wenn eine rote Linie unter das Logo soll. Standard an -->
|
|
hr: Wenn eine rote Linie unter das Logo soll. Standard an -->
|
|
<div class="header">
|
|
<div class="header">
|
|
- {#if art}
|
|
|
|
- <img class="art" src="{art}" alt="logo_art"/>
|
|
|
|
|
|
+ {#if traeger && art && untertitel}
|
|
|
|
+ <div style="height: 157px">
|
|
|
|
+ <div class="traeger">
|
|
|
|
+ <img class="" style="margin-bottom: 7mm; display: block;" src="{traeger}" alt="logo"/>
|
|
|
|
+ <img class="" style="margin-bottom: 1mm; block;" src="{logo}" alt="logo"/>
|
|
|
|
+ <img class="" style="display: block;" src="{untertitel}" alt="logo_untertitel"/>
|
|
|
|
+ </div>
|
|
|
|
+ {#if art}
|
|
|
|
+ <img class="art" src="{art}" alt="logo_art"/>
|
|
|
|
+ {/if}
|
|
|
|
+ </div>
|
|
{/if}
|
|
{/if}
|
|
- {#if logo}
|
|
|
|
- <img class="logo" src="{logo}" alt="logo"/>
|
|
|
|
|
|
+ {#if logo && !traeger && untertitel}
|
|
|
|
+ <div style="height: 75px">
|
|
|
|
+ <div class="traeger">
|
|
|
|
+ <img class="" style="margin-bottom: 1mm; block;" src="{logo}" alt="logo"/>
|
|
|
|
+ <img class="" style="display: block;" src="{untertitel}" alt="logo_untertitel"/>
|
|
|
|
+ </div>
|
|
|
|
+ {#if art}
|
|
|
|
+ <img class="art" src="{art}" alt="logo_art"/>
|
|
|
|
+ {/if}
|
|
|
|
+ </div>
|
|
{/if}
|
|
{/if}
|
|
- {#if untertitel}
|
|
|
|
- <img class="untertitel" src="{untertitel}" alt="logo_untertitel"/>
|
|
|
|
|
|
+ {#if logo && !untertitel}
|
|
|
|
+ <div class="traeger">
|
|
|
|
+ <img class="" style="margin-bottom: 1mm; block;" src="{logo}" alt="logo"/>
|
|
|
|
+ </div>
|
|
{/if}
|
|
{/if}
|
|
{#if hr}
|
|
{#if hr}
|
|
<hr class="hr-rot"/>
|
|
<hr class="hr-rot"/>
|
|
{/if}
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
<script>
|
|
<script>
|
|
- export let art, logo, untertitel
|
|
|
|
- export let hr = true
|
|
|
|
|
|
+ export let art
|
|
|
|
+ export let logo
|
|
|
|
+ export let untertitel
|
|
|
|
+ export let traeger
|
|
|
|
+ export let hr = false
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style>
|
|
<style>
|
|
.header {
|
|
.header {
|
|
position: relative;
|
|
position: relative;
|
|
- height: 115px;
|
|
|
|
|
|
+ margin-bottom: 1rem;
|
|
}
|
|
}
|
|
.art {
|
|
.art {
|
|
position: absolute;
|
|
position: absolute;
|
|
- bottom: 12px;
|
|
|
|
|
|
+ bottom: 0px;
|
|
|
|
+ }
|
|
|
|
+ .traeger {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0px;
|
|
}
|
|
}
|
|
.logo {
|
|
.logo {
|
|
position: absolute;
|
|
position: absolute;
|