Changeset - bda85a597bf3
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 11 years ago 2013-05-01 00:01:48
bkuhn@ebb.org
Styles should live in CSS, not in the template.
Properly use nav-bg for campaign.
2 files changed with 12 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -64,2 +64,12 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
#navbar-clear { clear: both; border-bottom: 1px solid #808080; }
 
#navbar li.campaign a {
 
  display: block;
 
  background: #fafafe;
 
  padding: .2em .8em;
 
  margin-right: 3px;
 
  border: 1px solid #808080;
 
  font-size: .8em;
 
  background: url(/img/nav-bg-campaign.png) bottom repeat-x;
 
  border-color: #ffffff;
 
}
 
#navbar li a {
...
 
@@ -238,3 +248,2 @@ body.conservancy-sponsors #navbar ul li.sponsors a /* NO COMMA HERE! */
 
}
 

	
 
body.conservancy-campaign #navbar ul li.campaign a
...
 
@@ -243,2 +252,3 @@ body.conservancy-campaign #navbar ul li.campaign a
 
    font-weight: bold;
 
    background: url(/img/nav-bg-campaign-up.png) bottom repeat-x;
 
}
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -28,3 +28,3 @@
 
	  <li class="donate"><a href="/donate/">Support Conservancy!</a></li>
 
          <li class="campaign"><a style="background: url(/img/nav-bg-campaign.png) bottom repeat-x;" href="/campaign/">Campaign</a></li>
 
          <li class="campaign"><a href="/campaign/">Campaign</a></li>
 
	</ul>
0 comments (0 inline, 0 general)