From 32127841a17becdb0cc4155bdc939b5e9cbd5179 Mon Sep 17 00:00:00 2001 From: Don Armstrong <don@donarmstrong.com> Date: Fri, 23 Feb 2018 13:33:26 -0800 Subject: [PATCH] wrap all of the body in a single div, and give that a margin --- html/bugs.css | 12 +++++++++--- templates/en_US/cgi/bugreport.tx | 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/html/bugs.css b/html/bugs.css index 7bddb101..89b22dfb 100644 --- a/html/bugs.css +++ b/html/bugs.css @@ -9,13 +9,19 @@ html { } body { - color: #000; - background: #fefefe; - margin: 10px; +/* color: #000; + background: #fefefe; */ + margin: 0px; border: 0; padding: 0; } +/* this is the main container for content outside of the header and footer */ +.body { + margin-left: 0.5em; + margin-right: 0.5em; +} + h1, h2, h3 { color: #000; background: #fefefe; diff --git a/templates/en_US/cgi/bugreport.tx b/templates/en_US/cgi/bugreport.tx index 21f7c4ea..5bdee554 100644 --- a/templates/en_US/cgi/bugreport.tx +++ b/templates/en_US/cgi/bugreport.tx @@ -17,7 +17,8 @@ function toggle_infmessages() </head> <body> <div class="debbugs_install"><: $config.project :> <: $config.bug :> report logs</div> - <h1 class="bug_header"><a class="bug_email" href="mailto:<: $bug_num :>@<: $config.email_domain :>">#<: $bug_num :></a> + <div class="body"> + <h1 class="bug_title"><a class="bug_email" href="mailto:<: $bug_num :>@<: $config.email_domain :>">#<: $bug_num :></a> <span class="bug_subject"><: $status.subject :></span> </h1> <div class="versiongraph"><: raw($version_graph) :></div> @@ -43,6 +44,7 @@ to this <: $config.bug :>.</span> <script> document.write("<span class=\"uselessmessages\"><a href=\"javascript:toggle_infmessages();\">Toggle useless messages</a></span>") </script> + </div> <hr> <p class="msgreceived">Send a report that <a href="<: $config.cgi_domain :>/bugspam.cgi?bug=<: $bug_num :>">this bug log contains spam</a>.</p> <hr> -- 2.39.5