Skip to content

Commit 6a00e72

Browse files
committed
Add more margin to headings and fix screenshot formatting
1 parent 2ac6ffc commit 6a00e72

3 files changed

Lines changed: 27 additions & 12 deletions

File tree

docs/getting-started.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ please [open an issue on GitHub](/support){: .alert-link}.
4646
<a data-release-link-platform="ev3" class="btn btn-lg btn-primary"><span class="glyphicon glyphicon-download-alt"></span> Download for LEGO MINDSTORMS EV3</a>
4747
<br/><br/>
4848
<h2 class="centered-light-heading"> Other platforms </h2>
49-
<a data-release-link-platform="rpi" class="btn btn-md btn-primary">Raspberry Pi 1</a>
50-
<a data-release-link-platform="rpi2" class="btn btn-md btn-primary">Raspberry Pi 2</a>
51-
<a data-release-link-platform="evb" class="btn btn-md btn-primary">BeagleBone</a>
49+
<a data-release-link-platform="rpi" class="btn btn-md btn-primary download-button-small">Raspberry Pi 1</a>
50+
<a data-release-link-platform="rpi2" class="btn btn-md btn-primary download-button-small">Raspberry Pi 2</a>
51+
<a data-release-link-platform="evb" class="btn btn-md btn-primary download-button-small">BeagleBone</a>
5252
</div>
5353

5454
<br/>
@@ -120,8 +120,9 @@ either BrickPi or PiStorms.
120120
</div>
121121
</div>
122122

123-
{% include screenshot.html source="/images/brickman/main-menu.png" float="true" caption="When the boot is complete, the LEDs will turn green and you will see something like this on the screen" %}
124123

124+
<div class="row top-heading-margin">
125+
<div class="col-md-8 suppress-spaced-headings" markdown="1">
125126
## Step 3: Boot ev3dev
126127

127128
Put the SD Card in your EV3 and power it on. At first, you will see the
@@ -145,6 +146,13 @@ calculate an accurate percent value of the remaining energy, so this value is
145146
chosen. If the voltage drops below 5V the brick will turn off. All not saved
146147
data may be lost. Keep in mind, that it may take a much longer time from 8V to
147148
6.5V than from 6.5V down to 5V!
149+
</div>
150+
151+
<div class="col-md-4">
152+
{% include screenshot.html source="/images/brickman/main-menu.png" caption="When the boot is complete, the LEDs will turn green and you will see something like this on the screen" %}
153+
</div>
154+
</div>
155+
148156

149157
<div class="panel panel-info">
150158
<div class="panel-heading">
@@ -214,14 +222,20 @@ If the language you want isn't listed, you still can use it, but you'll have to
214222
do more of the heavy lifting yourself using the guides above. Once you get the
215223
hang of it, you can even write your own interface library and have it listed here!
216224

217-
{% include screenshot.html source="/images/brickman/shutdown-menu.png" float="true" caption="The 'Shutdown...' dialog in Brickman" %}
218-
225+
<div class="row top-heading-margin">
226+
<div class="col-md-8 suppress-spaced-headings" markdown="1">
219227
## Step 6: Calling it a day
220228

221229
When you are ready to wish your EV3 goodnight, turn if off by pressing the
222230
*back* button from the main menu in brickman or pressing and holding the *back*
223231
button from any screen in brickman. This will open a dialog where you can select
224232
*Power Off* to turn off the EV3. (Running `sudo poweroff` in a terminal works too.)
233+
</div>
234+
235+
<div class="col-md-4">
236+
{% include screenshot.html source="/images/brickman/shutdown-menu.png" caption="The 'Shutdown...' dialog in Brickman" %}
237+
</div>
238+
</div>
225239

226240
[microSD]: https://en.wikipedia.org/wiki/Secure_Digital#SD
227241
[microSDHC]: https://en.wikipedia.org/wiki/Secure_Digital#SDHC

stylesheets/page-content.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
margin: 5px 0 5px !important;
2727
}
2828

29-
.spaced-headings h2 {
30-
margin-top: 35px;
29+
.spaced-headings *:not(.suppress-spaced-headings) > h2,
30+
.top-heading-margin {
31+
margin-top: 100px;
32+
}
33+
34+
.download-button-small {
35+
margin: 0 6px;
3136
}

stylesheets/site-structure.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
margin-right: 20px;
1313
}
1414

15-
.text-center {
16-
text-align: center;
17-
}
18-
1915
// Vertical logo positioning and style
2016
#brand-logo {
2117
height: calc(100% + 8px);

0 commit comments

Comments
 (0)