From 7c6b159442ee91c16201d296fe4cd11d7c724589 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Mon, 23 Jan 2017 09:13:46 +0100 Subject: Amélioration du css --- templates/index.html | 27 +++++++++++++++++---------- templates/timetable.html | 2 +- 2 files changed, 18 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index b839951..5fe6678 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,33 +16,40 @@ h1, h2, h3 { line-height: 1.2em; } -h1 a, h3 a { - color: #31363b; +a { text-decoration: none; } -h1 a:hover, h1 a:focus, h3 a:hover, h3 a:focus { +a:hover, a:focus { text-decoration: underline; } +h1 a, h3 a { + color: #31363b; +} + .content { max-width: 50em; margin: 0 auto; } -@media print { - body, .content { - max-width: none; - } -} - li { line-height: 1.2em; margin-bottom: 5px; } li.course { - margin-bottom: 20px; + margin-bottom: 20px; +} + +@media print { + body, .content { + max-width: none; + } + + header, footer, a.subscribe { + display: none; + } } diff --git a/templates/timetable.html b/templates/timetable.html index 74a7bbb..28f6005 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -11,4 +11,4 @@
  • {{ course.name }}, de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}
    Salle{% if course.rooms.all|length > 1 %}s{% endif %} {% for room in course.rooms.all %}{{ room }} {% endfor %}{% endif %}
  • {% endfor %} {% endfor %} -

    S'abonner à cet emploi du temps

    {% endblock %} +

    S'abonner à cet emploi du temps

    {% endblock %} -- cgit v1.2.1