From 43b62c8d4c987fd381b76b6e2bea5807a8d9c77a Mon Sep 17 00:00:00 2001 From: SamuelmdLow Date: Fri, 15 Nov 2024 10:50:53 +0000 Subject: [PATCH] femme slight style fixes --- .../supplements/article_page_supplement_2024_femme.html | 2 +- ubyssey/static_src/src/styles/supplement-2024-femme.scss | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/article/templates/article/supplements/article_page_supplement_2024_femme.html b/article/templates/article/supplements/article_page_supplement_2024_femme.html index 13a9ae3df..8cb93f9ad 100644 --- a/article/templates/article/supplements/article_page_supplement_2024_femme.html +++ b/article/templates/article/supplements/article_page_supplement_2024_femme.html @@ -144,7 +144,7 @@

{% if article.featured_media.first.image %}
  • - {% image article.featured_media.first.image width-800 format-webp alt=article.featured_media.first.alt_text %} + {% image article.featured_media.first.image height-500 format-webp alt=article.featured_media.first.alt_text %}

    {{article.title}}

    diff --git a/ubyssey/static_src/src/styles/supplement-2024-femme.scss b/ubyssey/static_src/src/styles/supplement-2024-femme.scss index 011f7b1ce..616f4e438 100644 --- a/ubyssey/static_src/src/styles/supplement-2024-femme.scss +++ b/ubyssey/static_src/src/styles/supplement-2024-femme.scss @@ -54,8 +54,8 @@ header h1 { font-variation-settings: 'wght' 700; } -.fw-description { - margin-inline: auto; +.fw-description, .subtitle { + margin: 1em auto; text-align: center; font-size: 2em; @@ -401,6 +401,10 @@ nav.supplement-nav { font-size: 1.5em; } + .image-attachment { + padding: 0; + } + .category-list ul { flex-direction: column;