From 78f032649c7f61c63b8ca4d5455a4759af531fc7 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 16 Feb 2019 22:50:14 +0100 Subject: Improve task_greeting.html template Fix semantics and improve style. --- kpov_judge/web/kpov_judge/static/style.css | 8 ++- .../web/kpov_judge/templates/task_greeting.html | 73 ++++++++++++---------- 2 files changed, 47 insertions(+), 34 deletions(-) diff --git a/kpov_judge/web/kpov_judge/static/style.css b/kpov_judge/web/kpov_judge/static/style.css index 4511302..363fbc4 100644 --- a/kpov_judge/web/kpov_judge/static/style.css +++ b/kpov_judge/web/kpov_judge/static/style.css @@ -25,9 +25,15 @@ dd { margin-left: 1em; } -h1 { +h1, h2, h3 { margin-bottom: 0.5em; } +h2 { + font-size: 110%; +} +h3 { + font-size: 105%; +} p { hyphens: auto; diff --git a/kpov_judge/web/kpov_judge/templates/task_greeting.html b/kpov_judge/web/kpov_judge/templates/task_greeting.html index ee27853..4f1be3a 100644 --- a/kpov_judge/web/kpov_judge/templates/task_greeting.html +++ b/kpov_judge/web/kpov_judge/templates/task_greeting.html @@ -1,25 +1,31 @@ + + +KPOV Judge