diff --git a/core/templates/tournaments-reverse.html b/core/templates/tournaments-reverse.html index 9f81176..cbe1241 100644 --- a/core/templates/tournaments-reverse.html +++ b/core/templates/tournaments-reverse.html @@ -8,13 +8,16 @@ class="prose w-full max-w-screen-md bg-white rounded-md shadow-md p-4" > {% if focus.show_title %} -

{{ focus.title }}

+

{{ focus.title }}

{% endif %}
{% buttons focus.buttons %}
-
- + {% if tournament.show_title %} -

{{ tournament.title }}

+

{{ tournament.title }}

{% endif %}
{% buttons tournament.buttons %}
-
+
{% if focus.show_title %} -

{{ focus.title }}

+

{{ focus.title }}

{% endif %}
{% buttons focus.buttons %} diff --git a/core/templates/youth.html b/core/templates/youth.html index 55e1d33..e577851 100644 --- a/core/templates/youth.html +++ b/core/templates/youth.html @@ -9,7 +9,7 @@ class="prose w-full max-w-screen-md bg-white rounded-md shadow-md p-4" > {% if article.show_title %} -

{{ article.title }}

+

{{ article.title }}

{% endif %}
{% buttons article.buttons %} diff --git a/db/tournaments/models.py b/db/tournaments/models.py index 36a2376..93cadf0 100644 --- a/db/tournaments/models.py +++ b/db/tournaments/models.py @@ -48,7 +48,7 @@ class Tournament(OrderableModel): @property def link(self): - href = reverse_lazy('youth-reverse', args=[self.id]) + href = reverse_lazy('tournaments-reverse', args=[self.id]) return mark_safe(f'{href}') class Meta(OrderableModel.Meta): diff --git a/static/css/dist/styles.css b/static/css/dist/styles.css index b84440e..3d02224 100644 --- a/static/css/dist/styles.css +++ b/static/css/dist/styles.css @@ -1304,8 +1304,12 @@ select { margin-bottom: auto; } -.mt-4 { - margin-top: 1rem; +.mt-0 { + margin-top: 0px; +} + +.mt-2 { + margin-top: 0.5rem; } .block { @@ -1532,11 +1536,6 @@ select { padding-bottom: 0.5rem; } -.px-12 { - padding-left: 3rem; - padding-right: 3rem; -} - .pb-1 { padding-bottom: 0.25rem; } @@ -1800,8 +1799,8 @@ h4 { margin-bottom: 0.3em; } -.prose-img\:m-1 :is(:where(img):not(:where([class~="not-prose"] *))) { - margin: 0.25rem; +.prose-figure\:mt-0 :is(:where(figure):not(:where([class~="not-prose"] *))) { + margin-top: 0px; } .prose-img\:my-1 :is(:where(img):not(:where([class~="not-prose"] *))) { diff --git a/theme/static/css/dist/styles.css b/theme/static/css/dist/styles.css index b84440e..5881d58 100644 --- a/theme/static/css/dist/styles.css +++ b/theme/static/css/dist/styles.css @@ -1304,8 +1304,8 @@ select { margin-bottom: auto; } -.mt-4 { - margin-top: 1rem; +.mt-2 { + margin-top: 0.5rem; } .block { @@ -1532,11 +1532,6 @@ select { padding-bottom: 0.5rem; } -.px-12 { - padding-left: 3rem; - padding-right: 3rem; -} - .pb-1 { padding-bottom: 0.25rem; } @@ -1800,10 +1795,6 @@ h4 { margin-bottom: 0.3em; } -.prose-img\:m-1 :is(:where(img):not(:where([class~="not-prose"] *))) { - margin: 0.25rem; -} - .prose-img\:my-1 :is(:where(img):not(:where([class~="not-prose"] *))) { margin-top: 0.25rem; margin-bottom: 0.25rem;