File tree Expand file tree Collapse file tree 3 files changed +9
-21
lines changed Expand file tree Collapse file tree 3 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ $quickstart-button-padding: 0 50px;
32
32
$vendor-strip-height : 88px ;
33
33
$vendor-strip-font-size : 16px ;
34
34
35
- // video
36
- $video-section-height : 200px ;
37
-
38
35
@import " size" ;
39
36
@import " documentation" ;
40
37
@@ -434,9 +431,6 @@ $ocean-nodes-padding-Y: 60px;
434
431
$ocean-nodes-main-margin-bottom : 60px ;
435
432
$ocean-nodes-h3-margin-bottom : 30px ;
436
433
437
- // video
438
- $video-section-height : 200px ;
439
-
440
434
// Home-specific
441
435
442
436
.td-home {
@@ -514,13 +508,10 @@ section#cncf {
514
508
}
515
509
516
510
// Video thingy
517
- #video {
518
- height : $video-section-height ;
519
- }
520
-
521
511
#video {
522
512
width : 100% ;
523
513
position : relative ;
514
+ overflow : hidden ;
524
515
background-position : center center ;
525
516
background-size : cover ;
526
517
@@ -557,7 +548,7 @@ section#cncf {
557
548
padding : 2px 8px ;
558
549
margin : 5px ;
559
550
}
560
-
551
+
561
552
#desktopKCButton {
562
553
display : inline ;
563
554
position : absolute ;
@@ -623,6 +614,10 @@ section#cncf {
623
614
}
624
615
}
625
616
617
+ #video :has (#desktopKCButton ) {
618
+ height : 580px ;
619
+ }
620
+
626
621
#videoPlayer {
627
622
@include fullScreen ;
628
623
background-color : rgba (0 , 0 , 0 , 0.9 );
Original file line number Diff line number Diff line change 1
1
$main-max-width : 1200px ;
2
2
$vendor-strip-height : 44px ;
3
- $video-section-height : 580px ;
4
3
5
4
@media screen and (min-width : 1024px ) {
6
5
@@ -50,13 +49,12 @@ $video-section-height: 580px;
50
49
}
51
50
52
51
#video {
53
- height : $video-section-height ;
54
52
position : relative ;
55
- background-position : center center ;
53
+ background-position : top center ;
56
54
background-size : cover ;
57
55
58
56
& >.light-text {
59
- margin-right : 10% ;
57
+ margin : 0 10% 15 px 0 ;
60
58
}
61
59
}
62
60
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ $headline-wrapper-margin-bottom: 40px;
28
28
$quickstart-button-padding : 0 50px ;
29
29
$vendor-strip-font-size : 16px ;
30
30
31
- // video
32
- $video-section-height : 400px ;
33
-
34
31
/// /////////////////////////////////////////////////////////////////////////////////////////////////
35
32
/// /////////////////////////////////////////////////////////////////////////////////////////////////
36
33
/// /////////////////////////////////////////////////////////////////////////////////////////////////
@@ -134,15 +131,13 @@ $video-section-height: 400px;
134
131
}
135
132
136
133
#video {
137
- height : $video-section-height ;
138
134
display : block ;
139
- height : 550px ;
140
135
141
136
& > .light-text {
142
137
display : block ;
143
138
float : right ;
144
139
text-align : left ;
145
- margin-right : 5 % ;
140
+ margin : 0 5 % 15 px 0 ;
146
141
}
147
142
}
148
143
You can’t perform that action at this time.
0 commit comments