Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Make comments look nicer

Cette révision appartient à :
sfan5 2017-05-06 13:27:35 +02:00
Parent 1d7e150572
révision e5cbb8a171
2 fichiers modifiés avec 18 ajouts et 8 suppressions

Voir le fichier

@ -88,7 +88,12 @@ a {
white-space: nowrap;
}
/* Styling/fixes for the table: */
.comment-row td:first-of-type {
vertical-align: top;
text-align: right;
}
/* Table style & fixes */
.table > tbody > tr > td {
/* fix bootstrap uglyness */
vertical-align: middle;
@ -106,6 +111,10 @@ tr.torrent-info td.date {
opacity: 0.82;
}
.comment-row {
border-top: 1px solid #ddd;
}
div.container div.blockBody:nth-of-type(2) table{table-layout:fixed;}
div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:first-of-type, div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:nth-of-type(5){width:10%;}
div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:nth-of-type(3){width:15%;}

Voir le fichier

@ -34,16 +34,17 @@
<td>Description</td>
<td>{{.Description}}</td>
</tr>
<tr style="height:2em"> <td></td><td></td> </tr>
<tr>
<td>Comments</td>
<td></td>
</tr>
{{ range .Comments }}
<tr>
<tr class="comment-row">
<td>{{.Un}}</td>
<td>{{.C}}</td>
</tr>
{{end}}
</tr>
</table>
{{end}}
</div>