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.
This commit is contained in:
parent
19ef9d196b
commit
dbe8d4f238
3 changed files with 10 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;">
|
||||
|
||||
|
|
|
@ -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;">
|
||||
|
||||
|
|
Loading…
Reference in a new issue