Commit f10948f9 authored by Zachary Dunn's avatar Zachary Dunn

BEM-ify boost and like posts

parent a42316ce
.entry--note header {
.entry--note header,
.entry--boost header,
.entry--like header {
display: flex;
flex-flow: row nowrap;
flex: 1 0 auto;
......@@ -7,7 +9,9 @@
text-align: center;
}
.entry--note .timestamp {
.entry--note .timestamp,
.entry--boost .timestamp,
.entry--like .timestamp {
align-self: baseline;
margin: 0;
padding: 0.5rem;
......
......@@ -5,15 +5,15 @@
{% endblock head %}
{% block content %}
<article class="h-entry boost">
<article class="h-entry block entry entry--has-badge entry--boost">
<header>
<div class="badge">
<div class="entry__badge">
{% include "partials/repost-arrows" %}
</div>
{% include "partials/hcard-mini" %}
{% include "partials/timestamp" %}
</header>
<section class="entry-inner">
<section class="block__inner">
<p class="e-content">
Boosted <a href="{{ post.repost_of }}" class="u-url">{{ post.repost_of }}</a>
</p>
......
......@@ -5,15 +5,15 @@
{% endblock head %}
{% block content %}
<article class="h-entry like">
<article class="h-entry block entry entry--has-badge entry--like">
<header>
<div class="badge">
<div class="entry__badge">
{% include "partials/star" %}
</div>
{% include "partials/hcard-mini" %}
{% include "partials/timestamp" %}
</header>
<section class="entry-inner">
<section class="block__inner">
<p class="e-content">
<span>Liked <a href="{{ post.like_of }}" class="u-url">{{ post.like_of }}</a></span>
</p>
......
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