Flex shit up a bit.
This commit is contained in:
parent
6ce44129d8
commit
2978712cf3
|
@ -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%);
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue