Skip to content

Commit b402d72

Browse files
Merge pull request #33 from codeplaysoftware/add-syclops-video
Add SYCLOPS video.
2 parents cc1bf23 + cdfb18b commit b402d72

File tree

3 files changed

+69
-9
lines changed

3 files changed

+69
-9
lines changed

_includes/headers/expanded.html

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
<section id="header">
22
<div class="wrapper">
33
{%- 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>
822
</div>
923
</div>
1024
</section>

_layouts/page.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<meta content="
5151
default-src
5252
https://developer.codeplay.com
53+
https://d25jew5a8evv5b.cloudfront.net
5354
'self';
5455
object-src
5556
'self';

static/css/styled.scss

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,57 @@ body {
641641
}
642642
}
643643

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+
644694
.middle {
645-
min-height: 430px;
646695
display: flex;
647696
align-items: center;
648697

@@ -651,10 +700,6 @@ body {
651700
font-weight: normal;
652701
padding: 0;
653702
margin: 0;
654-
655-
@media screen and (min-width: 1040px) {
656-
width: 60%;
657-
}
658703
}
659704
}
660705
}

0 commit comments

Comments
 (0)