diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 27 | ||||
-rw-r--r-- | templates/timetable.html | 2 |
2 files changed, 18 insertions, 11 deletions
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; + } } </style> </head> 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 @@ <li class="course"><b>{{ course.name }}</b>, de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}<br /><em>Salle{% if course.rooms.all|length > 1 %}s{% endif %} {% for room in course.rooms.all %}{{ room }} {% endfor %}</em>{% endif %}</li>{% endfor %} </ul> </section>{% endfor %} - <p><a href="{% url "subscribe" timetable.slug year week group.slug %}">S'abonner à cet emploi du temps</a></p>{% endblock %} + <p><a class="subscribe" href="{% url "subscribe" timetable.slug year week group.slug %}">S'abonner à cet emploi du temps</a></p>{% endblock %} |