forked from mirrors/bookwyrm
c77e5a1a90
Divides the css into sub-files and normalizes how colors are defined. Co-authored-by: Joachim <joachim.robert@protonmail.com>
21 lines
575 B
HTML
21 lines
575 B
HTML
<article class="card">
|
|
<header class="card-header">
|
|
{% block card-header %}
|
|
{% endblock %}
|
|
</header>
|
|
|
|
{% if not status or status.status_type != 'GeneratedNote' or status.book or status.mention_books.exists or status.mention_users.exists %}
|
|
<section class="card-content">
|
|
{% block card-content %}
|
|
{% endblock %}
|
|
</section>
|
|
{% endif %}
|
|
|
|
<footer class="card-footer has-background-tertiary">
|
|
{% block card-footer %}
|
|
{% endblock %}
|
|
</footer>
|
|
|
|
{% block card-bonus %}
|
|
{% endblock %}
|
|
</article>
|