File tree Expand file tree Collapse file tree 3 files changed +69
-9
lines changed Expand file tree Collapse file tree 3 files changed +69
-9
lines changed Original file line number Diff line number Diff line change 1
1
< section id ="header ">
2
2
< div class ="wrapper ">
3
3
{%- include _includes/nav-bar.html -%}
4
- < div class ="middle ">
5
- < h1 > Advancing AI/data mining for extremely large and diverse data for Europe and beyond, by
6
- democratizing its acceleration through open standards and a healthy, competitive,
7
- and innovating ecosystem.</ h1 >
4
+ < div class ="split ">
5
+ < div class ="middle ">
6
+ < h1 > Advancing AI/data mining for extremely large and diverse data for Europe and beyond, by
7
+ democratizing its acceleration through open standards and a healthy, competitive,
8
+ and innovating ecosystem.</ h1 >
9
+ </ div >
10
+ < div class ="middle ">
11
+ < div class ="video ">
12
+ < a class ="youtube "
13
+ href ="https://www.youtube.com/watch?v=-UZDfad-4eI "
14
+ target ="_blank "
15
+ rel ="noopener "> Watch on YouTube.com</ a >
16
+
17
+ < video controls muted autoplay >
18
+ < source src ="https://d25jew5a8evv5b.cloudfront.net/intro.mp4 " type ="video/mp4 ">
19
+ </ video >
20
+ </ div >
21
+ </ div >
8
22
</ div >
9
23
</ div >
10
24
</ section >
Original file line number Diff line number Diff line change 50
50
< meta content ="
51
51
default-src
52
52
https://developer.codeplay.com
53
+ https://d25jew5a8evv5b.cloudfront.net
53
54
'self';
54
55
object-src
55
56
'self';
Original file line number Diff line number Diff line change @@ -641,8 +641,57 @@ body {
641
641
}
642
642
}
643
643
644
+ .split {
645
+ display : flex ;
646
+ flex-direction : column-reverse ;
647
+ padding : 1rem 1rem 2rem 0 ;
648
+ gap : 2rem ;
649
+
650
+ .video {
651
+ width : 100% ;
652
+ position : relative ;
653
+
654
+ video {
655
+ width : 100% ;
656
+ position : relative ;
657
+ z-index : 0 ;
658
+ top : 0 ;
659
+ }
660
+
661
+ .youtube {
662
+ background-color : var (--hint-color-alt );
663
+ color : white ;
664
+ padding : .5rem ;
665
+ font-size : 12px ;
666
+ position : absolute ;
667
+ z-index : 1 ;
668
+ right : -.5rem ;
669
+ top : 2rem ;
670
+ opacity : .8 ;
671
+ transition : .3s all ;
672
+
673
+ & :hover {
674
+ opacity : 1 ;
675
+ }
676
+ }
677
+ }
678
+
679
+ @media screen and (min-width : 1200px ) {
680
+ flex-direction : row ;
681
+ gap : 6rem ;
682
+
683
+ .video {
684
+ width : 572px ;
685
+ height : 356px ;
686
+
687
+ video {
688
+ height : 356px ;
689
+ }
690
+ }
691
+ }
692
+ }
693
+
644
694
.middle {
645
- min-height : 430px ;
646
695
display : flex ;
647
696
align-items : center ;
648
697
@@ -651,10 +700,6 @@ body {
651
700
font-weight : normal ;
652
701
padding : 0 ;
653
702
margin : 0 ;
654
-
655
- @media screen and (min-width : 1040px ) {
656
- width : 60% ;
657
- }
658
703
}
659
704
}
660
705
}
You can’t perform that action at this time.
0 commit comments