Commit dbff5c87 authored by Simon Daron's avatar Simon Daron
Browse files

CSS Program adapt for Home

parent 3a24730e
......@@ -16,7 +16,7 @@
.inline .date, .resume .date{
text-align: center;
}
.dateBloc{max-width:6em;}
.dateBloc{max-width:5.5em;}
.dateBloc, .dateBloc span{display:block;}
.dateBloc *{line-height: 100%;}
.dateBloc .day {font-size: 2.2em;}
......@@ -510,10 +510,13 @@ body{
width:14%;
text-align:center;
}
.program .dateBloc {
.program ul .dateBloc {
float:left;
padding-top:1em;
}
.program ul .schedule {
margin-left:5em;
}
/****************************************************/
/**** GRILLE ****/
......
......@@ -66,7 +66,7 @@
</ul>
</nav>
</div>
<div id="ProgramContent">
<div id="ProgramContent" class="program" >
{% for day in days %}
<div data-tabbed="true" class="content padded" id="Program-tabs-{{ day.datetime|date:"w" }}">
<ul class="custom emission-list list">
......@@ -76,7 +76,7 @@
<div class="date dateBloc">
<div class="time">{{ schedule.datetime|date:"H:i" }}</div>
</div>
<div style="margin-left:7em;">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
<div class="schedule">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
</li>
{% endfor %}
{% else %}
......
......@@ -13,7 +13,7 @@
</div>
{% endblock %}
{% block main %}
<div id="ProgramContent" class="wrapper">
<div id="ProgramContent" class="program wrapper">
{% for day in days %}
<div data-tabbed="true" class="content padded" id="Program-tabs-{{ day.datetime|date:"w" }}">
<ul class="custom emission-list list">
......@@ -23,7 +23,7 @@
<div class="date dateBloc">
<div class="time">{{ schedule.datetime|date:"H:i" }}</div>
</div>
<div style="margin-left:7em;">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
<div class="schedule">{% include "emissions/inline.html" with emission=schedule.emission %}</div>
</li>
{% endfor %}
{% else %}
......
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