mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
be more selective with styling the comments disclosure widget
This commit is contained in:
parent
9c8f8ba6a6
commit
377fc0526f
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@
|
||||||
{{- if and (eq .Site.Params.comments true) (ne $emailReplies false) }}
|
{{- if and (eq .Site.Params.comments true) (ne $emailReplies false) }}
|
||||||
<span class="post_email_reply"><a href="mailto:blogreply-{{ .Title | truncate 40 | urlize}}@runtimeterror.dev?Subject=Re: {{ .Title }}">📧 Reply by email</a></span>
|
<span class="post_email_reply"><a href="mailto:blogreply-{{ .Title | truncate 40 | urlize}}@runtimeterror.dev?Subject=Re: {{ .Title }}">📧 Reply by email</a></span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<br><details><summary>Comments</summary>
|
<br><details class="comments_widget"><summary>Comments</summary>
|
||||||
{{- partial "comments" . }}
|
{{- partial "comments" . }}
|
||||||
</details>
|
</details>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -398,10 +398,10 @@ details {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary::before {
|
details.comments_widget summary::before {
|
||||||
content: 'Load ';
|
content: 'Load ';
|
||||||
}
|
}
|
||||||
|
|
||||||
details[open] summary::before {
|
details[open].comments_widget summary::before {
|
||||||
content: 'Hide ';
|
content: 'Hide ';
|
||||||
}
|
}
|
Loading…
Reference in a new issue