Josh Gordon 4 years ago
parent
commit
a44ce6128c
  1. 4
      app/templates/items.html
  2. 21
      app/templates/style.css

4
app/templates/items.html

@ -10,8 +10,8 @@
<table>
{% for (name,item) in items %}
<tr>
<td> {{name}} </td>
<td class="freeform"> {{item}} </td>
<th class="topalign"> {{name}} </td>
<td class="freeform monospace"> {{item}} </td>
</tr>
{% endfor %}
</table>

21
app/templates/style.css

@ -2,7 +2,7 @@ html {
background: #222;
background-size: cover;
background-repeat: no-repeat;
color: white;
color: #ccc;
font-family: 'IBM Plex Sans', sans-serif;
font-size: 24px;
@ -44,9 +44,26 @@ a, a.visited {
}
table,th,td {
border: 1px solid white;
border: 1px solid #66c;
}
table th, table td {
padding: 0.5em 1em;
}
th {
color: #fff;
}
.freeform {
white-space: pre-wrap;
}
.monospace {
font-family: monospace;
font-size: 12pt;
}
.topalign {
vertical-align: top;
}
Loading…
Cancel
Save