Skip to content

Commit 3c6d7af

Browse files
committed
Center the Kit Assembly Videos embed
1 parent 624f97f commit 3c6d7af

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

_sass/common.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@
3636
.highlight {
3737
padding: 1rem;
3838
}
39+
40+
.centered-content {
41+
display: flex;
42+
justify-content: center;
43+
}

kit/assembly.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ Video
6262
The following video contains an overview which covers the [brain board](/docs/kit/brain_board),
6363
[power board](/docs/kit/power_board) and a [motor board](/docs/kit/motor_board).
6464

65-
<iframe class="video center"
66-
height="315"
67-
width="560"
68-
src="https://www.youtube-nocookie.com/embed/HQmL_3giLvc?rel=0"
69-
frameborder="0"
70-
allowfullscreen>
71-
</iframe>
65+
<div class="centered-content">
66+
<iframe class="video center"
67+
height="315"
68+
width="560"
69+
src="https://www.youtube-nocookie.com/embed/HQmL_3giLvc?rel=0"
70+
frameborder="0"
71+
allowfullscreen>
72+
</iframe>
73+
</div>

0 commit comments

Comments
 (0)