Skip to content

Commit 89eac8b

Browse files
committed
colors
1 parent 71bbab7 commit 89eac8b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

core/templates/schoolweek.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h5>This week's maroon and gray A and B days.</h5>
88
<table>
99
<tr>
1010
{% for day in week %}
11-
<td style="padding:10px;">{{ day }}</td>
11+
<td class="{{ day.split('<br>')[1] }}" style="padding:10px;">{{ day }}</td>
1212
{% endfor %}
1313
</tr>
1414
</table>
@@ -20,5 +20,12 @@ <h5>This week's maroon and gray A and B days.</h5>
2020
table {
2121
border-collapse: collapse;
2222
}
23+
24+
.Maroon {
25+
color: #8d0000;
26+
}
27+
.Gray {
28+
color: #808080;
29+
}
2330
</style>
2431
{% endblock content %}

0 commit comments

Comments
 (0)