Commit ab2de5cc authored by Carl Schwan's avatar Carl Schwan 🚴

Polish card header design

parent 576fe091
......@@ -3,13 +3,13 @@
<div class="col-12 p-0">
<div class="card mb-3 card-sm-border-0 p-0">
<div class="row m-0 border-bottom">
<div class="col card-header d-flex justify-content-between pl-1 pl-md-3 border-0">
<div class="col card-header pl-1 pl-md-3 border-0">
<h3 class="mt-0 h5">
<a href="{{ post.original_link }}">{{ post.title }}</a>
</h3>
<div class="d-flex flex-fill align-items-center">
<img height="51px" class="my-auto mr-2" src="{% if post.avatar contains '://' %}{% elsif post.avatar %}{{ site.baseurl }}/hackergotchi/{% else %}{{ site.baseurl }}/hackergotchi/default.svg{% endif %}{{ post.avatar }}"/>
<div class="d-flex flex-column">
<h3>
<a href="{{ post.original_link }}">{{ post.title }}</a>
</h3>
<span>
<a href="{{ post.link }}">{{ post.author }}</a>
<span class="text-muted">posted at</span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment