From 6a54a1e23057f9173e765d32ea8575505bb55b23 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sun, 7 Sep 2014 19:11:31 -0400 Subject: fix up the template and css still need to hook the 2-way hovering back --- web/static/css/style.css | 12 ++++-------- web/templates/index.html | 4 +--- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/web/static/css/style.css b/web/static/css/style.css index b293da8..55bef65 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -11,13 +11,8 @@ span:hover { margin-right: 1em; } -#text { - width: 460px; - float: left; -} - .pagetext p { - text-align: justify; + text-align: justify; -moz-hyphens: auto; margin: 0; text-indent: 1.5em; @@ -25,8 +20,9 @@ span:hover { .pagetext { padding: 3.5em 2em; - font-size: 18px; - line-height: 180%; + font-size: 12px; + line-height: 150%; +} #texte-non-corrige { margin-top:0cm; diff --git a/web/templates/index.html b/web/templates/index.html index 0a07be1..338f04b 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -19,8 +19,6 @@

Texte corrigé

- {% for i, word in enumerate(corr_words) %} - {{word}} - {% end %} + {% raw corr_words %}
{% end %} -- cgit v1.2.3-70-g09d2