From 3a4add401e8a53d96cee22ddf94db41f8c9c91af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Tue, 26 May 2020 13:46:32 +0200 Subject: [PATCH] home: Fix headings in rich text --- home/static/home/css/style.css | 2 +- home/templates/home/home_index_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/static/home/css/style.css b/home/static/home/css/style.css index d2e998be..d78fd4d7 100644 --- a/home/static/home/css/style.css +++ b/home/static/home/css/style.css @@ -65,7 +65,7 @@ h6, h6.lead { } } -h1.lead, h2.lead, h3.lead, h4.lead, h5.lead, h6.lead { +h1.lead, h2.lead, h3.lead, h4.lead, h5.lead, h6.lead, .richtext h1, .richtext h2, .richtext h3, .richtext h4, .richtext h5, .richtext h6 { font-family: "Bebas Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; line-height: 1; text-transform: uppercase; diff --git a/home/templates/home/home_index_page.html b/home/templates/home/home_index_page.html index 736501ab..5adb788b 100644 --- a/home/templates/home/home_index_page.html +++ b/home/templates/home/home_index_page.html @@ -10,7 +10,7 @@ <div class="container"> <div class="row"> <div class="col-12"> - <article class="article__content"> + <article class="article__content richtext"> {{ page.body|richtext }} </article> </div><!-- /column --> -- GitLab