un artista delle tabelle

This commit is contained in:
boyska 2017-05-19 00:14:33 +02:00
parent 6c7f0c9c78
commit b701f450bd
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -1,14 +1,19 @@
<style> <style>
.talk-grid { .talk-grid {
table-layout: fixed; table-layout: auto;
width: 100%; width: 100%;
border-collapse: unset;
} }
.talk-grid > thead th:first-child { .talk-grid > thead th:first-child {
max-width: 5em; max-width: 5em;
} }
td.talk { td.talk {
border: 1px solid; border: 1px solid;
border-radius: 0.3em;
} }
.talk-grid tr { line-height: 1em; }
.talk-grid tr:hover { background-color: #980e0eb3; }
.talk-grid td:first-child { font-size: 60%; }
</style> </style>
<table class="talk-grid"> <table class="talk-grid">
<thead> <thead>
@ -28,7 +33,9 @@ td.talk {
<td></td> <td></td>
{% elif not talk.skip %} {% elif not talk.skip %}
<td class="talk" rowspan="{{talk.duration // timestep}}"> <td class="talk" rowspan="{{talk.duration // timestep}}">
<a href="#talk-{{talk.id}}"> {{talk.title}}</a> <a href="#talk-{{talk.id}}"
title="{{talk.tags|join(",")}}"
>{{talk.title}}</a>
</td> </td>
{% endif %} {% endif %}
{% endfor %} {% endfor %}