Skip to content

Commit

Permalink
Adjust margins and padding in org_list to better center content
Browse files Browse the repository at this point in the history
  • Loading branch information
abkruse committed Dec 23, 2016
1 parent ebb629e commit 9c9e884
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions members/static/css/members.css
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,10 @@ textarea#id_bio {
white-space: nowrap;
}

.org-list {
padding-left: 5%;
}

.org-card {
width: 210px;
height: 315px;
Expand Down Expand Up @@ -1976,6 +1980,14 @@ footer.sticky-footer {
}

@media only screen and (max-width: 700px) {
.org-list {
padding-left: 10%;
}

#org-search-form .search-btn {
font-size: .7em;
}

footer.main-footer {
background: RGBA(61, 61, 61, .9);
clear: both;
Expand All @@ -1995,6 +2007,14 @@ footer.sticky-footer {
}

@media only screen and (max-width: 600px) {
.org-card {
margin-left: 20%;
}

.lightbg {
margin-top: 11%;
}

.fc-toolbar {
margin-top: 10%;
}
Expand Down
2 changes: 2 additions & 0 deletions members/templates/members/org_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ <h3 class='org-error' style="text-align:center; font-family:'Oswald', sans-serif
</div>
{% endif %}
{% else %}
<div class='org-list'>
{% for org in organizations %}
{% include 'members/org_card_frag.html' %}
{% endfor %}
</div>
{% endif %}
</div>
{% endblock %}
Expand Down

0 comments on commit 9c9e884

Please sign in to comment.