-
-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8664 from gitcoinco/fix/emails-alignment
email alignment fixes
- Loading branch information
Showing
3 changed files
with
52 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,6 @@ | |
} | ||
|
||
h4, .h4 { | ||
text-align: center; | ||
padding-top: 40px; | ||
} | ||
|
||
|
@@ -768,8 +767,27 @@ | |
width: 100%; | ||
} | ||
|
||
#footer { | ||
padding-top: 40px; | ||
color: #757087 !important; | ||
} | ||
|
||
.footer-links { | ||
margin: 3em 1.4em; | ||
margin: -53px 0px 110px 20px; | ||
} | ||
|
||
.footer-links div { | ||
width: 25%; | ||
float: left; | ||
} | ||
|
||
.footer-links div img { | ||
float: right; | ||
} | ||
|
||
.footer-socials { | ||
width: 3em; | ||
height: auto; | ||
} | ||
} | ||
|
||
|
@@ -798,8 +816,28 @@ | |
width: 90%; | ||
} | ||
|
||
#footer { | ||
padding-top: 40px; | ||
margin: 0px 180px 0px 180px; | ||
color: #757087 !important; | ||
} | ||
|
||
.footer-links { | ||
margin: auto; | ||
margin: -53px 0px 110px 0px; | ||
} | ||
|
||
.footer-links div { | ||
width: 25%; | ||
float: left; | ||
} | ||
|
||
.footer-links div img { | ||
float: right; | ||
} | ||
|
||
.footer-socials { | ||
width: 3em; | ||
height: auto; | ||
} | ||
} | ||
|
||
|
@@ -813,29 +851,6 @@ | |
margin: 0.5em auto 0.5em auto; | ||
} | ||
|
||
#footer { | ||
color: #757087 !important; | ||
} | ||
|
||
.footer-links { | ||
max-width: 800px; | ||
text-align: justify; | ||
/* margin: auto; */ | ||
margin-top: 3em; | ||
margin-bottom: 2em; | ||
} | ||
|
||
.footer-links:after { | ||
content: ""; | ||
display: inline-block; | ||
width: 100%; | ||
} | ||
|
||
.footer-socials { | ||
width: 3em; | ||
height: auto; | ||
} | ||
|
||
.bounties-img { | ||
max-width: 20em; | ||
height: auto; | ||
|
@@ -852,17 +867,17 @@ | |
{% endblock %} | ||
</div> | ||
<div id="footer"> | ||
<a href="https://www.facebook.com/GetGitcoin"><img class="footer-socials" src="{% static "v2/images/emails/facebook.png" %}"></a> | ||
<div class="footer-links"> | ||
{% block footer_links %} | ||
<a href="https://www.facebook.com/GetGitcoin"><img class="footer-socials" src="{% static "v2/images/emails/facebook.png" %}"></a> | ||
|
||
<a href="https://www.youtube.com/channel/UCeKRqRjzSzq5yP-zUPwc6_w"><img class="footer-socials" src="{% static "v2/images/emails/youtube.png" %}"></a> | ||
<div><a href="https://www.youtube.com/channel/UCeKRqRjzSzq5yP-zUPwc6_w"><img class="footer-socials" src="{% static "v2/images/emails/youtube.png" %}"></a></div> | ||
|
||
<a href="https://www.twitter.com/gitcoin"><img class="footer-socials" src="{% static "v2/images/emails/twitter.png" %}"></a> | ||
<div><a href="https://www.twitter.com/gitcoin"><img class="footer-socials" src="{% static "v2/images/emails/twitter.png" %}"></a></div> | ||
|
||
<a href="https://github.com/gitcoinco/"><img class="footer-socials" src="{% static "v2/images/emails/github.png" %}"></a> | ||
<div><a href="https://github.com/gitcoinco/"><img class="footer-socials" src="{% static "v2/images/emails/github.png" %}"></a></div> | ||
|
||
<a href="mailto:[email protected]"><img class="footer-socials" src="{% static "v2/images/emails/email.png" %}"></a> | ||
<div><a href="mailto:[email protected]"><img class="footer-socials" src="{% static "v2/images/emails/email.png" %}"></a></div> | ||
{% endblock %} | ||
</div> | ||
<center style="margin-bottom: 80px;"> | ||
|
@@ -874,7 +889,7 @@ | |
<p> | ||
{% trans "Want to change how you receive these emails?" %} | ||
<br> | ||
{% trans "You can update your " %} <a href="{% url "email_settings" subscriber.priv %}{% if email_type %}?type={{email_type}}{% endif %}">{% trans "preferences" %}</a> or <a href="{% url "email_settings" subscriber.priv %}{% if email_type %}?type={{email_type}}{% endif %}">{% trans "unsubscribe" %}</a> {% trans "from this list." %} | ||
{% trans "You can update your " %} <a href="{% url 'email_settings' subscriber.priv %}{% if email_type %}?type={{email_type}}{% endif %}">{% trans "preferences" %}</a> or <a href="{% url 'email_settings' subscriber.priv %}{% if email_type %}?type={{email_type}}{% endif %}">{% trans "unsubscribe" %}</a> {% trans "from this list." %} | ||
</p> | ||
</center> | ||
</div> | ||
|