Skip to content

Commit

Permalink
Merge pull request #6472 from OCHA-DAP/feature/HDX-10301-decrease-fon…
Browse files Browse the repository at this point in the history
…t-size-email-template

PR HDX-10301 & HDX-10285: decrease font-sizes, reduce spacing & add missing period
  • Loading branch information
danmihaila authored Oct 31, 2024
2 parents efec723 + f9b2d40 commit fc68831
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>Dear HDX User,</p>

<p>You're subscribing to the <a href="{{ h.url_for('hdx_dataset.read', id=data.dataset_id, _external=True) }}" target="_blank"> {{ data.dataset_title }}</a> dataset</p>
<p>You're subscribing to the <a href="{{ h.url_for('hdx_dataset.read', id=data.dataset_id, _external=True) }}" target="_blank"> {{ data.dataset_title }}</a> dataset.</p>
<p>Please verify your email by clicking the button below:</p>

<a href="{{ data.verify_email_link }}" target="_blank" title="Verify email" class="button">Verify email</a>
Expand Down
26 changes: 13 additions & 13 deletions ckanext-hdx_theme/ckanext/hdx_theme/templates/email/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}

.hdx-email .hdx-content p {
font-size: 20px;
line-height: 180%;
font-size: 16px;
line-height: 140%;
margin-top: 0;
margin-bottom: 15px;
}
Expand All @@ -35,8 +35,8 @@
}

.hdx-email .hdx-content li {
font-size: 20px;
line-height: 150%;
font-size: 16px;
line-height: 130%;
}

.hdx-email .hdx-content a {
Expand All @@ -50,9 +50,9 @@
background-color: #007CE1;
padding: 19px 32px;
font-weight: 600;
margin: 32px 0;
font-size: 16px;
line-height: 125%;
margin: 16px 0;
font-size: 14px;
line-height: 130%;
text-decoration: none;
}

Expand All @@ -64,11 +64,11 @@
}
.hdx-email .hdx-content .quote p {
margin-bottom: 0;
line-height: 150%;
line-height: 130%;
}

.hdx-email .hdx-logo {
padding: 35px;
padding: 25px;
background-color: #F2F2F2;
}

Expand All @@ -77,7 +77,7 @@
}

.hdx-email .hdx-logo img {
width: 110px;
width: 90px;
height: auto;
display: block;
}
Expand Down Expand Up @@ -107,8 +107,8 @@
}

.hdx-email .hdx-footer p {
font-size: 16px;
line-height: 150%;
font-size: 14px;
line-height: 130%;
margin-top: 0;
margin-bottom: 0;
}
Expand All @@ -132,7 +132,7 @@
}

.hdx-email .hdx-logo a {
width: 110px !important;
width: 90px !important;
overflow: hidden !important;
}
}
Expand Down

0 comments on commit fc68831

Please sign in to comment.