From 4b2bb32811ff245906ae79b1b028055b509c50aa Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 5 Mar 2015 12:00:42 -0800 Subject: [PATCH] Adjust widths slightly when these are combined. When we have both dt's and the donate-sidebar floating around, things get tight. Perhaps there is a better solution than this (e.g., can you set the @media conditional on there being a donate-sidebar at all?), but this should be a reasonable hack to fix the problem. --- www/conservancy/static/conservancy.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css index 1354bb3f..f60b2c54 100644 --- a/www/conservancy/static/conservancy.css +++ b/www/conservancy/static/conservancy.css @@ -34,7 +34,7 @@ text-decoration: none; color: #557733; right: 2%; width: 18%; } -@media all and (max-width: 600px) { +@media all and (max-width: 625px) { .donate-sidebar { display: none; } } @@ -342,7 +342,7 @@ dd { margin: 0 0 1.5em 2em; } -@media only screen and (min-width: 550px) { +@media only screen and (min-width: 600px) { dl { border: 3px double #ccc; padding: 0.5em;