mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
8436f07c40
commit
e38156856e
3
CHANGES
3
CHANGES
@ -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
|
||||
-------------
|
||||
|
||||
|
@ -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 %}
|
||||
|
@ -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; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user