Skip to content

Commit

Permalink
Move homepage section spacing into stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed May 16, 2024
1 parent 8542ce4 commit ce586f6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,51 @@

{% block body %}

<div class="block is-centered-h">
<p class="text--centered">This database covers:</p>
<div class="row row--collapsible row--center">
<div class="column text--centered">
<a href="{{ url_for('party.index') }}">
<div class="bignumber">{{ party_count }}</div>
<div class="bignumber-caption">parties</div>
</a>
</div>
<div class="column text--centered">
<a href="{{ url_for('series.index') }}">
<div class="bignumber">{{ series_count }}</div>
<div class="bignumber-caption">party series</div>
</a>
</div>
<div class="column text--centered">
<a href="{{ url_for('party.index_countries') }}">
<div class="bignumber">{{ country_count }}</div>
<div class="bignumber-caption">countries</div>
</a>
</div>
<div class="column text--centered">
<div class="bignumber">0</div>
<div class="bignumber-caption">organizers<br><small>(yet)</small></div>
<div class="homepage-section">
<div class="block is-centered-h">
<p class="text--centered">This database covers:</p>
<div class="row row--collapsible row--center">
<div class="column text--centered">
<a href="{{ url_for('party.index') }}">
<div class="bignumber">{{ party_count }}</div>
<div class="bignumber-caption">parties</div>
</a>
</div>
<div class="column text--centered">
<a href="{{ url_for('series.index') }}">
<div class="bignumber">{{ series_count }}</div>
<div class="bignumber-caption">party series</div>
</a>
</div>
<div class="column text--centered">
<a href="{{ url_for('party.index_countries') }}">
<div class="bignumber">{{ country_count }}</div>
<div class="bignumber-caption">countries</div>
</a>
</div>
<div class="column text--centered">
<div class="bignumber">0</div>
<div class="bignumber-caption">organizers<br><small>(yet)</small></div>
</div>
</div>
</div>
</div>

<div class="block is-centered-h" style="margin-top: 3rem;">
<p>A bunch of people were so kind to collect and submit data:</p>
</div>
<div class="block is-centered-h">
<a href="https://github.com/orgatalk/lanpartydb-data/contributors" class="contributors">
<img src="https://contrib.rocks/image?repo=orgatalk/lanpartydb-data&columns=5">
</a>
<div class="homepage-section">
<div class="block is-centered-h">
<p>A bunch of people were so kind to collect and submit data:</p>
</div>
<div class="block is-centered-h">
<a href="https://github.com/orgatalk/lanpartydb-data/contributors" class="contributors">
<img src="https://contrib.rocks/image?repo=orgatalk/lanpartydb-data&columns=5">
</a>
</div>
</div>

<div class="block is-centered-h" style="margin-top: 3rem;">
<p>Check out the <a href="https://github.com/orgatalk/lanpartydb-data/blob/main/CONTRIBUTING.md">Contribution Guide</a> to see how you can help improving this database.</p>
<div class="homepage-section">
<div class="block is-centered-h">
<p>Check out the <a href="https://github.com/orgatalk/lanpartydb-data/blob/main/CONTRIBUTING.md">Contribution Guide</a> to see how you can help improving this database.</p>
</div>
</div>

{%- endblock %}
4 changes: 4 additions & 0 deletions src/lanpartydb_website/static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ table.table--wide {

/* misc */

.homepage-section:not(:last-child) {
margin-block-end: 3rem;
}

.breadcrumbs {
margin-bottom: -1rem;
}
Expand Down

0 comments on commit ce586f6

Please sign in to comment.