New design improvements
* Max-width to limit number of characters per line * Changed background colors (page, cards, buttons) * Reduced header size
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
{% endblock header %}
|
||||
|
||||
{% block content %}
|
||||
<<<<<<< HEAD
|
||||
<h1 class="article">{{ post.title }}</h1>
|
||||
<p class="article-info">
|
||||
|
||||
@@ -47,17 +46,16 @@
|
||||
{% else %}
|
||||
<a class="button" href="like">{{ "Add yours" | _ }}</a>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<div class="reshares">
|
||||
<p>
|
||||
{{ "{{ count }} reshares" | _n(singular="One reshare", count=n_reshares) }}
|
||||
</p>
|
||||
<a class="button" href="reshare">
|
||||
{% if has_reshared %}
|
||||
{{ "I don't want to reshare this anymore" | _ }}
|
||||
{% else %}
|
||||
{{ "Reshare" | _ }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{% if has_reshared %}
|
||||
<a class="button reshared" href="reshare">{{ "I don't want to reshare this anymore" | _ }}</a>
|
||||
{% else %}
|
||||
<a class="button" href="reshare">{{ "Reshare" | _ }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="comments">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{% if blogs | length < 1 %}
|
||||
<p>{{ "You don't have any blog yet. Create your own, or ask to join one." | _ }}</p>
|
||||
{% endif %}
|
||||
<a class="button inline-block" href="/blogs/new">{{ "Start a new blog" | _ }}</a>
|
||||
<a class="button" href="/blogs/new">{{ "Start a new blog" | _ }}</a>
|
||||
<div class="list">
|
||||
{% for blog in blogs %}
|
||||
<div class="card">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div>
|
||||
<div class="user">
|
||||
<h1>
|
||||
{{ name }}
|
||||
{% if user.is_admin %}
|
||||
|
||||
Reference in New Issue
Block a user