From ce586f64d54c16b2dd94e0f3db8dfac1359b3dc2 Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Thu, 16 May 2024 03:14:14 +0200 Subject: [PATCH] Move homepage section spacing into stylesheet --- .../homepage/templates/homepage/index.html | 72 ++++++++++--------- src/lanpartydb_website/static/style/style.css | 4 ++ 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/src/lanpartydb_website/blueprints/homepage/templates/homepage/index.html b/src/lanpartydb_website/blueprints/homepage/templates/homepage/index.html index 17d1218a..8929f9cb 100644 --- a/src/lanpartydb_website/blueprints/homepage/templates/homepage/index.html +++ b/src/lanpartydb_website/blueprints/homepage/templates/homepage/index.html @@ -2,45 +2,51 @@ {% block body %} -
-

This database covers:

-
- - - -
-
0
-
organizers
(yet)
+ -
-

A bunch of people were so kind to collect and submit data:

-
-
- - - +
+
+

A bunch of people were so kind to collect and submit data:

+
+
+ + + +
-
-

Check out the Contribution Guide to see how you can help improving this database.

+
+
+

Check out the Contribution Guide to see how you can help improving this database.

+
{%- endblock %} diff --git a/src/lanpartydb_website/static/style/style.css b/src/lanpartydb_website/static/style/style.css index 81fba14a..007f5ae1 100644 --- a/src/lanpartydb_website/static/style/style.css +++ b/src/lanpartydb_website/static/style/style.css @@ -407,6 +407,10 @@ table.table--wide { /* misc */ +.homepage-section:not(:last-child) { + margin-block-end: 3rem; +} + .breadcrumbs { margin-bottom: -1rem; }