Add video overlay styles and position relative to .video-shell
This commit is contained in:
@@ -167,6 +167,7 @@ h4 {
|
||||
overflow: hidden;
|
||||
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
|
||||
max-width: 960px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.video-shell video {
|
||||
@@ -185,6 +186,21 @@ h4 {
|
||||
box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.video-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.video-overlay .button {
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.video-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user