visual improvements
This commit is contained in:
parent
17cf83a4f2
commit
f61ff3c93d
2 changed files with 20 additions and 9 deletions
|
|
@ -20,6 +20,13 @@ section {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
overflow: hidden; /* Verhindert, dass das Video aus dem Overlay herausragt */
|
overflow: hidden; /* Verhindert, dass das Video aus dem Overlay herausragt */
|
||||||
position: relative;
|
position: relative;
|
||||||
|
video {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
&:hover .video-header {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-header {
|
.video-header {
|
||||||
|
|
@ -37,10 +44,6 @@ section {
|
||||||
transition: opacity 300ms ease-in-out;
|
transition: opacity 300ms ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-overlay:hover .video-header {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.back-button {
|
.back-button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: none;
|
background: none;
|
||||||
|
|
@ -63,8 +66,3 @@ section {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-overlay video {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,19 @@ section {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 10%;
|
||||||
|
background: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
rgba(0, 0, 0, 0) 0%,
|
||||||
|
rgba(0, 0, 0, 1) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue