Remove use of style attributes on top level comment section elements

This commit is contained in:
2025-08-09 02:20:33 -05:00
parent cc4af0c385
commit c9909762d6
2 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,14 @@
.comments > h2 {
margin-bottom: 0;
}
.comments .email-address-notice {
margin: 0;
font-size: smaller;
}
.comments .enable-javascript-notice {
font-style: italic;
}
/* Isso styling */
h4.isso-thread-heading {
color: var(--text-0);

View File

@@ -5,15 +5,15 @@
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
<h2 style="margin-bottom: 0;">Comments</h2>
<p style="margin: 0; font-size: smaller;">
<h2>Comments</h2>
<p class="email-address-notice">
If you provide an email address, you can enable notifications for
replies to your comment. It will not be shown publicly.
</p>
<noscript>
<p>
<i>Enable JavaScript to see the comment section.</i>
<p class="enable-javascript-notice">
Enable JavaScript to see the comment section.
</p>
</noscript>