diff --git a/trivia/static/style.css b/trivia/static/style.css index debf641..b84165a 100644 --- a/trivia/static/style.css +++ b/trivia/static/style.css @@ -8,6 +8,10 @@ table { right: 0; } +body { + margin: 0; +} + th, td { font-family: Calibri, serif; font-size: large; @@ -35,6 +39,11 @@ th, td { width: 1rem; } +.team-silent { + font-style: italic; + color: #676767; +} + th, td > div { height: 10%; overflow: hidden; @@ -42,4 +51,8 @@ th, td > div { th, td { height: 20px; +} + +.topnav { + overflow: hidden; } \ No newline at end of file diff --git a/trivia/templates/index.html b/trivia/templates/index.html index 08c67d7..acdb5ad 100644 --- a/trivia/templates/index.html +++ b/trivia/templates/index.html @@ -1,6 +1,7 @@ + Index @@ -10,34 +11,54 @@ url_for('static', filename='jquery.js') }}">\x3C/script>') - - - - - - - - {% for i in range(scoreCount) %} - - {% endfor %} - - - - {% for team in teams %} - - - - {% if team.name | length > 0 %} - - {% else %} - - {% endif %} - {% for score in team.scores %} - +
+ Disable Autoscroll + Enable Autorefresh +
+
+
RankIDTeam Name{{ i + 1 }}
{{ range(1, teams | length) | random }}{{ team.id }}{{ team.name }}Team {{ team.id }}{{ score }}
+ + + + + + {% for i in range(scoreCount) %} + + {% endfor %} + + + + {% for team in teams %} + + + + {% if team.name | length > 0 %} + + {% else %} + + {% endif %} + {% for score in team.scores %} + + {% endfor %} + {% endfor %} - - {% endfor %} - -
RankIDTeam Name{{ i + 1 }}
{{ range(1, teams | length) | random }}{{ team.id }}{{ team.name }}Team {{ team.id }}{{ score }}
+ + + + \ No newline at end of file