From 68bc8b52c393847d43fc26a872d16facd7efa755 Mon Sep 17 00:00:00 2001 From: Daniil Fadeev Date: Wed, 31 May 2023 20:34:36 +0400 Subject: [PATCH] emails: Apply different styles to custom email headings. --- templates/zerver/emails/email.css | 9 +++++++++ templates/zerver/emails/email_base_marketing.html | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/zerver/emails/email.css b/templates/zerver/emails/email.css index 562d54a4e2..dde678ff8f 100644 --- a/templates/zerver/emails/email.css +++ b/templates/zerver/emails/email.css @@ -107,6 +107,15 @@ table.layout > tbody > tr > td { text-align: center; } +/* + Styles for the content section of Zulip newsletters and other custom emails. +*/ +.custom-email-content h1 { + font-size: 1.6em; + margin-top: 25px; + margin-bottom: 5px; +} + .content ul, .content ol { /* Override excessive indentation seen in Gmail. */ diff --git a/templates/zerver/emails/email_base_marketing.html b/templates/zerver/emails/email_base_marketing.html index 796dad87be..552d446a09 100644 --- a/templates/zerver/emails/email_base_marketing.html +++ b/templates/zerver/emails/email_base_marketing.html @@ -25,7 +25,7 @@ -
+