diff --git a/assets/css/base.css b/assets/css/base.css index 7dbb925..b3f452a 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -272,4 +272,27 @@ h5 { .btn-primary .main-link:hover { text-decoration: none; color: black; +} + +/* Accordion Styles */ + +.accordion { + border: 1px solid #ddd; + border-radius: 5px; +} +.accordion-item { + border-bottom: 1px solid #ddd; +} +.accordion-header { + padding: 1rem; + cursor: pointer; +} +.accordion-button { + background: none; + border: none; + outline: none; + font-size: 1.25rem; +} +.accordion-collapse { + padding: 1rem; } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index f50c447..8066de4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,19 +36,32 @@
-
+
{% for service in services.services %} {% if not service.exclude_from_index %} -
-
-
+
+

+ +

+
+
{% if service.icon %}
{{ service.icon | icon | safe }} {% if service.homemade %} @@ -61,16 +74,13 @@ {% endif %}
{% endif %} -
{{ service.name }}

{{ service.long_description }}

{% for link in service.links %} {% if link.alternatives %}