Slightly better crafting alignment i guess
This commit is contained in:
parent
85f9d6cf21
commit
096ae917e4
|
@ -48,8 +48,7 @@
|
|||
{# render a crafting table for each recipe #}
|
||||
{% macro crafting_table(recipes) -%}
|
||||
{% for recipe in recipes %}
|
||||
{% if loop.index0 > 0 %}<br />{% endif %}
|
||||
<details class="details-collapsible">
|
||||
<details class="details-collapsible crafting-table-details">
|
||||
<summary class="collapse-details">
|
||||
<span class="collapse-recipe-show">{{ _('hexdoc.recipe.show').format(recipe.result.item.name) }}</span>
|
||||
<span class="collapse-recipe-hide">{{ _('hexdoc.recipe.hide').format(recipe.result.item.name) }}</span>
|
||||
|
|
|
@ -211,6 +211,12 @@ canvas.spell-viz {
|
|||
}
|
||||
}
|
||||
|
||||
@media(min-width: 992px) {
|
||||
.crafting-table-details {
|
||||
width: calc(50% - 2px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #201a20;
|
||||
|
|
Loading…
Reference in a new issue