docs: fix spacing on reference space

This commit is contained in:
Starbeamrainbowlabs 2023-12-15 23:52:20 +00:00
parent e6bf2a10ee
commit 39f671c1ef
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 10 additions and 8 deletions

View File

@ -35,13 +35,8 @@
<input type="hidden" id="category-names" value="{{ categories }}" />
<div class="command-container">
<h3>Alphabetical</h3>
<ul class="command-list">
{% for section in sections_help %}
<li data-filtermode-force="all" data-category="{{ section.category }}" style="--cat-colour: {{ section.category_colour }};"><a href="#{{ section.slug }}">
<code>{{ section.title }}</code>
</a></li>
{% endfor %}
</ul>
<ul class="command-list">{% for section in sections_help %}
<li data-filtermode-force="all" data-category="{{ section.category }}" style="--cat-colour: {{ section.category_colour }};"><a href="#{{ section.slug }}"><code>{{ section.title }}</code></a></li>{% endfor %}</ul>
</div>
</section>

View File

@ -419,16 +419,23 @@ footer {
padding: 0;
list-style-type: none;
word-wrap: anywhere;
display: flex;
flex-direction: column;
}
.command-list > li {
margin: 0.25em 0;
}
.command-list > li > a {
text-decoration: none;
padding: 0;
}
.command-list.coloured code { background: var(--cat-colour); }
.command-list code {
display: block;
padding: 0.5em;
box-sizing: border-box;
margin: 0.5em 0;
/* margin: 0.5em 0; */
margin: 0 0;
}
.filterable {