ukraine solidarity banner - fixes

This commit is contained in:
Andrea 2022-05-07 15:16:44 -05:00
parent 767cf5a643
commit 1fc557d412
2 changed files with 13 additions and 6 deletions

View File

@ -6,18 +6,26 @@
</div>
</template>
<style lang="scss">
@import "assets/variables";
$ukraine-blue: #025abc;
$ukraine-golden: #fed602;
.ukraine-banner {
background-color: #025abc;
background: linear-gradient(90deg, #025abc 40%, #fed602 60%);
color: white;
background-color: $ukraine-blue;
background: linear-gradient(90deg, $ukraine-blue 40%, $ukraine-golden 60%);
color: $white;
text-shadow: 2px 2px 2px rgba($black, .5);
a {
color: $white;
text-decoration: underline;
}
}
body[data-theme="dark"] .ukraine-banner a {
color: $white;
text-decoration: underline;
}
</style>

View File

@ -1,9 +1,8 @@
<template>
<div>
<UkraineBanner class="mb-4"/>
<template v-if="$te('home.welcome')">
<section>
<UkraineBanner class="mb-4"/>
<h2>
<T>home.welcome</T>
</h2>