From 112be93ff5281a0a8cd70885ca81770e9b316057 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 24 Nov 2017 00:17:53 +1100 Subject: [PATCH] Improve print CSS --- eosweb/core/static/css/main.css | 16 ++++++++++++++++ eosweb/core/templates/base.html | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/eosweb/core/static/css/main.css b/eosweb/core/static/css/main.css index 1d6fd67..f1d10f0 100644 --- a/eosweb/core/static/css/main.css +++ b/eosweb/core/static/css/main.css @@ -16,7 +16,23 @@ along with this program. If not, see . */ +#main_container { + margin-top: 7em; + margin-bottom: 3em; +} + .hash { font-family: monospace; word-wrap: break-word; } + +@media print { + body, html { + /* Default height: 100% causes blank pages */ + height: auto; + } + + #main_container { + margin-top: 4em; + } +} diff --git a/eosweb/core/templates/base.html b/eosweb/core/templates/base.html index 6675a63..8c31769 100644 --- a/eosweb/core/templates/base.html +++ b/eosweb/core/templates/base.html @@ -29,7 +29,7 @@ Log in -
+
{% block content %} {% endblock content %}