ukraine solidarity banner - fixes
This commit is contained in:
parent
767cf5a643
commit
1fc557d412
|
@ -6,18 +6,26 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "assets/variables";
|
@import "assets/variables";
|
||||||
|
|
||||||
|
$ukraine-blue: #025abc;
|
||||||
|
$ukraine-golden: #fed602;
|
||||||
|
|
||||||
.ukraine-banner {
|
.ukraine-banner {
|
||||||
background-color: #025abc;
|
background-color: $ukraine-blue;
|
||||||
background: linear-gradient(90deg, #025abc 40%, #fed602 60%);
|
background: linear-gradient(90deg, $ukraine-blue 40%, $ukraine-golden 60%);
|
||||||
color: white;
|
color: $white;
|
||||||
|
text-shadow: 2px 2px 2px rgba($black, .5);
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $white;
|
color: $white;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body[data-theme="dark"] .ukraine-banner a {
|
||||||
|
color: $white;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<UkraineBanner class="mb-4"/>
|
||||||
<template v-if="$te('home.welcome')">
|
<template v-if="$te('home.welcome')">
|
||||||
<section>
|
<section>
|
||||||
<UkraineBanner class="mb-4"/>
|
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<T>home.welcome</T>
|
<T>home.welcome</T>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
Reference in New Issue