diff --git a/assets/css/base.css b/assets/css/base.css index 9d4d7a3..4cfd25a 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -120,8 +120,9 @@ h5 { } .homemade { - top: -0.5rem; right: -0.5rem; + height: 1.5rem; + width: 1.5rem; position: absolute; } @@ -287,6 +288,8 @@ h5 { } .accordion-header { + display: flex; + align-items: center; padding: 1rem; cursor: pointer; background-color: #f9f9f9; @@ -299,6 +302,16 @@ h5 { background-color: #e9e9e9; } +.icon-container { + display: flex; + align-items: center; + margin-right: 1rem; +} + +.bs-icon { + position: relative; +} + .accordion-body { padding: 1rem; display: none; diff --git a/templates/index.html b/templates/index.html index ad173ad..c3b6df7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -41,25 +41,24 @@ service.exclude_from_index %}
- {{ service.name }}{% if service.tiny_description %} - {{ - service.tiny_description }}{% endif %} - -
{% if service.icon %}
- {{ service.icon | icon | safe }} {% if service.homemade %} -
- {{ "coffee" | icon | safe }} -
- {% endif %} + {{ service.icon | icon | safe }} +
+ {% endif %} {{ service.name }}{% if service.tiny_description %} - {{ + service.tiny_description }}{% endif %} {% if service.homemade %} +
+ {{ "coffee" | icon | safe }}
{% endif %} + +

{{ service.long_description }}