1
0
Fork 0

Flex shit up a bit.

This commit is contained in:
Sebastian Schulze 2020-07-10 02:44:49 +02:00
parent 6ce44129d8
commit 2978712cf3
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 22 additions and 3 deletions

View File

@ -358,6 +358,20 @@ div.social_bar > a {
width: 2em;
}
.webmention-replies ol {
/* clear: both; */
display: flex;
flex: 1 auto;
}
.webmention-replies a.author-photo {
/* float: left; */
}
.webmention-replies div.message {
/* float: left; */
/* padding: 1em; */
}
.tech-notes a:hover {
background: #f2f2f2;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 31%);

View File

@ -25,9 +25,14 @@
{{ if $replies }}
<h3>Antworten</h3>
<ol style="list-style-type:none" class="webmention-replies">
{{ range sort $replies "post.published" "asc" }}
<ul style="list-style-type:none">
<li><a href="{{ .post.author.url }}"><img style="width: 30px" src="{{ .post.author.photo }}"></a> {{ .post.content.text }}</li>
</ul>
<li>
<a href="{{ .post.author.url }}" class="author-photo"><img style="width: 30px" src="{{ .post.author.photo }}"></a>
<div class="message">
<p>{{ .post.content.text }}</p>
</div>
<li>
{{ end }}
</ol>
{{ end }}