Changeset - 7229e78e0f52
[Not reviewed]
0 1 0
Bradley M. Kuhn - 2 years ago 2021-10-23 19:42:59
bkuhn@sfconservancy.org
Sidebar should disappear on small screens.

We've had a report that the sidebars are very distracting,
particularly for the blogs, on smaller screens. This change to the
CSS will cause sidebars to disappear on smaller screens.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/css/conservancy.css
Show inline comments
...
 
@@ -148,12 +148,18 @@ text-decoration: none; color: #557733;
 
@media screen and (min-width: 30em) {
 
  .donate-sidebar {
 
    margin: 2rem -1rem 0;
 
  }
 
}
 

	
 
@media screen and (max-width: 52em) { 
 
  #sidebar { 
 
      display: none; 
 
  } 
 
} 
 

	
 
p.footnote {
 
    font-size: 85%;
 
}
 

	
 
h1 { margin-top: .75em; margin-bottom: .5em; }
 
h2 { margin-top: .75em; margin-bottom: .5em; }
0 comments (0 inline, 0 general)