fsfgdsgdfgsdfg commited on
Commit
2ca60d6
·
verified ·
1 Parent(s): 93b717d

Update static/global.css

Browse files
Files changed (1) hide show
  1. static/global.css +2 -7
static/global.css CHANGED
@@ -50,22 +50,17 @@ h1 {
50
  }
51
 
52
  .video-container {
53
- position: relative;
54
  width: 100%;
55
  max-width: 900px;
56
  margin: 0 auto 2rem auto;
57
- padding-bottom: 56.25%; /* 16:9 aspect ratio */
58
- height: 0;
59
- overflow: hidden;
60
  background-color: #1a1a1a;
61
  border-radius: 8px;
62
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
 
63
  }
64
 
65
  .video-container iframe {
66
- position: absolute;
67
- top: 0;
68
- left: 0;
69
  width: 100%;
70
  height: 100%;
71
  border: none;
 
50
  }
51
 
52
  .video-container {
 
53
  width: 100%;
54
  max-width: 900px;
55
  margin: 0 auto 2rem auto;
56
+ aspect-ratio: 16 / 9;
 
 
57
  background-color: #1a1a1a;
58
  border-radius: 8px;
59
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
60
+ overflow: hidden;
61
  }
62
 
63
  .video-container iframe {
 
 
 
64
  width: 100%;
65
  height: 100%;
66
  border: none;