From 7a76b332ae0098efbdd5e10c5471e97e723147bf Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Sat, 7 Oct 2017 22:41:38 +0200 Subject: [PATCH] Some changes to layout --- static/style.css | 16 +++++++--------- templates/index.html | 6 +++--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/static/style.css b/static/style.css index 1f28b05..aed869c 100644 --- a/static/style.css +++ b/static/style.css @@ -5,11 +5,10 @@ html { } h1 { - padding-left: 20pt; } h2 { - padding-left: 20pt; + padding-left: 40pt; } .leaderboard { @@ -29,7 +28,6 @@ h2 { position: absolute; top: 0; left: 35%; - padding-left: 8pt; padding-top: 8pt; } @@ -75,7 +73,7 @@ h2 { width: auto; position: absolute; top: 50%; - left: 25pt; + left: 40pt; margin-top: -25pt; } @@ -84,7 +82,7 @@ h2 { font-size: 16pt; top: 50%; margin-top: -8pt; - left: 100pt; + left: 120pt; } .eater-entry { @@ -98,7 +96,7 @@ h2 { width: auto; position: absolute; top: 50%; - left: 25pt; + left: 40pt; margin-top: -25pt; } @@ -107,7 +105,7 @@ h2 { font-size: 16pt; top: 50%; margin-top: -8pt; - left: 100pt; + left: 120pt; } .rect-button { @@ -116,7 +114,7 @@ h2 { background: #EE7500; position: relative; color: #F1EDEA; - left: 200pt; + left: 220pt; margin-top: 3pt; cursor: pointer; } @@ -137,7 +135,7 @@ h2 { width: 50pt; position: absolute; top: 50%; - left: 25pt; + left: 40pt; margin-top: -25pt; color: #F1EDEA; border-radius: 25pt; diff --git a/templates/index.html b/templates/index.html index 3cee7cf..4cf18cb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,7 +17,7 @@
-

Leaderboard

+

Leaderboard

{% for person in leaderboard %}
@@ -29,7 +29,7 @@
-

Next Meal

+

Next Meal

Cook

@@ -45,7 +45,7 @@
{% endfor %}
-
+
Add me