Changeset - dbe8d4f238f3
[Not reviewed]
0 3 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-12-02 22:51:10
bkuhn@ebb.org
Remove hard-coded style= for donate-sidebar div

Move the CSS for the donate-sidebar into the conservancy.css file
instead of hard-coding in the HTML.
3 files changed with 10 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -26,6 +26,14 @@ text-decoration: none; color: #557733;
 
}
 
.toggle-control:hover { text-decoration: underline; color: #577632; }
 

	
 

	
 
.donate-sidebar {
 
    position: fixed;
 
    top: 180px;
 
    right: 2%;
 
    width: 18%;
 
}
 

	
 
h1 { margin-top: .75em; margin-bottom: .5em; }
 
h2 { margin-top: .75em; margin-bottom: .5em; }
 
h3 { margin-top: .6em; margin-bottom: .4em; }
...
 
@@ -279,5 +287,3 @@ body.conservancy-supporter #navbar ul li.supporter a
 
   width: 200px;
 
   font-size: 12px;
 
}
 

	
 

	
www/conservancy/static/npoacct/index.html
Show inline comments
...
 
@@ -48,7 +48,7 @@
 

	
 
{% block content %}
 

	
 
<div style="position:fixed;top:180px;right:2%;width:18%">
 
<div class="donate-sidebar">
 
<table style="background-color:#afe478;width:100%;">
 
<tr><td style="text-align:center;padding:10px;padding-bottom:10px;">
 

	
www/conservancy/static/supporter/index.html
Show inline comments
...
 
@@ -12,7 +12,7 @@
 
{% endblock %}
 

	
 
{% block content %}
 
<div style="position:fixed;top:180px;right:2%;width:18%">
 
<div class="donate-sidebar">
 
<table style="background-color:#afe478;width:100%;">
 
<tr><td style="text-align:center;padding:10px;padding-bottom:10px;">
 

	
0 comments (0 inline, 0 general)