griglia con orari e tacche più leggibili

This commit is contained in:
boyska 2020-09-10 11:55:48 +02:00
parent b727980974
commit fe5457922e
2 changed files with 10 additions and 2 deletions

View file

@ -10,7 +10,9 @@
<tbody> <tbody>
{% for time in times|sort %} {% for time in times|sort %}
<tr> <tr>
<td>{{time}}</td> <td class="talk-grid-time">
{{"%02d:%02d"|format((time // 100) % 24, time % 100)}}
</td>
{% for talk in times[time] %} {% for talk in times[time] %}
{% if not loop.first and talk.room == '*' %} {% if not loop.first and talk.room == '*' %}
{# skip: covered by colspan #} {# skip: covered by colspan #}

View file

@ -1,7 +1,13 @@
.talk-grid { .talk-grid {
.talk { text-align: center; } .talk { text-align: center; }
td { border: 0; } td { border: 0; }
td:first-child { border-bottom: 1px solid white; } td.talk-grid-time {
border-bottom: 1px solid #444;
border-top: 1px solid #444;
vertical-align: top;
padding-top: 0;
}
td.talk { padding-bottom: 1em; padding-top: 1em; }
.tag-cibo { .tag-cibo {
background-color: adjust-color($c-bg, $lightness: -15%); background-color: adjust-color($c-bg, $lightness: -15%);
} }