1
Fork 0

Add competition montage to SR content

This commit is contained in:
Jake Howard 2017-07-08 16:31:41 +01:00
parent 60bad36b29
commit 8b03c561cf
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 30 additions and 0 deletions

View file

@ -13,3 +13,5 @@ As was announced at kickstart, the game for this year is a take on the classic g
The 'flags' are 25 centimetres cubes of wood on caster wheels weighing roughly 2 kilograms. The rules prevent us from lifting them, so the idea is to drag them around!
To see a copy of the rules from the competition, [Click Here](https://www.studentrobotics.org/resources/2015/rulebook.pdf)!
{{% youtube egV3PY1qaSM %}}

View file

@ -0,0 +1,4 @@
<div class="yt-embed">
<iframe src="//www.youtube-nocookie.com/embed/{{ .Get 0 }}?rel=0" allowfullscreen frameborder="0"></iframe>
</div>

View file

@ -78,3 +78,27 @@ blockquote p {
.dropotron.level-0 {
margin-top: 0.1em;
}
#main {
padding: 2em 0;
& > header {
margin-bottom: 2em;
}
}
.yt-embed {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}