Changeset - 4b2bb32811ff
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-05 20:00:42
bkuhn@ebb.org
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.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -31,13 +31,13 @@ text-decoration: none; color: #557733;
 
.donate-sidebar {
 
    position: fixed;
 
    top: 180px;
 
    right: 2%;
 
    width: 18%;
 
}
 
@media all and (max-width: 600px) {
 
@media all and (max-width: 625px) {
 
    .donate-sidebar { display: none; }
 
}
 

	
 
p.footnote {
 
    font-size: 85%;
 
}
...
 
@@ -339,13 +339,13 @@ dt {
 
    font-weight: bold;
 
    color: green; }
 
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;
 
}
 
dt {
 
    float: left;
0 comments (0 inline, 0 general)