Skip to content

Commit 2a0561c

Browse files
committed
Fix some small issues with the theme
1 parent 4f69710 commit 2a0561c

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

user_guide/docs/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ The JST connector goes on the **back** side of the board.
7575

7676
Note the orientation of the connector. It shouldn't be overhanging the board, it should come right up to the edge.
7777

78-
![Correct placement of connector](images/jst-correct.jpg){: align=left }
79-
![incorrect placement of connector](images/jst-incorrect.jpg){: align=right }
78+
![Correct placement of connector](images/jst-correct.jpg){: class="float-left" }
79+
![incorrect placement of connector](images/jst-incorrect.jpg){: class="float-right" }
8080

8181
Just like with the 1/8" jacks, flip the board over and solder the two pins of the JST connector to the board. Make sure the connector is flush with the board. You can use a piece of tape to hold it in place.
8282

user_guide/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ markdown_extensions:
1515
- pymdownx.highlight:
1616
use_pygments: True
1717
- pymdownx.superfences
18+
- pymdownx.magiclink
19+
- md_in_html
1820
nav:
1921
- "User Guide": index.md
2022
- "Kit Build Instructions": build.md

user_guide/theme/main.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
1313

1414
<!-- Bootstrap core CSS -->
15-
<link href="/bootstrap.min.css" rel="stylesheet">
15+
<link href="{{'bootstrap.min.css'|url}}" rel="stylesheet">
1616

1717
<!-- Custom styles for this template -->
18-
<link href="/style.css" rel="stylesheet">
18+
<link href="{{'style.css'|url}}" rel="stylesheet">
1919

2020
<!-- Syntax highlighting css -->
21-
<link href="/pygments.css" rel="stylesheet">
21+
<link href="{{'pygments.css'|url}}" rel="stylesheet">
2222

2323
{%- for path in config['extra_css'] %}
2424
<link href="{{ path|url }}" rel="stylesheet">
@@ -28,8 +28,8 @@
2828
<body>
2929
<div class="container">
3030
<nav class="navbar navbar-expand-lg navbar-light">
31-
<a class="navbar-brand" href="/">
32-
<img src="/winterbloom-logo.png" height="30" class="d-inline-block align-top" alt="" loading="lazy">
31+
<a class="navbar-brand" href="{{base_url}}">
32+
<img src="{{'winterbloom-logo.png'|url}}" height="30" class="d-inline-block align-middle" alt="" loading="lazy">
3333
</a>
3434
{% if nav|length>1 %}
3535
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
@@ -63,5 +63,5 @@
6363
</div>
6464
</body>
6565

66-
<script type="text/javascript" src="/script.js"></script>
66+
<script type="text/javascript" src="{{'script.js'|url}}"></script>
6767
</html>

user_guide/theme/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ article img {
165165
padding: 2em 0;
166166
}
167167

168+
article img.float-right, article img.float-left {
169+
width: 50%;
170+
padding: 2em 0.5em;
171+
}
172+
168173
footer {
169174
margin-top: 5em;
170175
margin-bottom: 2em;

0 commit comments

Comments
 (0)