[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 04/05: r/t/lintian.css.tmpl: Optimise out banner icon for smaller devices



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit f49ce23e8d291bc8495ad41f152a10e47c87206b
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Oct 8 20:50:50 2014 +0200

    r/t/lintian.css.tmpl: Optimise out banner icon for smaller devices
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 reporting/templates/lintian.css.tmpl | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/reporting/templates/lintian.css.tmpl b/reporting/templates/lintian.css.tmpl
index 8d97842..38d7ca8 100644
--- a/reporting/templates/lintian.css.tmpl
+++ b/reporting/templates/lintian.css.tmpl
@@ -179,6 +179,23 @@ hr {
     margin-left: 130px;
 }
 
+/* For smaller devices, we leave out the "icon" - it is fairly wide with
+ * little added value.
+ */
+@media (max-width: 700px) {
+
+  #info {
+      margin: 25px 0;
+      padding: 20px;
+      background: #EFF4F8;
+      border: 1px solid #DFE4E8;
+  }
+
+  #info p {
+      margin-left: 5%;
+  }
+}
+
 #stats table {
     border-collapse: collapse;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: