Slightly better crafting alignment i guess

This commit is contained in:
object-Object 2023-10-08 17:57:49 -04:00
parent 85f9d6cf21
commit 096ae917e4
2 changed files with 7 additions and 2 deletions

View file

@ -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>

View file

@ -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;