Skip to content

Commit

Permalink
Merge pull request #33 from codeplaysoftware/add-syclops-video
Browse files Browse the repository at this point in the history
Add SYCLOPS video.
  • Loading branch information
scottstraughan authored Nov 7, 2024
2 parents cc1bf23 + cdfb18b commit b402d72
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 9 deletions.
22 changes: 18 additions & 4 deletions _includes/headers/expanded.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
<section id="header">
<div class="wrapper">
{%- include _includes/nav-bar.html -%}
<div class="middle">
<h1>Advancing AI/data mining for extremely large and diverse data for Europe and beyond, by
democratizing its acceleration through open standards and a healthy, competitive,
and innovating ecosystem.</h1>
<div class="split">
<div class="middle">
<h1>Advancing AI/data mining for extremely large and diverse data for Europe and beyond, by
democratizing its acceleration through open standards and a healthy, competitive,
and innovating ecosystem.</h1>
</div>
<div class="middle">
<div class="video">
<a class="youtube"
href="https://www.youtube.com/watch?v=-UZDfad-4eI"
target="_blank"
rel="noopener">Watch on YouTube.com</a>

<video controls muted autoplay>
<source src="https://d25jew5a8evv5b.cloudfront.net/intro.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
</div>
</section>
1 change: 1 addition & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<meta content="
default-src
https://developer.codeplay.com
https://d25jew5a8evv5b.cloudfront.net
'self';
object-src
'self';
Expand Down
55 changes: 50 additions & 5 deletions static/css/styled.scss
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,57 @@ body {
}
}

.split {
display: flex;
flex-direction: column-reverse;
padding: 1rem 1rem 2rem 0;
gap: 2rem;

.video {
width: 100%;
position: relative;

video {
width: 100%;
position: relative;
z-index: 0;
top: 0;
}

.youtube {
background-color: var(--hint-color-alt);
color: white;
padding: .5rem;
font-size: 12px;
position: absolute;
z-index: 1;
right: -.5rem;
top: 2rem;
opacity: .8;
transition: .3s all;

&:hover {
opacity: 1;
}
}
}

@media screen and (min-width: 1200px) {
flex-direction: row;
gap: 6rem;

.video {
width: 572px;
height: 356px;

video {
height: 356px;
}
}
}
}

.middle {
min-height: 430px;
display: flex;
align-items: center;

Expand All @@ -651,10 +700,6 @@ body {
font-weight: normal;
padding: 0;
margin: 0;

@media screen and (min-width: 1040px) {
width: 60%;
}
}
}
}
Expand Down

0 comments on commit b402d72

Please sign in to comment.