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 */ /* Isso styling */
h4.isso-thread-heading { h4.isso-thread-heading {
color: var(--text-0); color: var(--text-0);

View File

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