From e943fd880b096802e7cc64f888dd14999b751a69 Mon Sep 17 00:00:00 2001 From: nukeop Date: Tue, 3 Jan 2017 19:01:27 +0100 Subject: [PATCH] Cosmetic changes to mod buttons --- smash/static/css/custom.css | 12 +++++++++--- smash/templates/latest.html | 13 ++++++------- smash/templates/queue.html | 14 ++++++++------ 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/smash/static/css/custom.css b/smash/static/css/custom.css index f66abef..3498bb1 100644 --- a/smash/static/css/custom.css +++ b/smash/static/css/custom.css @@ -147,7 +147,13 @@ html, body { background-color: #03A9F4; } -.btn-mod { - padding: 2px 8px; - border-radius: 0px; +.mod-form { + padding-left: 8px; + display: inline; +} + +.btn-mod { + padding: 0px 4px; + border-radius: 0px; + display: inline; } diff --git a/smash/templates/latest.html b/smash/templates/latest.html index 7549ede..0e047e0 100644 --- a/smash/templates/latest.html +++ b/smash/templates/latest.html @@ -7,16 +7,15 @@ #{{ quote.id }} + ({{quote.rating}}) -
{{ quote.time }}
- -{% if session.authorized %} -
-
+ {% if session.authorized %} + -
-
-{% endif %} + + {% endif %} + +

{{ quote.content|safe }}

diff --git a/smash/templates/queue.html b/smash/templates/queue.html index d45a8a8..dc915de 100644 --- a/smash/templates/queue.html +++ b/smash/templates/queue.html @@ -3,16 +3,18 @@ {% if quotes %} {% for quote in quotes %} -#{{ quote.id }} -+ ({{quote.rating}}) - +
+ #{{ quote.id }} + + ({{quote.rating}}) - +
{{ quote.time }}
-
-
+ -
-
+ +
+

{{ quote.content|safe }}