mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 12:05:01 +00:00
docs: fix spacing on reference space
This commit is contained in:
parent
e6bf2a10ee
commit
39f671c1ef
2 changed files with 10 additions and 8 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue