Commit cef95ad6 authored by nachtgold's avatar nachtgold Committed by Hubert Denkmair
Browse files

highscore table layout updated

parent 2e033a7a
......@@ -3,6 +3,12 @@
margin-bottom: 1em;
}
.ui.table.highscore-table {
font-size: .6em;
margin-left: 200px;
width: 60%;
}
/*
.highscore-table thead th {
background-color: #333;
padding: 5px;
......@@ -25,4 +31,4 @@
.highscore-table tbody tr:nth-child(even) td {
background-color: #555;
}
\ No newline at end of file
}*/
\ No newline at end of file
......@@ -9,18 +9,18 @@
{% block content %}
<div class="highscore-title">Highscores</div>
<table class="highscore-table" cellspacing="0">
<table class="highscore-table ui celled selectable inverted table" cellspacing="0">
<thead>
<tr>
<th>User</th>
<th>Score</th>
<th class="eleven wide">User</th>
<th class="five wide right aligned">Score</th>
</tr>
</thead>
<tbody>
{% for score in highscores %}
<tr>
<td>{{score.user__username}}</td>
<td>{{score.score}}</td>
<td class="right aligned">{{score.score}}</td>
</tr>
{% endfor %}
</tbody>
......
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