Skip to content

Commit 90002be

Browse files
authored
Merge pull request #527 from srobo/robots-101
Robots 101 section
2 parents 5c81124 + 55586a5 commit 90002be

16 files changed

+319
-0
lines changed

.spelling

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ DataTraveler
77
Duratool
88
DTSE9H
99
Ebuyer
10+
esque
1011
iMAX
1112
IntelliJ
1213
Nikitin
14+
omniwheels
1315
overcurrent
1416
piezo
1517
Plazma
@@ -55,3 +57,9 @@ pyusb
5557
setuptools
5658
tomli
5759
udiskie
60+
61+
# Team names
62+
Markt
63+
Indersdorf
64+
Systemetric
65+
Ducktor

_data/sidebar_tree.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,19 @@ tree:
7777
# title: Safety Regulations
7878
- url: /rules/archive
7979
title: Game Rules Archive
80+
- url: /robots_101/
81+
title: Robots 101
82+
tree:
83+
- url: /robots_101/post_kickstart
84+
title: After Kickstart
85+
- url: /robots_101/design
86+
title: Design
87+
- url: /robots_101/code
88+
title: Code
89+
- url: /robots_101/theming
90+
title: Theming
91+
- url: /robots_101/team_supervisor
92+
title: Running a team
8093
- url: /tutorials/
8194
title: Tutorials
8295
tree:

_includes/figure.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<figure class="{{ include.class }}">
2+
{% if include.url %}
3+
<a href="{{ include.url }}">
4+
{% elsif include.link_to_image %}
5+
<a href="{{ include.src | prepend: site.baseurl }}">
6+
{% endif %}
7+
<img src="{{ include.src | prepend: site.baseurl }}" alt="{{ include.alt | default: include.caption }}"/>
8+
{% if include.url %}
9+
</a>
10+
{% elsif include.link_to_image %}
11+
</a>
12+
{% endif %}
13+
<figcaption>{{ include.caption }}</figcaption>
14+
</figure>

_sass/docs.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,28 @@
179179
}
180180
}
181181
}
182+
183+
figure {
184+
img {
185+
width: 100%;
186+
border-radius: 3px;
187+
background-color: $sr-white;
188+
border: 1px solid darken($sr-light-grey, 10%);
189+
padding: 3px;
190+
}
191+
192+
&.spaced-figure-non-bold-caption {
193+
figcaption {
194+
font-weight: normal;
195+
font-size: 1em;
196+
text-align: center;
197+
}
198+
199+
margin-bottom: 1.5rem;
200+
201+
&:last-of-type {
202+
margin-bottom: 0;
203+
}
204+
}
205+
}
182206
}
1.74 MB
Loading
1.36 MB
Loading
175 KB
Loading
1.49 MB
Loading
2.34 MB
Loading
180 KB
Loading

0 commit comments

Comments
 (0)