Retouches sur le CSS

This commit is contained in:
Martin Pépin 2016-06-24 20:50:28 +02:00
parent 72fc04e45b
commit 35db93b1e5
3 changed files with 24 additions and 5 deletions

View file

@ -1277,9 +1277,6 @@ h6,
.h6 {
font-size: 12px;
}
p {
margin: 0 10px 10px;
}
.lead {
margin-bottom: 20px;
font-size: 16px;

View file

@ -4,6 +4,12 @@ html, body {
height: 100%;
}
p {
padding-left: 10px;
padding-right: 10px;
margin-bottom: 10px;
}
h1 {
font: 36px Lobster;
margin-bottom: 0.8em;
@ -195,3 +201,15 @@ h3.part {
padding-top: 15px;
border-top: 1px solid #f7e4e0;
}
div.info_part {
padding-left: 20px;
padding-right: 20px;
padding-bottom: 5px;
}
div.info_part form, div.info_part div {
padding-bottom: 10px;
border-bottom: 1px solid #f7e4e0;
margin-bottom: 10px;
}

View file

@ -10,6 +10,7 @@
<p>{{ suppression }}</p>
{% endif %}
<div class="info_part">
{% if user.profile.is_chef %}
<form action="{% url "partitions.views.listepart" nom auteur %}" id="chef-edit-form" method="post">
{% csrf_token %}
@ -18,10 +19,13 @@
</form>
{% else %}
{% if p.infos %}
<h4>Infos utiles</h4>
<p>{{ p.infos }}</p>
<div>
<h4>Infos utiles</h4>
<p>{{ p.infos }}</p>
</div>
{% endif %}
{% endif %}
</div>
<ul class="filelist">
{% for p in part %}