Skip to content

Commit

Permalink
Update main_cssstyle.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Meng-na-mei authored Oct 3, 2023
1 parent 822a795 commit a36c8e1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions css/main_cssstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,26 @@ h2 {
font-size: 3em;
}

.videoContent {
position: relative;
}

.videoContent .videoElement {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: auto;
}

.videoContent .overlay-image {
position: absolute;
top: 50%;
left: 20%;
transform: translate(-35%, -50%);
max-width: 100%;
max-height: 100%;
}

/************ Skip-main ****************/
a.skip-main {
Expand Down

0 comments on commit a36c8e1

Please sign in to comment.