From 23ca037ab48a85664cf220e6136ac59f46c76d56 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 29 Aug 2021 12:22:12 +0200 Subject: [PATCH] Replace scaled triangles with pairs of triangles Scaling text in CSS is just too fiddly. So let's cheat :-). --- pt/static/style.css | 2 -- pt/templates/pt/compare.html | 35 +++++++++++++++++------------------ 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/pt/static/style.css b/pt/static/style.css index 17a0248..96a0dfe 100644 --- a/pt/static/style.css +++ b/pt/static/style.css @@ -41,7 +41,6 @@ header { .up { color: #080; font-size: 2rem; - transform: scale(2,1); text-align: center; } @@ -53,7 +52,6 @@ header { .down { font-size: 2rem; color: #C00; - transform: scale(2,1); text-align: center; } diff --git a/pt/templates/pt/compare.html b/pt/templates/pt/compare.html index b01fbe0..74d4330 100644 --- a/pt/templates/pt/compare.html +++ b/pt/templates/pt/compare.html @@ -8,27 +8,26 @@
-
- -

Picture Tournament

- -
-
- -
-
{{left.elo | floatformat:"1"}} +
+ +

Picture Tournament

+ +
+
+ +
+
{{left.elo | floatformat:"1"}} +
+
- -
-
- -
-
{{right.elo | floatformat:"1"}} +
+ +
+
{{right.elo | floatformat:"1"}} +
+
- -
-