Commit 40c1a404 authored by Simon Daron's avatar Simon Daron
Browse files

Fixing padding on program

parent a81557b8
......@@ -16,7 +16,8 @@ text-transform: uppercase;
.inline .date, .resume .date{
text-align: center;
}
.dateBloc span{display:block;}
.dateBloc{max-width:6em;}
.dateBloc, .dateBloc span{display:block;}
.dateBloc *{line-height: 100%;}
.dateBloc .day {font-size: 2.2em;}
.dateBloc .number {font-size: 2.2em;}
......@@ -518,10 +519,9 @@ body{
width:14%;
text-align:center;
}
.program .dateBloc {
#Program .dateBloc {
float:left;
padding-top:1em;
margin-right:2em;
}
/****************************************************/
......
<div class="emission emission-inline inline cf">
<div class="emission emission-inline inline">
<div class=" {% if emission.archived %}archived{% endif %}">
{% if emission.date %}
<div class="date cf">
......
......@@ -15,15 +15,15 @@
{% block main %}
<div id="ProgramContent" class="wrapper">
{% for day in days %}
<div data-tabbed="true" class="content" id="Program-tabs-{{ day.datetime|date:"w" }}">
<div data-tabbed="true" class="content padded" id="Program-tabs-{{ day.datetime|date:"w" }}">
<ul class="custom emission-list list">
{% if day.schedules %}
{% for schedule in day.schedules %}
<li>
<div class="date dateBloc left padded">
<div class="date dateBloc">
<div class="time">{{ schedule.datetime|date:"H:i" }}</div>
</div>
<div style="margin-left:100px;">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
<div style="margin-left:7em;">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
</li>
{% endfor %}
{% else %}
......
Supports Markdown
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