emails: Apply different styles to custom email headings.

This commit is contained in:
Daniil Fadeev 2023-05-31 20:34:36 +04:00 committed by Tim Abbott
parent 91d3a480b6
commit 68bc8b52c3
2 changed files with 10 additions and 1 deletions

View File

@ -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. */

View File

@ -25,7 +25,7 @@
<td class="wrapper">
<table border="0" cellpadding="0" cellspacing="0" class="layout">
<tr>
<td>
<td class="custom-email-content">
{% block content %}{% endblock %}
</td>
</tr>