Changeset - 32e9164d48fc
[Not reviewed]
0 5 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-05 21:25:08
bkuhn@ebb.org
Don't hard code style; use class and improve CSS

This changes the hard-coded style for what I'm calling the
content-with-donate-sidebar. The advantage of not hard-coding style are
obvious, but I'm doing this now rather than later so that I can add
changes to the CSS that causes the width to extend to 100% on smaller
screen media when the donate bar disappears (the latter of which is
already implemented).
5 files changed with 13 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -38,2 +38,6 @@ text-decoration: none; color: #557733;
 
    .donate-sidebar { display: none; }
 
    .content-with-donate-sidebar {
 
        align: center;
 
        width: 100%;
 
    }
 
}
...
 
@@ -115,2 +119,7 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 

	
 
.content-with-donate-sidebar {
 
    align: left;
 
    width: 80%;
 
}
 

	
 
#container {
www/conservancy/static/npoacct/index.html
Show inline comments
...
 
@@ -270,3 +270,3 @@ Other donation methods:
 

	
 
<div style="align:left;width:80%;">
 
<div class="content-with-donate-sidebar">
 
<!-- begin campaign text -->
www/conservancy/static/supporter/event.html
Show inline comments
...
 
@@ -14,3 +14,3 @@
 
{% block content %}
 
<div style="align:left;width:80%;">
 
<div class="content-with-donate-sidebar">
 
  <h1>Conservancy Supporter Night 2015</h1>
www/conservancy/static/supporter/index.html
Show inline comments
...
 
@@ -57,3 +57,3 @@ Other annual supporters methods:
 

	
 
<div style="align:left;width:80%;">
 
<div class="content-with-donate-sidebar">
 
  <h1><img class="appeal-header" alt="Become a Conservancy Supporter!" src="/img/conservancy-supporter-header.png"/></h1>
www/conservancy/templates/base_compliance.html
Show inline comments
...
 
@@ -40,3 +40,3 @@ of $<span id="fundraiser-goal">50,000</span> match met.<br/>
 
</div>
 
<div style="align:left;width:80%;">
 
<div class="content-with-donate-sidebar">
 
    <div id="container">
0 comments (0 inline, 0 general)