Skip to content

Commit

Permalink
Adjusted styling for embedded videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
aelrahmanashraf committed Aug 14, 2024
1 parent a4c11cf commit fde0621
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,20 @@
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

.video-container {
position: relative;
width: 100%;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 5px;
}

.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

0 comments on commit fde0621

Please sign in to comment.