Skip to content

Commit 73b6cc7

Browse files
committed
change the module links to purple tags and remove the seperating commas
1 parent c764990 commit 73b6cc7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

_includes/download/board.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h3>CircuitPython {{ version.version }}</h3>
161161
<a target="_blank" class="library-link" href="https://docs.circuitpython.org/en/latest/shared-bindings/{{ module_name }}">
162162
{% endif %}
163163
{{ module_name }}
164-
</a>{% if module_name != version.modules[version.modules.size - 1] %}, {% endif %}
164+
</a>
165165
{% endfor %}
166166
</span>
167167
</p>
@@ -173,7 +173,7 @@ <h3>CircuitPython {{ version.version }}</h3>
173173
{% for module_name in version.frozen_libraries %}
174174
<a target="_blank" class="library-link" href="https://docs.circuitpython.org/projects/{{ module_name | split: 'adafruit_' | last }}">
175175
{{ module_name }}
176-
</a>{% if module_name != version.frozen_libraries[version.frozen_libraries.size - 1] %}, {% endif %}
176+
</a>
177177
{% endfor %}
178178
</span>
179179
</p>

assets/sass/pages/_download.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
}
185185
}
186186
}
187-
.feature-span {
187+
.feature-span, .library-link {
188188
padding: 2px 4px 2px 4px;
189189
margin-left: 3px;
190190
margin-bottom: 3px;
@@ -194,6 +194,12 @@
194194
border-radius: 5px;
195195
font-size: 14px;
196196
}
197+
198+
.library-link:hover{
199+
outline: 2px solid $purple;
200+
background-color: #fff;
201+
color: $purple;
202+
}
197203
}
198204

199205
@media (max-width: $screen-lg) {

0 commit comments

Comments
 (0)