Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor JuliaCon video styles #848

Merged
merged 1 commit into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions _css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
background-color: #CA3C32;
}

.ide, .blog, .video {
.ide, .blog {
background-color: #F2F2F2;
border-left: 20px solid #fff;
border-right: 20px solid #fff;
Expand Down Expand Up @@ -273,20 +273,7 @@
}

.video {
text-align: left;
/* font-family: "Futura LT Medium"; */
font-family: "Roboto", sans-serif;
background-color: #fff;
}
.video img {
width: 100%;
}
.video h6 {
padding: 10px;
background-color: #F2F2F2;
}
.video a {
font-size: 14px;
padding: 20px;
}

.btn {
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ <h2 class="lead secondary-heading">JuliaCon 2019</h2>
<div class="col-lg-4 col-md-3 language-features"><hr/></div>
</div>

<div class="row alt-color">
<div class="row">
<div class="col-lg-12 col-md-12 video">
<meta name="description" content="Watch what unfolded at JuliaCon 2019 here. The latest developments, optimizations, and features happen right here, at JuliaCon."/>

Expand Down Expand Up @@ -372,13 +372,13 @@ <h2 class="lead secondary-heading">JuliaCon 2019</h2>
];
var index = Math.floor(Math.random() * videos2019.length);
var videoUrl = 'https://www.youtube.com/embed/' + videos2019[index] + '?list=' + playlist2019;
document.write('<div style="text-align: center" class="embed-responsive embed-responsive-16by9"><iframe width="700" height="400" src="' + videoUrl + '" frameborder="0" allowfullscreen></iframe></div>')
document.write('<div class="text-center"><iframe width="700" height="400" src="' + videoUrl + '" frameborder="0" allowfullscreen></iframe></div>')
</script>
</div>
</div>

<div class="row">
<div class="col-12" style="text-align: center">
<div class="col-12 text-center">
<a class="btn btn-sm btn-outline-primary" href="https://www.youtube.com/user/JuliaLanguage">Julia Channel on YouTube</a>
<a class="btn btn-sm btn-outline-primary" href="https://www.youtube.com/playlist?list=PLP8iPy9hna6StY9tIJIUN3F_co9A0zh0H">JuliaCon 2019 videos</a>
</div>
Expand Down