fix(Landing): cover title background

This commit is contained in:
Matthieu Bessat 2023-05-06 08:45:31 +02:00
parent 6936b5cb82
commit 854da17109
3 changed files with 15 additions and 14 deletions

View file

@ -20,17 +20,13 @@
position: absolute;
width: 100%;
height: 100%;
}
.cover__content .page-container {
display: flex;
height: 100%;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 1em;
}
.cover__overlay {
position: absolute;
width: 100%;
@ -51,7 +47,10 @@
.cover__title-container {
position: relative;
padding-top: 1rem;
padding-bottom: 1rem;
animation: cover_title_in 0.5s cubic-bezier(.39,.58,.57,1);
background-color: rgba(1, 1, 1, 0.5);
}
.cover__title {
@ -59,12 +58,10 @@
color: white;
font-size: 3em;
margin: 0;
margin-bottom: 0.3em;
margin-bottom: 0;
z-index: 2;
// position: absolute;
display: inline;
padding: 0.4rem 0.75rem;
background: rgba(1, 1, 1, 0.5);
display: block;
}
.cover__backdrop {