Improve print CSS

This commit is contained in:
RunasSudo 2017-11-24 00:17:53 +11:00
parent 453443d22a
commit 112be93ff5
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 17 additions and 1 deletions

View File

@ -16,7 +16,23 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#main_container {
margin-top: 7em;
margin-bottom: 3em;
}
.hash { .hash {
font-family: monospace; font-family: monospace;
word-wrap: break-word; word-wrap: break-word;
} }
@media print {
body, html {
/* Default height: 100% causes blank pages */
height: auto;
}
#main_container {
margin-top: 4em;
}
}

View File

@ -29,7 +29,7 @@
<a href="#" class="item right">Log in</a> <a href="#" class="item right">Log in</a>
</div> </div>
</div> </div>
<div class="ui main text container" style="margin-top: 7em; margin-bottom: 3em;"> <div class="ui main text container" id="main_container">
{% block content %} {% block content %}
{% endblock content %} {% endblock content %}
</div> </div>