Commit 62a69904 authored by Julien Schmidt's avatar Julien Schmidt
Browse files

nicer formatting of the office hours table

parent 76d46d5b
......@@ -2,8 +2,8 @@
<thead>
<tr>
<th>{{ i18n "weekday" }}</th>
<th>{{ i18n "date" }}</th>
<th>{{ i18n "time" }}</th>
<th class="right">{{ i18n "date" }}</th>
<th class="right">{{ i18n "time" }}</th>
</tr>
</thead>
<tbody>
......@@ -20,7 +20,7 @@
{{ else }}
{{ dateFormat "January 2, 2006" (int .start) }}
{{ end }}</td>
<td>{{ dateFormat "15:04" (int .start) }} – {{ dateFormat "15:04" (int .end) }}</td>
<td class="right">{{ dateFormat "15:04" (int .start) }} – {{ dateFormat "15:04" (int .end) }}</td>
</tr>
{{ end }}
</tbody>
......
......@@ -580,24 +580,26 @@ table {
margin-top: 1.5rem;
border-spacing: 0px;
border-collapse: collapse;
width: 100%;
}
table td,
table th {
padding: 0;
line-height: 33px;
padding: .3em 1em;
vertical-align: top;
}
table th {
border-bottom: 2px solid #dee2e6;
text-align: left;
}
table td {
padding: .3em 1em;
vertical-align: top;
border-top: 1px solid #dee2e6;
}
td.right {
th.right, td.right {
text-align: right;
}
......
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