Closes #1095: Fix print-media stylesheet being included always in the "scrolls" theme.

Also fixes wrong additions of stylesheets and scripts in haiku theme (probably
copy-paste error from scrolls).
This commit is contained in:
Georg Brandl 2014-01-11 21:00:31 +01:00
parent 8436f07c40
commit e38156856e
3 changed files with 10 additions and 7 deletions

View File

@ -56,6 +56,9 @@ Bugs fixed
* #1050: Add anonymous labels into ``objects.inv`` to be referenced via
intersphinx.
* #1095: Fix print-media stylesheet being included always in the "scrolls"
theme.
Documentation
-------------

View File

@ -8,8 +8,6 @@
:license: BSD, see LICENSE for details.
#}
{%- extends "basic/layout.html" %}
{% set script_files = script_files + ['_static/theme_extras.js'] %}
{% set css_files = css_files + ['_static/print.css'] %}
{# do not display relbars #}
{% block relbar1 %}{% endblock %}

View File

@ -1,5 +1,7 @@
div.header, div.relnav, #toc { display: none; }
#contentwrapper { padding: 0; margin: 0; border: none; }
body { color: black; background-color: white; }
div.footer { border-top: 1px solid #888; color: #888; margin-top: 1cm; }
div.footer a { text-decoration: none; }
@media print {
div.header, div.relnav, #toc { display: none; }
#contentwrapper { padding: 0; margin: 0; border: none; }
body { color: black; background-color: white; }
div.footer { border-top: 1px solid #888; color: #888; margin-top: 1cm; }
div.footer a { text-decoration: none; }
}