diff --git a/static/css/style.css b/static/css/style.css index 20242210..ddc445bb 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -12,3 +12,6 @@ .cmsfr-hero-dark h1, .cmsfr-hero-dark p { color: white; } + +.fr-header__service-title em { + font-weight: lighter; } diff --git a/static/css/style.sass b/static/css/style.sass index 3ecd1381..c17516a6 100644 --- a/static/css/style.sass +++ b/static/css/style.sass @@ -14,3 +14,6 @@ .cmsfr-hero-dark & h1, p color: white + +.fr-header__service-title em + font-weight: lighter diff --git a/templates/blocks/header.html b/templates/blocks/header.html index c360cf41..ff9b0326 100644 --- a/templates/blocks/header.html +++ b/templates/blocks/header.html @@ -2,14 +2,23 @@ {% load static wagtailcore_tags menu_tags %} {% block brand %} - + {% endblock brand %} {% block service_title %} - -

{{ settings.content_manager.CmsDsfrConfig.site_title }}

+
+ +

+ {% if settings.content_manager.CmsDsfrConfig.site_title|slice:"-2:" == "fr" %} + {{ settings.content_manager.CmsDsfrConfig.site_title|slice:":-2" }}fr + {% else %} + {{ settings.content_manager.CmsDsfrConfig.site_title }} + {% endif %} +

{% endblock service_title %} @@ -19,7 +28,7 @@ {% endblock service_tagline %} {% block header_tools %} - {% flat_menu handle="header_tools" template="menus/custom_flat_menu.html" %} + {% flat_menu handle="header_tools" template="menus/custom_flat_menu.html" %} {% endblock header_tools %} {# Leave burger_menu and main_menu blocks empty if the main menu is not used #}